dist.pred.sim | R Documentation |
This function is used to built the distribution of pd/npde using the simulations under the model. The default is to build only the distribution of pd, and to sample from N(0,1) when building the distribution of npde under the null hypothesis.
dist.pred.sim(npdeObject,nsamp, ...)
npdeObject |
an object returned by a call to |
nsamp |
number of datasets (defaults to 100 or to the number of replications if it is smaller) |
... |
additional arguments. Currently only the value of calc.pd and calc.npde may be passed on, and will override their corresponding value in the "options" slot of npdeObject |
an object of class NpdeObject; the ["results"] slot will contain pd and/or npde for a sample of the simulated datasets (depending on whether calc.pd/calc.npde are ), stored in pd.sim and/or npde.sim
Emmanuelle Comets <emmanuelle.comets@bichat.inserm.fr>
K. Brendel, E. Comets, C. Laffont, C. Laveille, and F. Mentre. Metrics for external model evaluation with an application to the population pharmacokinetics of gliclazide. Pharmaceutical Research, 23:2036–49, 2006.
npde
, autonpde
data(theopp) data(simtheopp) x<-autonpde(theopp,simtheopp,1,3,4,boolsave=FALSE) plot(x,plot.type="ecdf",bands=TRUE,approx.pi=TRUE) plot(x,plot.type="ecdf",bands=TRUE,approx.pi=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.