Description Usage Arguments Value See Also Examples
Fit a separate model to each simulation and find the deviance, to see if the distribution of the deviance is really chi-squared.
1 2 3 4 5 6 7 |
object |
a pepsim object |
ask |
Since this may take a while, it will ask for permission before starting. Disable with ask=FALSE. |
n |
The number of simulations to fit models to. |
model |
A pepfit object with the model that you want to fit the simulated data to. |
x |
the pepsimtest object |
... |
to match the generic print function |
ylim |
the vertical limits of the plot |
A list of class "pepsimtest" containing:
sim.statistic |
The deviances from the fitted models for each simulation |
obs.test |
The test of the original fitted model |
sim |
The original pepsim object |
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.