There is a newer version of the record available.

Published August 5, 2025 | Version v2
Software Open

Optimising covariate allocation at design stage using Fisher Information Matrix for Non-Linear Mixed Effects Models in pharmacometrics

Authors/Creators

Description


  
  This repository contains the code and data used in the analysis for the publication "Optimising covariate allocation at design stage using Fisher Information Matrix for Non-Linear Mixed Effects Models in pharmacometrics"


  
Main Script

  
 **`run_all.R`**: Master script to run the entire analysis pipeline.


  
Folder Structure
  

  - **`/my_pmxcopula`**  
  Source code for the R package `pmxcopula` [@pmxcopula], used for copula fit diagnostic plots. This version includes minor edits. Original source: vanhasseltlab/pmxcopula.

- **`/PFIM_6_1_beta_cov`**  
  Contains `PFIM6.1_beta_cov` [@fayette_2024_13692989], an adapted version of the `PFIM6.1` R package [@pfim6], available at Zenodo.

- **`/Concentrations_covariates`**  
  Includes figures showing the evolution of concentration \( f(t) \) with respect to fixed and covariate effects.

- **`/HepaticFunction`**  
  Results and scripts for the Hepatic Function (HF) example.

- **`/RenalFunction`**  
  Results and scripts for the Renal Function (RF) example.

- **`/NHANES`**  
  Contains NHANES datasets (2009–2020) [@NHANES20092020] and the transformed covariate dataset used in the analysis.

- **`/tikzDictionary`**  
  TikZ dictionary for LaTeX-based plotting.

 

  
R Scripts

  
Data Preparation & Plotting
 

- `00_NHANES_create_database_RF_HF.R`: Creates the transformed covariate database from NHANES data.
- `01_Concentrations_covariates.R`: Plots concentration evolution figures.

 

Utility Functions

- `funct.R`: Loads required libraries and general functions.
- `funct_diag_copula.R`: Diagnostic functions for copula fits.
- `funct_Plot_Latex.R`: Plotting functions using `tikzDevice` for LaTeX output.
- `funct_ProjectedGradient.R`: Functions for the Projected Gradient Descent (PGD) algorithm.
- `funct_resOptim.R`: Functions to extract optimisation results.

 Hepatic Function (HF) Example

- `HF_02_fit_copula_pooled_vine.R`: Fits copulas and generates diagnostics.
- `HF_03_PFIM_GQ.R`: Computes FIM using Gauss-Legendre Quadrature.
- `HF_03_PFIM_MC.R`: Computes FIM using Monte Carlo methods.
- `HF_04_Cov_Opti.R`: Optimises covariate distribution.

Renal Function (RF) Example

- `RF_02_fit_copula_pooled_vine.R`: Fits copulas and generates diagnostics.
- `RF_03_PFIM_GQ_varying_beta.R`: Computes FIM using Gauss-Legendre Quadrature with varying beta.
- `RF_03_PFIM_MC.R`: Computes FIM using Monte Carlo methods.
- `RF_04_Cov_Opti_varying_beta.R`: Optimises covariate distribution.


  

Files

Concentrations_covariates.zip

Files (545.1 MB)

Name Size Download all
md5:a1d29287f7a229a80242a5802c70c420
15.6 kB Download
md5:743bad822b7f1cbab88bf79ce68750ef
12.8 kB Download
md5:cced19b7d3c3559dc2daa6135c1cbcf4
426.3 kB Preview Download
md5:1fd259d05e5c5e1b1eef5b2d2dc5f4c6
1.4 kB Download
md5:ab07be11bb906484831b046910c2181d
14.9 kB Download
md5:bb0f48d2d391ab7512beea2680a1ff56
6.3 kB Download
md5:40ab8973b67081f7bc877d54d0f31d12
5.4 kB Download
md5:313a542837e95c762f34133ae618570b
18.0 kB Download
md5:5bcdb4b9541454d6f6f22a2bd0a27021
232.1 MB Preview Download
md5:f9eb6f7e04d689ce7cc86c615000a2e8
22.9 kB Download
md5:4528242982bc8bddccaa78d4a736fca1
11.0 kB Download
md5:0f753708664b7c520d06607e9102f3a6
14.1 kB Download
md5:fd31b39628daa0fdf5510755693717a4
38.8 kB Download
md5:a8d0bd52d4af0587ffa43a27f73218ad
18.7 MB Preview Download
md5:db5c19bc5858a70286bee3991cb8901c
9.8 MB Preview Download
md5:4552b56842f88b8e2ffcbf16f4561674
568.9 kB Preview Download
md5:b4efdc5ede7e880da2d85afed7be9b79
629.6 kB Download
md5:4039b86b383721bc7ca8174e38a03685
2.8 kB Preview Download
md5:a57d2eb1ef01090207fab34f3201640a
1.3 kB Download
md5:5e4f75948ca59546d029b2fbc6fae598
282.5 MB Preview Download
md5:e1d525c402f2a4412f57aa8a586fcb9b
27.1 kB Download
md5:b5acd87d5f97597d7eb65574c4dc8032
14.6 kB Download
md5:feea4e466d1586688c2edc075cc93f09
13.7 kB Download
md5:3dfab3a445ff1eae8d358f45f93b5905
37.0 kB Download
md5:21655be5e39c6d530c044434ab9d63a2
923 Bytes Download
md5:9fd9de05c93ec89809a808f72f060c2e
162.8 kB Preview Download

Additional details

Software

Programming language
R