Compute power for an Chi Square 2x2 Takes proportions for each group. Alpha is .05 by default, alternative values may be entered by user
Chi2x2(r1c1, r1c2, r2c1, r2c2, n, alpha = 0.05)
Proportion of overall scores in Row 1, Column 1
Proportion of overall scores in Row 1, Column 2
Proportion of overall scores in Row 2, Column 1
Proportion of overall scores in Row 2, Column 2
Total sample size
Type I error (default is .05)
Power for 2x2 Chi Square
# NOT RUN { Chi2x2(r1c1=.28,r1c2=.22,r2c1=.38,r2c2=.12,n=100) # }
Run the code above in your browser using DataCamp Workspace