C W
2012-Aug-14 18:18 UTC
[R] What package to use to calculate odds ratio and the confidence interval?
Hi list, I am trying to calculate the sensitivity, specificity, and odds ratio(and confidence interval). Say, my data looks like this 42.53, 37.56, 40.51, 32.67, 38.19, 81.74, 41.55, 68.94, 59, 63, 54.13, 48.85, 50.46, 51.78 Is there any packages in R that does this? Espeically the odds ratio confidence interval. Mike [[alternative HTML version deleted]]
arun
2012-Aug-14 18:36 UTC
[R] What package to use to calculate odds ratio and the confidence interval?
Hi, Please check this link: http://www.r-bloggers.com/computing-odds-ratios-in-r/? Also, ?http://rgm2.lab.nig.ac.jp/RGM2/func.php?rd_id=HH:odds.ratio A.K. ----- Original Message ----- From: C W <tmrsg11 at gmail.com> To: r-help <r-help at r-project.org> Cc: Sent: Tuesday, August 14, 2012 2:18 PM Subject: [R] What package to use to calculate odds ratio and the confidence interval? Hi list, I am trying to calculate the sensitivity, specificity, and odds ratio(and confidence interval). Say, my data looks like this 42.53, 37.56, 40.51, 32.67, 38.19, 81.74, 41.55, 68.94, 59, 63, 54.13, 48.85, 50.46, 51.78 Is there any packages in R that does this?? Espeically the odds ratio confidence interval. Mike ??? [[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.
Nordlund, Dan (DSHS/RDA)
2012-Aug-14 18:52 UTC
[R] What package to use to calculate odds ratio and the confidence interval?
> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- > project.org] On Behalf Of C W > Sent: Tuesday, August 14, 2012 11:18 AM > To: r-help > Subject: [R] What package to use to calculate odds ratio and the > confidence interval? > > Hi list, > I am trying to calculate the sensitivity, specificity, and odds > ratio(and > confidence interval). > Say, my data looks like this > > 42.53, 37.56, 40.51, 32.67, 38.19, 81.74, 41.55, 68.94, 59, 63, 54.13, > 48.85, 50.46, 51.78 > > Is there any packages in R that does this? Espeically the odds ratio > confidence interval. > > MikeYou need to provide more information than you have. The odds of something happening is the probability of it happening divided by (1-probability). To calculate the odds ratio, you need to have odds for two different groups. I suspect you need to get some local statistical assistance on these concepts before you will get much help on R packages and functions. Dan Daniel J. Nordlund Washington State Department of Social and Health Services Planning, Performance, and Accountability Research and Data Analysis Division Olympia, WA 98504-5204