size.ci.ratio.prop.ps: Ratio of Proportions from Paired Samples

View source: R/ratio.prop.ps.R

size.ci.ratio.prop.psR Documentation

Ratio of Proportions from Paired Samples

Description

Computes sample size per group required to estimate a difference of proportions in 2-group 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

r

desired upper to lower interval endpoint ratio

Value

n

required sample size


cwendorf/DGB documentation built on May 3, 2022, 9:34 p.m.