power_for_two_proportion_test
Calculate statistical power to detect a difference between two proportions given sample size per group and expected proportions. Use for planning experiments or studies.
Instructions
Statistical power to detect a difference between two proportions with n observations per group.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| p1 | Yes | ||
| p2 | Yes | ||
| alpha | No | ||
| n_per_group | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |