Description Usage Arguments Details Value Author(s) References See Also Examples
ind.twoway
conducts a two-way design with independent samples, namely two-way randomized-group analysis of variance, using individual data.
1 | ind.twoway(formula, data, sig.level=.05, digits=3)
|
formula |
two-sided formula; the left-hand-side of which gives one dependent variable containing a numeric variable, and the right-hand-side of two independent variables containing a factor with two or more levels |
data |
a data frame contains the variables in the |
sig.level |
a numeric contains the significance level (default 0.05) |
digits |
the specified number of decimal places (default 3) |
This function conducts a two-way design with independent samples, namely two-way randomized-group analysis of variance, using individual data. The main effect of the first independent variable will be shown in "(row)" section, and the main effect of the second one will be shown in "(col)" section. Always the interaction effect of the two independent variables will be calculated. Statistical power is calculated using the following specifications:
(a) small (η^2 = 0.01), medium (η^2 = 0.06), and large (η^2 = 0.14) population effect sizes, according to the interpretive guideline for effect sizes by Cohen (1992)
(b) sample size specified by formula
and data
(c) significance level specified by sig.level
The returned object of ind.oneway
contains the following components:
anova.table |
returns a ANOVA table containing sums of squares, degrees of freedom, mean squares, F values |
omnibus.es |
returns a omnibus effect sizes which is a partial η^2, and its' confidence interval for each main and interaction effect |
power |
returns statistical power for detecting small (η^2 = 0.01), medium (η^2 = 0.06), and large (η^2 = 0.14) population effect sizes |
Yasuyuki Okumura
Department of Social Psychiatry,
National Institute of Mental Health,
National Center of Neurology and Psychiatry
yokumura@blue.zero.jp
Cohen B (2000) Calculating a factorial ANOVA from means and standard deviations. Understanding Statistics, 1, 191-203.
Cohen J (1992) A power primer. Psychological Bulletin, 112, 155-159.
Kline RB (2004) Beyond significance testing: Reforming data analysis methods in behavioral research. Washington: American Psychological Association.
1 2 3 4 5 6 7 8 |
Loading required package: gtools
$anova.table
SS df MS F
Between 23.115 3 7.705 6.577
Between (row) 4.479 1 4.479 3.824
Between (col) 4.479 1 4.479 3.824
Between (row * col) 14.157 1 14.157 12.085
Within 11.714 10 1.171
Total 34.829 13
$omnibus.es
partial.etasq partial.etasq.lower partial.etasq.upper
Between (row) 0.277 0.00 0.577
Between (col) 0.277 0.00 0.577
Between (row * col) 0.547 0.07 0.743
$power
small medium large
Between (row) 0.057 0.12 0.242
Between (col) 0.057 0.12 0.242
Between (row * col) 0.057 0.12 0.242
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.