cohens_w: Compute Cohen's w (omega) as effect size for Chi-square tests

View source: R/cohens_w.R

cohens_wR Documentation

Compute Cohen's w (omega) as effect size for Chi-square tests

Description

For each cell of a table containing m cells, there are two proportions considered: one specified by a null hypothesis and the other specified by the alternative hypothesis. Usually, the proportions specified by the alternative hypothesis are those occurring in the data. The effect size, w (omega), is calculated using this formula. small: 0.1, medium: 0.3, large: 0.5

Usage

cohens_w(chi_sq, n)

Arguments

chi_sq

Chi-square value

n

total count in all cells

Value

Cohen's w (omega)

References

http://ncss.wpengine.netdna-cdn.com/wp-content/themes/ncss/pdf/Procedures/NCSS/Chi-Square_Effect_Size_Calculator.pdf

https://de.wikipedia.org/wiki/Effektst


markushuff/PsychHelperFunctions documentation built on Sept. 11, 2022, 3:43 a.m.