Plausibility | R Documentation |
A model comparison of binomial outcome for nested models is computed. The plausibility estimate and P-value are returned together with a glm-fit.
Plausibility( f0, f1 = NULL, data, family = "binomial", Nsi = 1000L, Niter = 2L, optMethod = "optim", ..., plClass, initArgs = list() )
f0 |
Null model given as R formula |
f1 |
Alternative model given as R formula |
data |
data frame |
Nsi |
Number of stochastic integration samples (defaults to 1e3L) |
Niter |
Number of iterations used when finding the plausibility estimate |
optMethod |
Optimization method to use. Either 'grid' (default) or 'optim' |
... |
Arguments passed to the optimizer |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.