Description Usage Arguments Examples

View source: R/ES.anova.oneway.R

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

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

`data` |
a matrix or data frame |

`sst` |
total sum of squares |

`ssb` |
sum of squares between groups |

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)
``` |

```
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
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.