Description Usage Arguments Value Examples
Power Simulation For Equivalence Test
1 | power_equiv(phase_eff, delta, target_effect, nsubj, nruns, outfile = ".AUTO.")
|
phase_eff |
A four-element vector, each element of which
specifies the illusory truth effect at the corresponding phase,
on the log odds scale (see |
delta |
Smallest (raw) effect size of interest, on log odds
scale; |
target_effect |
Which effect to test, the main effect
( |
nsubj |
Number of subjects. |
nruns |
How many simulations to run. |
outfile |
One of three options: (1) file name to save the
results in (with extension .rds); (2) ".AUTO." to create a
descriptive filename automatically; or (3) |
Either the name of the file where results are saved or a
matrix containing results of fit_lmem
or
fit_clmm
).
1 2 3 4 5 | set.seed(62)
## takes a few minutes to complete
power_equiv(c(0, .14, .14, .14), .1, "main", 24, 1, NULL)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.