View source: R/simPowerZeroRestriction.R
simPowerZeroRestriction | R Documentation |
Monte-Carlo-simulate power for a given model to reject a null hypothesis involving one or more zero-constraints.
simPowerZeroRestriction(trueModel, restrictions, N, repetitions,
keepModels = F, steps = NULL, cluster = NULL)
trueModel |
An OpenMx model representing the population model. |
restrictions |
A list of parameters to be restricted to zero under H0. |
N |
Sample size |
repetitions |
The number of Monte-Carlo-trials. |
keepModels |
Store the complete intermediate results in form of the fitted models. Only recommended for debugging purposes. |
steps |
A list of parameter names and values for simulating across multiple conditions |
cluster |
A cluster object for parallel execution |
This is a wrapper function to the generic simpower
function to obtain power for a given model to reject a null hypothesis involving one or more zero-constraints by a Monte Carlo simulation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.