search for: oddsratio

Displaying 14 results from an estimated 14 matches for "oddsratio".

Did you mean: loddsratio
2012 May 04
0
oddsratio epitool and chi-square
...60 68 Cond 4 25 10 Cond 5 98 12 Cond 6 12 8 Cond 7 10 13 Cond 8 70 20 Cond 9 28 11 Cond 10 14 13 # I'm not sure how to use the rev option of the oddsration works here. I'm trying to see if any of the treatments has an effect on each condition, so for example if treatment A has an effect on cond1 compared to treatmentB. And so on for each condition. I also don't understand why i get an NA value on cond10 ??? > oddsratio(mat,rev="...
2012 May 04
0
oddsratio and some basic help on epitools
...60 68 Cond 4 25 10 Cond 5 98 12 Cond 6 12 8 Cond 7 10 13 Cond 8 70 20 Cond 9 28 11 Cond 10 14 13 # I'm not sure how to use the rev option of the oddsration works here. I'm trying to see if any of the treatments has an effect on each condition, so for example if treatment A has an effect on cond1 compared to treatmentB. And so on for each condition. I also don't understand why i get an NA value on cond10 ??? > oddsratio(mat,rev="...
2008 Jan 27
1
OR estimate
Hello, I have a loop with 1000 repetitions which includes OR computation of an exposure factor and outcome. I compute OR like this: t<-table(exposure,outcome) oddsratio(t)$measure["estimate"] This gives me the estimates for exposure=0 and exposure=1 but exposure=0 is the reference group and i need only the estimate for exposure=1. I specified a matrix OR with 3 columns (for OR estimate and lower and upper confidence limits) and 1000 rows OR[k,]<-od...
2007 Jun 11
1
epitools and R 2.5
...R.C.C.S. Centro di Riferimento Oncologico Via Franco Gallini 2 33081 Aviano (PN) - Italy phone: +39 0434 659 412 fax: +39 0434 659 409 e-mail: pbulian at cro.it (at work) epitab(matrix(c(227,473,74,126),2)) the part of the args list of 'list' being evaluated was: (tab = tab, measure = oddsratio, conf.level = conf.level, pvalue = pvalue, ) Error in epitab(matrix(c(227, 473, 74, 126), 2)) : element 5 is empty R.version _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 2 minor 5.0 y...
2008 Dec 11
1
help with predict in stats4
Hi, We're using stats4 for a logistic regression. The code is chdreg.logit2 <- glm(chd ~ age + sex, family = binomial) summary(chdreg.logit2) oddsratios <- coef(chdreg.logit2) exp(oddsratios) # Calculate model predicted values pred <- predict(chdreg.logit2,type="response") The glm part runs fine, and up to now so has the predict function. However, now we're getting the following error Error in function (classes, fdef, mtab...
2010 Apr 12
1
R CMD check tells me 'no visible binding for global variable ', what does it mean?
...te that this is only a NOTE and so I assume is R's equivalent of 'This is perfectly legal but I wonder whether it is really what you intended' but I would like to understand it. In the relevant function addlinear the following function is defined locally: orfun <- function(x, oddsratio) {1/(1+1/(oddsratio * (x/(1-x))))} and then used later in curve curve(orfun(x, exp(estimate)), from = 0.001, to = 0.999, add = TRUE) These are the only occurrences of 'x'. Is it just telling me that I have never assigned a value to x? Or is it more sinister than that? As far as...
2005 Jun 24
1
comparing strength of association instead of strength of evidence?
Hi, I asked this question before, which was hidden in a bunch of questions. I repharse it here and hope I can get some help this time: I have 2 contingency tables which have the same group variable Y. I want to compare the strength of association between X1/Y and X2/Y. I am not sure if comparing p-values IS the way even though the probability of seeing such "weird" observation under H0
2009 Nov 22
1
Metaplot Axis Annotation
...sity of Southern California > local({pkg <- select.list(sort(.packages(all.available = TRUE))) + if(nchar(pkg)) library(pkg, character.only=TRUE)}) Loading required package: grid > m1=matrix(scan(file="C:/Users/Roymohan/Desktop/meta.txt"), ncol=4, byrow=TRUE) Read 208 items > oddsratio=m1[,2] > seinor=m1[,3] > inw=m1[,4] > c1=c("Cross-Drew (1974)", "Ahlstrom & Havighurst (1982)", "Litton & Marye (1981)", "Gold & Mattick (1974)", "Willman & Snortum (1982)", "Leiber & Mawhorr (1995)", "Hac...
2011 Jul 10
1
Odds Ratio for evaluating Diagnostic tests
Hi friends, I have a doubt reg the application of odds ratio. When evaluating a diagnostic test, what odds ratio I should apply? When I use.. *>oddsratio (X)** * the OR I get is not ad/bc. Thank you. Regards, Dr Manoj Aravind, PG Resident, Dept of Community Medicine, Osmania Medical College, Hyderabad, India. [[alternative HTML version deleted]]
2010 Jan 27
1
Possible bug in fisher.test() (PR#14196)
...in fisher.test? # Nicholas Horton, nhorton at smith.edu Fri Jan 22 08:29:07 EST 2010 x1 = c(rep(0, 244), rep(1, 209)) x2 = c(rep(0, 177), rep(1, 67), rep(0, 169), rep(1, 40)) or1 = sum(x1==1&x2==1)*sum(x1==0&x2==0)/ (sum(x1==1&x2==0)*sum(x1==0&x2==1)) library(epitools) or2 = oddsratio.wald(x1, x2)$measure[2,1] or3 = fisher.test(x1, x2)$estimate # or1=or2 = 0.625276, but or3=0.6259267! I'm running R 2.10.1 under Mac OS X 10.6.2. Nick Nicholas Horton Department of Mathematics and Statistics, Smith College Clark Science Center, Northampton, MA 01063-0001 http://www.math....
2010 Sep 19
1
odds ratios for n-way tables: seeking an *apply-able method
I'm looking for a way to generalize the calculation of (log) odds ratios for 2 x 2 x {strata} frequency tables in vcd::oddsratio() to R x C x {strata} tables. For an R x C table, F, odds ratios can be defined in several ways; one simple way, particularly for tables with ordered factors, is to calculate the set of continuation odds ratios, based on the (R-1)x(C-1) set of 2x2 tables with elements F[i:(i+1), j:(j+1)] What...
2007 Feb 24
1
Woolf's test, Odds ratio, stratification
....value of the woolf-test is below 0.05 then we assume that there is a heterogeneity and a common odds ratio cannot be computed? Does this mean that we have to try to add more stratification variables (stratify more) to make the woolf-test p.value insignificant? Also in the same package there is an oddsratio function that seems to be calculating the odds ratio even when the values are non-integers and even when one cell has a null value (in contrast to the mantel_hanszel or the fisher exact test that do not admit zero values or non-integers) does anyone know what's the difference and how to optain...
2008 Sep 23
3
odds ratio: how to create reference
HI there, i know this is a basic question, though i need some help because this is somewhat away from my current issue, but nevertheless interesting to me... Lets assume i have some estimated probabilities, say estimated by a logit model. i know i can also state them as an odds ratio. Now i?d like to state these odds ratios as a reference to a specific outcome of my investigated
2012 May 04
0
epitools question
...60 68 Cond 4 25 10 Cond 5 98 12 Cond 6 12 8 Cond 7 10 13 Cond 8 70 20 Cond 9 28 11 Cond 10 14 13 # I'm not sure how to use the rev option of the oddsration works here. I'm trying to see if any of the treatments has an effect on each condition, so for example if treatment A has an effect on cond1 compared to treatmentB. And so on for each condition. I also don't understand why i get an NA value on cond10 ??? > oddsratio(mat,rev="...