Load Data
Load the sample data to fit.
Create Model
Create a two-compartment model.
Define Dosing
Define the infusion dose.
Define Parameters
Define parameters to estimate.
Fit Model
Perform an unpooled fit, that is, one set of estimated parameters for each patient.
Perform a pooled fit, that is, one set of estimated parameters for all patients.
Compute Confidence Intervals for Estimated Parameters
Compute 95% confidence intervals for each estimated parameter in the unpooled fit using the Gaussian approximation.
Plot the confidence intervals. If the estimation status of a confidence interval is success
, it is plotted in blue (the first default color). Otherwise, it is plotted in red (the second default color), which indicates that further investigation into the fitted parameters might be required. If the confidence interval is not estimable
, then the function plots a red line and centered cross. If there are any transformed parameters with estimated values that are 0 (for the log transform) and 1 or 0 (for the probit or logit transform), then no confidence intervals are plotted for those parameter estimates. To see the color order, type get(groot,'defaultAxesColorOrder')
.
Groups are displayed from left to right in the same order that they appear in the GroupNames
property of the object, which is used to label x-axis. The y-labels are the transformed parameter names.
Plot using a single color.
Compute the confidence intervals for the pooled fit.
Plot the confidence intervals. The group name is labeled as "pooled" to indicate such fit.
Plot all the confidence interval results together. By default, the confidence interval for each parameter estimate is plotted in a separate axes. Vertical dotted lines group confidence intervals of parameter estimates that were computed in a common fit. Parameter bounds defined in the original fit are marked by square brackets (if visible in the parameter range being plotted).
You can also plot all confidence intervals on one axes grouped by parameter estimates using the 'Grouped' layout.
In this layout, you can point to the center marker of each confidence interval to see the group name. Each estimated parameter is separated by a vertical black line. Vertical dotted lines group confidence intervals of parameter estimates that were computed in a common fit. Parameter bounds defined in the original fit are marked by square brackets (if visible in the parameter range being plotted). Note the different scales on the y-axis due to parameter transformations. For instance, the y-axis of Q12
is in the linear scale, but that of Central
is in the log scale due to its log transform.
Compute Confidence Intervals Using Profile Likelihood
Compute 95% confidence intervals for each estimated parameter in the unpooled fit using the profile likelihood approach.
Compute the confidence intervals for the pooled fit.
Plot the profile likelihood curves for the unpooled fit. The parameter bounds defined in the original fit are displayed by vertical dotted lines (if visible in the parameter range being plotted). The confidence interval is indicated by two crosses and a line in between them. The center dot denotes the parameter estimate. The profile likelihood is always plotted in the log scale. The x-axis scale depends on whether the parameter is transformed (log, probit, or logit scale) or not (linear scale).
Each group is plotted in a separate row, and each parameter is plotted in a separate column.
Plot the curves for the pooled fit.
Plot all the confidence interval results together in the same figure.