Description Usage Arguments Value Examples
a wrapper that runs the maximum and minimum scenarios using scenario_sim
and provides the optimal p -value
1 2 |
sizes |
An array of sample sizes to be simulated. Can be single value. |
n_sim |
number of simulations. 1000 is a start, 10000 was used in paper, but takes a long time |
plotting |
Plots the result with |
n_indicators |
How many many indicators are there in a scale. The package is tested with 8 indicators (default), but should work with other number. |
to_min |
How many indicators relate to the outcome in the lack of ION condition. In |
... |
further tweaking of the scale simulator, see |
Returns the P criterion, as well as the p values for max and min scenario for each sample size. If min pvalue > max pvalue, then p criterion is NA.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.