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
> power.prop.test
>
> 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
> https://stat.ethz.ch/mailman/listinfo/r-help
> 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