Description Usage Arguments Value Examples

Compute power for Chi Square Based on Effect Size Takes phi, degrees of freedom, and a range of sample sizes. Alpha is .05 by default, alternative values may be entered by user

1 |

`phi` |
phi coefficient (effect size for 2x2) |

`df` |
degrees of freedom |

`nlow` |
starting sample size |

`nhigh` |
ending sample size |

`by` |
Incremental increase in sample (e.g. nlow = 10, nhigh = 24, by = 2, produces estimates of 10, 12, and 14) |

`alpha` |
Type I error (default is .05) |

Power for Chi Square Based on Effect Size

1 |

```
n Power
1 10 0.0521
2 20 0.1086
3 30 0.1755
4 40 0.2487
5 50 0.3247
6 60 0.4005
7 70 0.4737
8 80 0.5428
9 90 0.6065
10 100 0.6643
11 110 0.7159
12 120 0.7613
13 130 0.8009
14 140 0.8349
15 150 0.8640
16 160 0.8886
17 170 0.9092
18 180 0.9263
19 190 0.9405
20 200 0.9522
```

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.