Description Usage Arguments Details Value References Examples
View source: R/d_from_F_oneway.R
This function converts F statistics from one-way tests to Cohen's d.
1 | d_from_F_oneway(F1, n1, n2, df2, sign, bias_correct = FALSE)
|
F1 |
A numerical vector with one or more F values. |
n1, n2 |
A numerical vector with the sample sizes of the two groups
formed by the dichotomous variable. Note that the nth element of these
vectors must correspond to the nth elements of the |
df2 |
A numerical vector with one or more values of degrees of freedom 2. |
sign |
Numerical vector to indicate the sign of the d-values
( |
bias_correct |
Logical to indicate if the d-values should be bias-corrected. Can also be a vector. |
The formula that is used is the following (see e.g. Thalheimer & Cook, 2002):
d= √{F (\frac{n_1 + n_2}{n_1 n_2}) (\frac{n_1 + n_2}{n_1 + n_2 - 2})}
A data frame with in the first column, Cohen's d
values, and
in the second column, the corresponding variances.
Thalheimer, W., & Cook, S. (2002, August). How to calculate effect sizes from published research articles: A simplified methodology.
Borenstein, M., Hedges, L. V., Higgins, J. P. T., & Rothstein, H. R. (2009). Introduction to Meta-Analysis. Chichester, UK: John Wiley & Sons.
1 2 3 4 5 | escalc::d_from_F_oneway(F1 = 2.828427,
n1 = 126,
n2 = 89,
sign = +1);
escalc::d_from_F_oneway
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.