Chi2x2: Compute power for an Chi Square 2x2 Takes proportions for...

Description Usage Arguments Value Examples

View source: R/Chi2x2.R

Description

Compute power for an Chi Square 2x2 Takes proportions for each group. Alpha is .05 by default, alternative values may be entered by user

Usage

1
Chi2x2(r1c1, r1c2, r2c1, r2c2, n, alpha = 0.05)

Arguments

r1c1

Proportion of overall scores in Row 1, Column 1

r1c2

Proportion of overall scores in Row 1, Column 2

r2c1

Proportion of overall scores in Row 2, Column 1

r2c2

Proportion of overall scores in Row 2, Column 2

n

Total sample size

alpha

Type I error (default is .05)

Value

Power for 2x2 Chi Square

Examples

1
Chi2x2(r1c1=.28,r1c2=.22,r2c1=.38,r2c2=.12,n=100)

pwr2ppl documentation built on April 4, 2021, 9:06 a.m.