Learn R Programming

powerAnalysis (version 0.2.1)

ES.proportions: Compute effect size for a difference in proportions

Description

Compute effect size for a difference in proportions

Usage

ES.proportions(p1 = NULL, p2 = NULL, alternative = c("two.sided", "one.sided"))

Arguments

p1
Proportion of sample one
p2
Proportion of sample two or a constant proportion
alternative
The test is two sided or one sided

Examples

Run this code
ES.proportions(0.65,0.45)

ES.proportions(0.25,0.05)

Run the code above in your browser using DataLab