View source: R/simple_hypothesis_tests.R
type_m.numeric | R Documentation |
this is the S3 method of the generic type_m() function, used when a numeric is passed for A.
## S3 method for class 'numeric'
type_m(A, s, alpha = 0.05, df = Inf, n.sims = 1e+05)
A |
a numeric, estimate of the true effect size |
s |
a numeric, standard error of the estimate |
alpha |
a numeric, the statistical significance threshold |
df |
a numeric, the number of 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 |
either the type m, a numeric if a single A is provided, or a df of length 2 by A, with the effect size and corresponding type m error in each row.
type_m(1,3.28)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.