search for: twoby2

Displaying 2 results from an estimated 2 matches for "twoby2".

Did you mean: toby
2006 Nov 10
3
Confidence interval for relative risk
...ates: odds ratio Inf === end example === but in epidemiology authors often prefer to present risk ratios. Using the facility on CRAN to search the site I find packages epitools and Epi which both offer confidence intervals for the risk ratio === Epi example === > library(Epi) > twoby2(outcome[c(2,1),c(2,1)]) 2 by 2 table analysis: ------------------------------------------------------ Outcome : Col 1 Comparing : Row 1 vs. Row 2 Col 1 Col 2 P(Col 1) 95% conf. interval Row 1 8 500 0.0157 0.0079 0.0312 Row 2 0 500 0.0000 0.0000 NaN...
2006 Apr 03
1
Translate twobin in S-plus to R?
Hi all, I'm new to R, but have got the task to translate a short program written for S-plus. I am now stuck on a command twobin which does not seem to be available in R. Anyone know a replacement for this? The syntax used for this command in my code is: zobs<-twobin(obstab[1,1],obstab[1,2],obstab[2,1],obstab[2,2],0.05) where obstab is a two by two contingency table and the command