[R] Z test and proportions
P.Dalgaard at biostat.ku.dk
Tue Jun 17 18:13:34 CEST 2008
Michael Pearmain wrote:
> Hi All,
> I have a table based on ordial data and i want to compare proportions and
> i've seen in the pwr package i can use
> however i want to find out what the sig. value is based on n1,n2,p1,p2 and
> this package doesn't contain this..
> Does anyone know of a package that does or is it a case of writting a
> function specifically for this?
I think your wired got crossed somewhere:
power.prop.test is not from the pwr package; however, pwr does contain pwr.2p2n.test, which looks like it does exactly what you want!
> Many thanks in advance
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
O__ ---- Peter Dalgaard Øster Farimagsgade 5, Entr.B
c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-help