This smacks of homework to me.

    cheers,

        Rolf Turner

On 02/02/2013 12:45 PM, Jin Choi wrote:
I am trying to figure out how to calculate p-values for the difference in
prevalence of a risk factor between men and women. For example, I find that
277 out of 710 male patients and 125 out of 305 female patients have
obesity, what is the p-value for their difference?

If there is a package that can calculate this in bulk, I would appreciate
to learn about it!

______________________________________________
R-help@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.

Reply via email to