tag:blogger.com,1999:blog-4274823366855967619.post3212733558169947294..comments2023-08-04T10:19:18.233+02:00Comments on Statistic on aiR: Comparison of two proportions: parametric (Z-test) and non-parametric (chi-squared) methodsTodos Logoshttp://www.blogger.com/profile/09881188152777475558noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-4274823366855967619.post-55815190058519480012018-03-31T05:39:18.827+02:002018-03-31T05:39:18.827+02:00It is useful for me.
If the two proportions follo...It is useful for me. <br />If the two proportions follow normal distribution, I can use z-test for equality, and if those proportions do not meet the requirement of normal distribution then I use the chi-squared test for the comparison, is that right?<br />Thanks for reading.<br />Anonymoushttps://www.blogger.com/profile/15362830670805472697noreply@blogger.comtag:blogger.com,1999:blog-4274823366855967619.post-78057514197315259632010-10-20T09:37:52.371+02:002010-10-20T09:37:52.371+02:00Thanks again. Useful website.Thanks again. Useful website.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4274823366855967619.post-17026375161417583992010-10-19T23:11:59.253+02:002010-10-19T23:11:59.253+02:00hi karkaesque1978!
You can use the pnorm() functio...hi karkaesque1978!<br />You can use the pnorm() function. For example:<br /><br />> 1-pnorm(1.96)<br />[1] 0.02499790Todos Logoshttps://www.blogger.com/profile/09881188152777475558noreply@blogger.comtag:blogger.com,1999:blog-4274823366855967619.post-2160906837081200502010-10-19T21:14:50.194+02:002010-10-19T21:14:50.194+02:00That was useful. Thanks.
I've used your z.pro...That was useful. Thanks.<br /><br />I've used your z.prop function. How can I calculate a one-tailed p value for this?<br /><br />and I was given this as a one sample z-test:<br />(p-0.5)/sqrt(0.5*0.5/33)<br />p is the proportion of interest.Anonymousnoreply@blogger.com