ES.h {pwr}R Documentation

Effect size calculation for proportions

Description

Compute effect size h for two proportions

Usage

ES.h(p1, p2)

Arguments

p1 First proportion
p2 Second proportion

Details

The effect size is 2*asin(sqrt(p1))-2*asin(sqrt(p2))

Value

The corresponding effect size

Author(s)

Stéphane CHAMPELY

References

J. Cohen (1988) Statistical power analysis for the behavioral sciences. Lawrence Erlbaum Associates, publishers.

See Also

pwr.p.test, pwr.2p.test, pwr.2p2n.test

Examples

## Exercise 6.5 p. 203 from Cohen 
h<-ES.h(0.5,0.4)
h
pwr.p.test(h=h,n=60,sig.level=0.05,alternative="two.sided")

[Package pwr version 1.1 Index]