Package: PFIM 8.0.1

France Mentré

PFIM: Population Fisher Information Matrix

Evaluate or optimize designs for nonlinear mixed effects models using the Fisher Information matrix; see <doi:10.1093/biomet/84.2.429> and <doi:10.1016/S0169-2607(00)00117-6>. Supports population, individual, and Bayesian 'FIMs', covariates, inter-occasion variability, and D-optimal search ('Fedorov-Wynn', multiplicative, simplex, 'PSO', 'PGBO').

Authors:Romain Leroux [aut], France Mentré [cre], Lucie Fayette [ctb], Antoine Croxo [ctb], Jérémy Seurat [ctb]

PFIM_8.0.1.tar.gz
PFIM_8.0.1.zip(r-4.7-x86_64)PFIM_8.0.1.zip(r-4.7-arm64)PFIM_8.0.1.zip(r-4.6-x86_64)PFIM_8.0.1.zip(r-4.6-arm64)
PFIM_8.0.1.tar.gz(r-4.7-arm64)PFIM_8.0.1.tar.gz(r-4.7-x86_64)PFIM_8.0.1.tar.gz(r-4.6-arm64)PFIM_8.0.1.tar.gz(r-4.6-x86_64)
PFIM_8.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
PFIM/json (API)

# Install 'PFIM' in R:
install.packages('PFIM', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/iame-researchcenter/pfim/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

openblascpp

3.88 score 25 scripts 550 downloads 109 exports 58 dependencies

Last updated from:7a000b9aa3. Checks:10 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK222
linux-devel-x86_64OK237
source / vignettesOK463
linux-release-arm64OK219
linux-release-x86_64OK274
windows-devel-arm64OK342
windows-devel-x86_64OK299
windows-release-arm64OK332
windows-release-x86_64OK248
wasm-releaseOK165

Exports:AdditiveAdministrationAdministrationConstraintsArmBayesianFimCategoricalCovariateCategoricalCovariateWithIOVCombined1Combined2ConstantCovariateCovariateModelEquationcovariateTestCovariateTestdefineFimdefinePKModeldefinePKPDModelDesignDistributionEvaluationExponentialFedorovWynnAlgorithmFimgetCorrelationMatrixgetCovariateTestTablesgetDcriteriongetDeterminantgetEvaluationDesigngetFimgetFisherMatrixgetMixtureDcriteriongetModelErrorDatagetModelParametersDatagetRealisedDcriteriongetRSEgetSEgetShrinkageIndividualFimLibraryOfModelsLibraryOfPDModelsLibraryOfPKModelsLinear2BolusSingleDose_ClQV1V2Linear2BolusSingleDose_kk12k21VLinear2BolusSteadyState_ClQV1V2tauLinear2BolusSteadyState_kk12k21VtauLinear2FirstOrderSingleDose_kaClQV1V2Linear2FirstOrderSingleDose_kakk12k21VLinear2FirstOrderSteadyState_kaClQV1V2tauLinear2FirstOrderSteadyState_kakk12k21VtauLinear2InfusionSingleDose_ClQV1V2Linear2InfusionSingleDose_kk12k21VLinear2InfusionSteadyState_ClQV1V2tauLinear2InfusionSteadyState_kk12k21VtauLogNormalModelModelAnalyticModelAnalyticInfusionModelAnalyticInfusionSteadyStateModelAnalyticSteadyStateModelErrorModelInfusionModelODEModelODEBolusModelODEDoseInEquationsModelODEDoseNotInEquationsModelODEInfusionModelODEInfusionDoseInEquationModelParameterMultiplicativeAlgorithmNormalOptimizationpdModelLibrarypfim_get_optionpfim_list_extensionspfim_register_fim_typepfim_register_model_classpfim_register_optimizerpfim_registered_fim_typespfim_registered_model_classespfim_registered_optimizerspfim_reset_sessionpfim_resolve_model_classpfim_set_optionPFIMProjectPGBOAlgorithmpkModelLibraryplotEvaluationplotFrequenciesplotRSEplotSEplotSensitivityIndicesplotShrinkageplotWeightsPopulationFimprojectOfprojectPropprojectProp<-propprop<-ProportionalPSOAlgorithmReportrunSamplingTimeConstraintsSamplingTimessaveCovariateTestshowFIMSimplexAlgorithmtost

Dependencies:base64encbslibcachemclicpp11DerivdeSolvedigestevaluatefarverfastmapfontawesomefsggplot2gluegtablehighrhtmltoolsisobandjquerylibjsonlitekableExtraknitrlabelinglatticelifecyclemagrittrMatrixmemoisemimepillarpkgconfigpurrrR6rappdirsRColorBrewerRcppRcppArmadillorlangrmarkdownrstudioapiS7sassscalesstringistringrsvglitesystemfontstextshapingtibbletinytexutf8vctrsviridisLitewithrxfunxml2yaml

Design evaluation and optimization in continuous space
Overview | Design evaluation | PK model from the library of models | Define the PK model Linear1InfusionSingleDose_ClV from the library of models | Model parameters | Define mu and omega for each parameter | Residual error model | Define the error model to the response PK RespPK | Administration parameters | Define the administration parameters of the response PK | Sampling times | Define the sampling times for the response PK RespPK | Arm and design | Define an arm called arm1 of size 150 with administration administrationRespPK and samplings samplingTimesRespPK | Add the arm arm1 to the design design1 | FIM types: population, individual, and Bayesian | Evaluate the population, individual and Bayesian FIMs | Display the results of the design evaluations | Create and save the report for the design evaluation | Design optimization | Continuous design space | Create sampling times for the initial design | Define design constraints | Create the constraint arm and the associated design | PSO algorithm (Particle Swarm Optimization) | Set the parameters of the PSO algorithm | Run the PSO algorithm for the optimization with a population FIM | Display the results of the design optimization | Create and save the report for the design optimization | PGBO algorithm (Population genetic-based optimization) | Set the parameters of the PGBO algorithm | Run the PGBO algorithm for the optimization with a population FIM | Simplex algorithm (Nelder–Mead) | Set the parameters of the Simplex algorithm | Run the Simplex algorithm for the optimization with a population FIM | References

Last update: 2026-10-16
Started: 2026-10-16

Design evaluation and optimization in discrete space
Overview | Original experimental design | Objectives | Design evaluation | Model equations | Model parameters | Residual error models | Sampling times | Arms (dose groups) | Design assembly | Population and Bayesian FIM evaluation | Population FIM | Bayesian FIM | Results: display and export | Diagnostic plots | HTML report | Design optimization | Objectives and constraints | Algorithms compared | Runtime note | Initial administration and candidate sampling grids | Sampling time constraints | Initial elementary protocols for Fedorov-Wynn | Dose constraints | Constrained arm and design | Fedorov-Wynn algorithm | Display and plot Fedorov-Wynn results | Multiplicative algorithm | Display and plot Multiplicative algorithm results | References

Last update: 2026-10-16
Started: 2026-10-16

Design evaluation and optimization with covariates --- analytical PK model
Overview | Experimental design | Objectives | Design evaluation | PK model user-defined | Define the PK model equation | Model parameters | Define mu, omega and gamma for each parameter | Residual error model | Define the error model to the response PK RespPK | Covariates | Define the between-subject covariate | Define the within-subject covariate | Administration and sampling times | Define the administration parameters and the sampling times of the response PK | Arm and design | Define an arm called arm1 of size 40 encompassed in the design design1 | Population FIM evaluation | Evaluate the population FIM | Display the population FIM | Covariate tests | Evaluate and display covariate tests | Design optimization | Multiplicative algorithm | Define administration and sampling constraints | Create the constraint arm and the associated design | Set the parameters of the Multiplicative algorithm | Run the Multiplicative algorithm for the optimization with a population FIM | Display and plot Multiplicative algorithm results | Create and save the report for the design optimization | Simplex algorithm | Define sampling constraints | Set the parameters of the Simplex algorithm | Run the Simplex algorithm for the optimization with a population FIM | Display and plot Simplex results | Covariate tests on Simplex optimal design

Last update: 2026-10-16
Started: 2026-10-16

G-CSF PK-PD design evaluation
Overview | Objectives | Experimental design | PK-PD model | Model parameters | Residual error model | Administration, sampling times, arms | Population FIM evaluation | PFIM, PopED, and cross-tool equivalence | General rules (all vignettes) | Variance or SD? One conversion rule | Naming | Tim Waterhouse oral PK (Vignette 04) | What plays the same role | Design and time scale | Structural model implementation | Naming only (no change to the model) | G-CSF Design 1 (this vignette, Vignette 05) | Variance → SD for this model | Comparing RSE with PopED | Relative standard errors | Fixed effects ($\mu$) | Inter-individual variances ($\omega^2$) | Residual error ($\sigma$) | Diagnostic plots | References

Last update: 2026-10-16
Started: 2026-10-16

Library of models
Pharmacokinetic models | Compartmental models and parameters | One-compartment models | Models with linear elimination | Intravenous bolus | Infusion | First order absorption | Two-compartment models | First-order absorption | Models with Michaelis-Menten elimination | Pharmacodynamic models | Immediate response models | Drug action models | Baseline/disease models | Turnover response models | Models with impact on the input $(R_{in})$ | Models with impact on the output $(k_{out})$

Last update: 2026-10-16
Started: 2022-06-24

Optimizing a Sparse PK Design in Pediatric Patients
Introduction | Population model | Structural model | Population parameters | Residual error | Reference body weight | Study design | Evaluation of the initial design | Predicted concentration-time profile | Design summary | D-criterion | Relative standard errors | D-optimal sampling-time optimization | Five samples | Six samples | Discussion

Last update: 2026-10-16
Started: 2026-10-16

Readme and manuals

Help Manual

Help pageTopics
Population Fisher Information for Design Evaluation and Optimization in NLME ModelsPFIM-package package-PFIM PFIM
AdditiveAdditive
AdministrationAdministration
AdministrationConstraintsAdministrationConstraints
ArmArm
BayesianFimBayesianFim
CategoricalCovariateCategoricalCovariate
CategoricalCovariateWithIOVCategoricalCovariateWithIOV
Combined1Combined1
Combined2Combined2
ConstantConstant
CovariateCovariate
CovariateModelEquationCovariateModelEquation
CovariateTest ClassCovariateTest CovariateTest-class
DesignDesign
DistributionDistribution
EvaluationEvaluation
ExponentialExponential
FedorovWynnAlgorithmFedorovWynnAlgorithm
FimFim
Retrieve correlation matrix from resultsgetCorrelationMatrix
Build HTML tables from a covariate test resultgetCovariateTestTables
Retrieve D-criterion from project resultsgetDcriterion
Retrieve determinant of the Fisher matrixgetDeterminant
Per-design evaluation result from a multi-design 'run()'.getEvaluationDesign
Retrieve the Fisher information matrix from resultsgetFisherMatrix
D-criterion of the continuous mixture over retained Multiplicative cells.getMixtureDcriterion
Parameter table for reports (mu, omega2, gamma2, fix flags, distribution)getModelParametersData
D-criterion of the single protocol implemented after Multiplicative allocation.getRealisedDcriterion
Retrieve relative standard errors from resultsgetRSE
Retrieve standard errors from resultsgetSE
Retrieve shrinkage metrics from resultsgetShrinkage
IndividualFimIndividualFim
LibraryOfModelsLibraryOfModels
LibraryOfPDModelsLibraryOfPDModels
LibraryOfPKModelsLibraryOfPKModels
Analytic PK equation: Linear2BolusSingleDose_ClQV1V2.Linear2BolusSingleDose_ClQV1V2
Analytic PK equation: Linear2BolusSingleDose_kk12k21V (micro-constant form).Linear2BolusSingleDose_kk12k21V
Analytic PK equation: Linear2BolusSteadyState_ClQV1V2tau.Linear2BolusSteadyState_ClQV1V2tau
Analytic PK equation: Linear2BolusSteadyState_kk12k21Vtau.Linear2BolusSteadyState_kk12k21Vtau
Analytic PK equation: Linear2FirstOrderSingleDose_kaClQV1V2.Linear2FirstOrderSingleDose_kaClQV1V2
Analytic PK equation: Linear2FirstOrderSingleDose_kakk12k21V.Linear2FirstOrderSingleDose_kakk12k21V
Analytic PK equation: Linear2FirstOrderSteadyState_kaClQV1V2tau.Linear2FirstOrderSteadyState_kaClQV1V2tau
Analytic PK equation: Linear2FirstOrderSteadyState_kakk12k21Vtau.Linear2FirstOrderSteadyState_kakk12k21Vtau
Analytic PK equation: Linear2InfusionSingleDose_ClQV1V2.Linear2InfusionSingleDose_ClQV1V2
Analytic PK equation: Linear2InfusionSingleDose_kk12k21V.Linear2InfusionSingleDose_kk12k21V
Analytic PK equation: Linear2InfusionSteadyState_ClQV1V2tau.Linear2InfusionSteadyState_ClQV1V2tau
Analytic PK equation: Linear2InfusionSteadyState_kk12k21Vtau.Linear2InfusionSteadyState_kk12k21Vtau
LogNormalLogNormal
ModelModel
ModelAnalyticModelAnalytic
ModelAnalyticInfusionModelAnalyticInfusion
ModelAnalyticInfusionSteadyStateModelAnalyticInfusionSteadyState
ModelAnalyticSteadyStateModelAnalyticSteadyState
ModelErrorModelError
ModelInfusionModelInfusion
ModelODEModelODE
ModelODEBolusModelODEBolus
ModelODEDoseInEquationsModelODEDoseInEquations
ModelODEDoseNotInEquationsModelODEDoseNotInEquations
ModelODEInfusionModelODEInfusion
ModelODEInfusionDoseInEquationModelODEInfusionDoseInEquation
ModelParameterModelParameter
MultiplicativeAlgorithmMultiplicativeAlgorithm
NormalNormal
OptimizationOptimization
Default built-in PD model library instance.pdModelLibrary
Read a PFIM session optionpfim_get_option
List registered extensionspfim_list_extensions
Register a custom FIM typepfim_register_fim_type
Register a model classpfim_register_model_class
Register a custom optimizerpfim_register_optimizer
Registered model class namespfim_registered_fim_types pfim_registered_model_classes pfim_registered_optimizers
Reset PFIM session options and clear all computed-data caches.pfim_reset_session
Resolve model class name for a projectpfim_resolve_model_class
Set PFIM session optionspfim_set_option
PFIMProjectPFIMProject
PGBOAlgorithmPGBOAlgorithm
Default built-in PK model library instance.pkModelLibrary
Plot evaluation outputs for a projectplotEvaluation
Plot optimized sampling frequenciesplotFrequencies
Plot relative standard errors for project resultsplotRSE
Plot standard errors for project resultsplotSE
Plot sensitivity indices for a projectplotSensitivityIndices
Plot Bayesian shrinkage from a FIMplotShrinkage
Plot optimized arm weightsplotWeights
PopulationFimPopulationFim
Nested 'PFIMProject' for an 'Optimization'projectOf
Read a project fieldprojectProp projectProp<-
Property accessor (S7); project fields on 'Optimization' read slot 'project'.prop prop<-
ProportionalProportional
PSOAlgorithmPSOAlgorithm
Generate an HTML evaluation or optimization reportReport
Run a PFIM evaluation or optimization projectrun
SamplingTimeConstraintsSamplingTimeConstraints
SamplingTimesSamplingTimes
Save covariate test results to a text filesaveCovariateTest
Print FIM summaries to the consoleshowFIM
SimplexAlgorithmSimplexAlgorithm