sample_sigma {pmxTools} | R Documentation |
Sample from the multivariate normal distribution using the SIGMA variance-covariance matrix to generate new sets of simulated EPSILONs from NONMEM output.
Description
Sample from the multivariate normal distribution using the SIGMA variance-covariance matrix to generate new sets of simulated EPSILONs from NONMEM output.
Usage
sample_sigma(nmRun, n, seed)
Arguments
nmRun |
Root filename for the NONMEM run (e.g. "run315"). |
n |
Number of samples required. |
seed |
Random seed. |
Value
A data frame containing n
samples from the multivariate normal distribution, using
the estimated NONMEM SIGMA variance-covariance matrix. This provides n
sets of EPSILON estimates
suitable for simulation of new datasets.
Author(s)
Justin Wilkins, justin.wilkins@occams.com
See Also
NONMEM (https://www.iconplc.com/innovation/nonmem/)
Examples
## Not run:
sigDist <- sample_sigma("run315", 5000, seed=740727)
## End(Not run)
[Package pmxTools version 1.3 Index]