Converts p-value threshold to test-statistic threshold, or the other way around.
1 2 3 | threshold_conversion(x, test_statistic = c("z", "t", "F", "chisq",
"correlation"), pval_threshold = 0.05, threshold = NULL, df1 = NULL,
df2 = NULL)
|
x |
the observed test-statistic. |
test_statistic |
the type of test-statistic |
pval_threshold |
the threshold a pvalue must cross (be lesser than)
in order for the test-statistic to be observed. Only one of
|
threshold |
an alternative way to specifiy a threshold. If a
z, t, or correlation then selection rule is assumed to be
|
df1 |
the degrees of freedom for t and chisq statistics. The sample size for Pearson's correlation. The numerator degrees of freedom for an F statistic. |
df2 |
the denominator degrees of freedom for an F statistic. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.