Re: [R] Z test and proportions

From: Peter Dalgaard <P.Dalgaard_at_biostat.ku.dk>
Date: Tue, 17 Jun 2008 18:13:34 +0200

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

______________________________________________
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.
Received on Tue 17 Jun 2008 - 16:40:39 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 17 Jun 2008 - 17:30:46 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive