Covariate modeling with the PK01 dataset
The data used in the PK01 dataset is from a simulated trial. The purpose of this example is to show how to add covariate effects to a model to determine which covariates influence the model’s results.
Note: The completed project (PK01Co3.phxproj) is available for reference in …\Examples\NLME.
Set up the Maximum Likelihood Models object
Create a new project called PK01Co3.
Import the dataset …\Examples\NLME\Supporting files\pk01cov3.dat.
Pres Finish in the File Import Wizard dialog.
Right-click the worksheet and select Send To > Modeling > Maximum Likelihood Models.
Rename the object Base Model.
In the Main Mappings panel, map the columns to the contexts as follows:
id to ID.
time to Time.
conc to CObs.
dose to A1.
Leave all other data types mapped to None.
In the Structure tab, make sure Clearance is selected from the Parameterization menu.
From the C (Continuous Observation) error model menu, select Multiplicative.
Select the Parameters > Fixed Effects sub-tab.
In the Initial column, type the following initial estimates for each of the study parameters:
tvV 10
tvCl 0.1
Add covariates
1. Select the Structural sub-tab.
2. Press Add From Unused.
3. Check the boxes beside sex, wt, and age.
4. Click Add.
The covariate data types are automatically mapped to the correct contexts.
5. Select the Covar. Type sub-tab.
Sex is automatically selected from the Select covariate menu.
6 From the Type menu, select Type: Categorical.
7. Check the Allow arbitrary category names box.
8. In the first field underneath Category Name, type male.
9. Leave 0 as the value for male.
10. In the second field underneath Category Name, type female.
11. Type 1 in the value field for female.
12. Click (Execute icon) to execute the object.
Add covariate effects for weight and age
In this model the covariate effects for weight and age are added to the study parameters.
1. Right-click Base Model and select Copy.
2. Right-click Workflow and select Paste.
The model object and its settings are pasted into the PK01Co3 model project and named Copy of Base Model.
3. Rename Copy of Base Model to Covariate Model.
4. In the Main Mappings panel, check that the columns are mapped as follows:
id to ID.
time to Time.
conc to CObs.
dose to A1.
sex, wt, and age to sex, wt, and age, respectively.
5. Select the Parameters > Structural sub-tab.
6. In the V column, click No beside wt to select a covariate effect.
7. In the Cl column, click No beside wt to select a covariate effect.
The study variable weight is added as a covariate effect to both V and Cl.
8. In the Center field for wt type 75.
9. In the Cl column, click No beside age to select a covariate effect.
The study variable age is added as a covariate effect to Cl.
10. In the Center field for age type 40.
11. Select the Fixed Effects sub-tab.
12. Press Accept All Fixed+Random to copy the new estimates to the Initial estimates field for each parameter.
13. In the Initial column, leave the initial values for dVdwt, dCldwt, and dCldage set to 0 (zero).
14. Execute the object.
Add sex as a covariate effect
In this model the covariate effect for sex is added to the study parameter volume.
1. Right-click Covariate Model and select Copy.
2. Right-click Workflow and select Paste.
3. Rename the copied object as Covariate Model_sexcov.
4. In the Main Mappings panel, check that the columns are mapped as follows:
id to ID.
time to Time.
conc to CObs.
dose to A1.
sex, wt, and age to sex, wt, and age, respectively.
5. Select the Parameters > Structural sub-tab.
6. In the V column, click No beside the sex parameter.
The study variable sex is added as a covariate effect to V.
7. Select the Fixed Effects sub-tab.
8. Press Accept All Fixed+Random to copy the new estimates to the Initial estimates field for each parameter.
9. In the Initial column, type 1 for the initial estimate for the parameter dVdsex1.
10. Execute the object.
From the Theta worksheet (in the Output Data sub-tab of the Results tab), note that the 95% confidence interval for dVdsex1 includes value 0. This suggests that the data does not support the effect of sex on V, and hence can be removed from the model.
The concludes the covariate modeling example using the PK01 dataset.
Legal Notice | Contact Certara
© Certara USA, Inc. All rights reserved.