View source: R/simple_hypothesis_tests.R
retrodesign.list | R Documentation |
retrodesign.list is the S3 method of the generic retrodesign() function, used when a list is passed for A.
## S3 method for class 'list'
retrodesign(A, s, alpha = 0.05, df = Inf, n.sims = 10000)
A |
a list, estimates of the true effect size |
s |
a numeric, standard error of the estimate |
alpha |
a numeric, the statistical significance threshold |
df |
a numeric, the degrees of freedom. df=Inf is equivalent to a normal distribution. |
n.sims |
a numeric, how many times to simulate when calculating Type M error |
A df that is 4 by length(A), with an effect size and it's corresponding power, type s, and type m errors in each row.
retrodesign(list(.2,2,20), 8.1)
retrodesign(list(.2,2,20), 8.1,df = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.