Re: [R] Z test and proportions

2008-06-17 Thread Peter Dalgaard
Michael Pearmain wrote: > Yes my mistake, > > I looked at the pwr.2p2n.test but i cannot place both n's and both p > values to determine the sig value > e,g *pwr.2p2n.test(h = , n1 = , n2 = , sig.level = , power = ) > > or am i missing someting obvious? > > * Not quite obvious, but h is the effect

Re: [R] Z test and proportions

2008-06-17 Thread Michael Pearmain
Yes my mistake, I looked at the pwr.2p2n.test but i cannot place both n's and both p values to determine the sig value e,g *pwr.2p2n.test(h = , n1 = , n2 = , sig.level = , power = ) or am i missing someting obvious? i did the sam ein SPSS using a macro and the following code: COMPUTE n1 = Contr

Re: [R] Z test and proportions

2008-06-17 Thread Peter Dalgaard
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 anyo

[R] Z test and proportions

2008-06-17 Thread Michael Pearmain
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