# Effect size calculation in the chi-squared test for goodness of fit

### Description

Compute effect size w for two sets of k probabilities P0 (null hypothesis) and P1 (alternative hypothesis)

### Usage

1 | ```
ES.w1(P0, P1)
``` |

### Arguments

`P0` |
First set of k probabilities (null hypothesis) |

`P1` |
Second set of k probabilities (alternative hypothesis) |

### Value

The corresponding effect size w

### Author(s)

Stephane CHAMPELY

### References

Cohen, J. (1988). Statistical power analysis for the behavioral sciences (2nd ed.). Hillsdale,NJ: Lawrence Erlbaum.

### See Also

pwr.chisq.test

### Examples

1 2 3 4 5 |

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.