prop {mbir}R Documentation

Test of Two Proportions

Description

Provides magnitude-based inferences upon given proportions and sample sizes. Based upon WG Hopkins Microsoft Excel spreadsheet.

Usage

prop(p1, n1, p2, n2, conf.int)

Arguments

p1

proportion of group 1

n1

sample size of group 1

p2

proportion of group 2

n2

sample size of group 2

conf.int

(optional) confidence level of the interval. Defaults to 0.90

Details

Refer to vignette for further information.

References

Hopkins WG. (2007). A spreadsheet for deriving a confidence interval, mechanistic inference and clinical inference from a p value. Sportscience 11, 16-20. sportsci.org/2007/wghinf.htm

Examples

prop(p1 = 0.7, n1 = 25, p2 = 0.5, n2 = 20)

[Package mbir version 1.3.5 Index]