ind.prop.second
conducts a Z test for the equality of two proportions using published work.ind.prop.second(x, n, sig.level = 0.05, digits = 3)
x
) = 2) contains the counts of successesn
) = 2) contains the sample sizesind.prop.second
contains the following components:n
(c) significance level specified by sig.level
ind.prop
, samplesize.h
##Kline (2004) Chapter 5
ind.prop.second(x=c(60, 40), n = c(100,100))
Run the code above in your browser using DataLab