Chi2X3: Compute power for an Chi Square 2x3 Takes proportions for...

View source: R/Chi2x3.R

Chi2X3R Documentation

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

Description

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

Usage

Chi2X3(r1c1, r1c2, r1c3, r2c1, r2c2, r2c3, 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

r1c3

Proportion of overall scores in Row 1, Column 3

r2c1

Proportion of overall scores in Row 2, Column 1

r2c2

Proportion of overall scores in Row 2, Column 2

r2c3

Proportion of overall scores in Row 2, Column 3

n

Total sample size

alpha

Type I error (default is .05)

Value

Power for 2x3 Chi Square

Examples

Chi2X3(r1c1=.25,r1c2=.25,r1c3=.10, r2c1=.10,r2c2=.25,r2c3=.05,n=200)

chrisaberson/pwr2ppl documentation built on Sept. 10, 2022, 2:59 a.m.