size.ci.prop.ps: Proportions from Paired Samples

View source: R/prop.ps.R

size.ci.prop.psR Documentation

Proportions from Paired Samples

Description

Computes sample size required to estimate a difference of proportions in 2-level within-subjects design with desired precision.

Arguments

alpha

alpha level for 1-alpha confidence

p1

planning value of proportion for group 1

p2

planning value of proportion for group 2

phi

planning value of phi coefficient

w

desired confidence interval width

Value

n

required sample size


cwendorf/dgb documentation built on May 3, 2022, 9:35 p.m.