Simulating ED values for a given model and given dose values.
1 |
mpar |
numeric vector of model parameters |
sigma |
numeric specifying the residual standard deviation |
fct |
list supplying the chosen mean function |
conc |
numeric vector of concentration/dose values |
edVec |
numeric vector of ED values to estimate in each simulation |
noSim |
numeric giving the number of simulations |
seedVal |
numeric giving the seed used to initiate the random number generator |
The arguments mpar
and sigma
are typically obtained from a previous model fit.
Only dose-response models assuming normally distributed errors can be used.
A list of matrices with as many components as there are chosen ED values. The entries in the matrices are empirical standard deviations of the estimated ED values. Row-wise from top to bottom more and more concentration/dose values are included in the simulations; top row starting with 5 concentrations. The number of replicates increases column by column from left to right.
The list is returned invisbly as the matrices also are displayed.
Christian Ritz
1 2 3 4 |
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.