ES.anova.oneway: Calculating effect size (Cohen's f) of one-way anova for... In powerAnalysis: Power Analysis in Experimental Design

Description

Calculating effect size (Cohen's f) of one-way anova for means with equal observations in each group

Usage

 `1` ```ES.anova.oneway(data = NULL, sst = NULL, ssb = NULL) ```

Arguments

 `data` a matrix or data frame `sst` total sum of squares `ssb` sum of squares between groups

Examples

 ```1 2 3 4 5``` ```set.seed(9);x=rnorm(50);y=rnorm(50) z=rnorm(50);d=data.frame(x,y,z) ES.anova.oneway(data=d) ES.anova.oneway(sst=50,ssb=1) ```

Example output

```     effect size (Cohen's f) of one-way anova test for means

f = 0.04246128
sst = 140.6374
ssb = 0.2531073

NOTE: small effect size:  f = 0.1
medium effect size: f = 0.25
large effect size:  f = 0.4

effect size (Cohen's f) of one-way anova test for means

f = 0.1428571
sst = 50
ssb = 1

NOTE: small effect size:  f = 0.1
medium effect size: f = 0.25
large effect size:  f = 0.4
```

powerAnalysis documentation built on May 2, 2019, 12:40 p.m.