Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ES.h

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)

Stephane CHAMPELY

References

Cohen, J. (1988). Statistical power analysis for the behavioral sciences (2nd ed.). Hillsdale,NJ: Lawrence Erlbaum.

See Also

pwr.p.test, pwr.2p.test, pwr.2p2n.test, power.prop.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")

pwr

Basic Functions for Power Analysis

v1.3-0
GPL (>= 3)
Authors
Stephane Champely [aut], Claus Ekstrom [ctb], Peter Dalgaard [ctb], Jeffrey Gill [ctb], Stephan Weibelzahl [ctb], Aditya Anandkumar [ctb], Clay Ford [ctb], Robert Volcic [ctb], Helios De Rosario [cre]
Initial release
2020-03-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.