search for: odds

Displaying 20 results from an estimated 10910 matches for "odds".

Did you mean: adds
2007 Jan 26
0
replicating the odds ratio from a published study- post # 2
Peter & Michael, I just came across the following on another mailing list and realized that my use (and the authors of the article use of the term 'odds ratio' ) is probably incorrect. I believe my interest is in the 'odds' of schizophrenia among the population of homicide, rather than a comparison of odds . "Yours seems a good idea, Kevin, if you are only interested in computing the ODDS of disease (not the odds RATIO). The od...
2008 Feb 16
2
nil error?
...stupid with this, so if somebody could talk some sense into me that would be great :) I''m trying to just increment a variable and I think I''m missing some basic concept (this is RoR 2.0.2 btw) So have a "players" table with several variables, including one called "odds". I''m using the basic scaffold generator for the CRUD stuff, but in my model I have: attr_reader :odds def initialize(odds) @odds = odds end def winGame @odds += 1 end (note: attr_reader makes the odds in the index list disappear from view.) in the controller I...
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 variable. for example, if my covariate of interest is race and possible outcomes are white, black and hispanic, whereas the latter are minorities in my case - how can i state the odds ra...
2011 Apr 30
0
bootcov or robcov for odds ratio?
...made a logistic regression model (MyModel) using lrm and penalization by pentrace for data of 104 patients, which consists of 5 explanatory variables and one binary outcome (poor/good). Then, I found bootcov and robcov function in rms package for calculation of confidence range of coefficients and odds ratio by bootstrap covariance matrix and Huber-White sandwich method, respectively. > MyModel.boot <- bootcov(MyModel, B=1000, coef.reps=T) > MyModel.robcov <- robcov(MyModel) > anova(MyModel) Wald Statistics Response: outcome Factor Chi-Square d.f...
2006 Jun 26
2
compare odds ratios
Hi there, is there any way to compare 2 odds ratios? I have two tests that are supposed to detect a disease presence. So for each test, I can compute an odds ratio. My problem is how can I compare the 2 tests by testing whether the 2 odds ratios are the same? Appreciate
2012 Mar 09
1
Simulating n 2x2 tables with the same odds ratio
Hello. I'm looking for a method to simulate n different 2x2 tables having all the same odds ratio. For example. I need 100 tables with odds ratio 1 100 tables with odds ratio 2 100 tables with odds ratio 3 and so on. All tables should have the same marginal frequencies. Thank you -- View this message in context: http://r.789695.n4.nabble.com/Simulating-n-2x2-tables-with-the-same-od...
2012 Jun 20
2
Odds Ratios in rms package
Hi, I'm using the rms package to do regression analysis using the lrm function. Retrieving odds ratios is possible using summary.rms. However, I could not find any information on how exactly the odds ratios for continuous variables are calculated. It doesn't appear to be the odds ratio at 1 unit increase, because the output of summary.rms did not match the coefficient's value. E.g. p...
2012 Aug 14
2
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]]
2007 Dec 11
2
the observed "log odds" in logistic regression
...les/regression/Logistic.html http://www.tufts.edu/~gdallal/logistic.htm I've known the mathematical basis for logistic regression.However I am still not so sure about the "logit " For a categorical independent variable, It is easy to understand the procedures how "log odds" are calculated. As I know, First the observations are grouped according to the IV and DV, generating a contingency table.The columns are the levels of IV, and the rows are the levels of DV(0, or 1).For each column,we get the proprotions for DV=0 and DV=1 at given IV. Using the proportions t...
2005 Jan 24
1
mcnemar.test odds ratios, CI, etc.
Does anyone know of another version of the Mcnemar test that provides: 1. Odds Ratios 2. 95% Confidence intervals of the Odds Ratios 3. Sample probability 4. 95% Confidence intervals of the sample probability Obviously the Odds Ratios and Sample probabilities are easy to calculate from the contingency table, but I would appreciate any help on how to calculate the c...
2006 May 23
1
question about coding
Hi, I'm trying to encode a raw audio file with speex. No problem if I normally decode it (as done in the samplenc.c, for example). But if I separate odd and even samples and I try to encode separately these two files (one is [odd odd odd odd..], the other [even even even even..], then when I decode and I join the samples in one file [odd even odd even odd even..] I heard a terrible white
2003 Apr 06
5
Odd and Even
Hi, I'm trying to create a function, jim(p) which varies depending on whether the value of p is odd or even. I was trying to use th eIf function, but i cant work out a formula to work out if p is odd or even. Thanks, Dave __________________________________________________ Yahoo! Plus For a better Internet experience http://www.yahoo.co.uk/btoffer
2010 Sep 24
3
Odds ratio from Logistic model in R
Hi, I am new to R. Anyone can explain the following from R-help or anyone can direct me how to calculate odds ratio from logistic model in R. Thank you very much. Guoya Stefano <stecalza at tiscalinet.it <https://stat.ethz.ch/mailman/listinfo/r-help> > writes: >Hi all. > >A simple question. >Is there a function to compute the Odds Ratio and its confidence intervall, from &g...
2010 Dec 09
1
Calculating odds ratios from logistic GAM model
...(sex=='male')) y <- ifelse(runif(n) < plogis(L), 1, 0) I now want to fit a logistic GAM model and model age as a cubic spline: fit <- gam(y ~ blood.pressure + sex + cholesterol + s(age, bs="cr") ,family=binomial) Now my question: In a normal logistic regression, the odds ratio (OR) simply is the exponentiated coefficient exp(beta). How is it possible to calculate the odds ratio for age (in this example) based on the spline? For example the odds ratio based on the spline between the age of, say, 20-30? Or even better: How can I plot the odds ratios against age in...
2007 Jan 07
1
Partial proportional odds logistic regression
R-experts: I would like to explore the partial proportional odds models of Peterson and Harrell (Applied Statistics 1990, 39(2): 205-217) for a dataset that I am analyzing. I have not been able to locate a R package that implements these models. Is anyone aware of existing R functions, packages, etc... that might be used to implement the partial proportional o...
2011 Nov 12
2
Odds ratios from lrm plot
The code library(Design) f <- lrm(y~x1+x2+x1*x2, data=data) plot(f) produces a plot of log odds vs x2 with 0.95 confidence intervals. How do I get a plot of odds ratios vs x2 instead? Thanks -- View this message in context: http://r.789695.n4.nabble.com/Odds-ratios-from-lrm-plot-tp4033340p4033340.html Sent from the R help mailing list archive at Nabble.com.
2012 Oct 15
1
library(rmeta)
Hello, I have a data with following format:      Predictors          n11     n12     n21     n22     Odds.Ratio    log.ratio    se.log.odds. 1 ProcOR respirato     2 ProcVaric vein      3 DiagCardiac anom   4 DiagAllergy        5  DiagOth skin dx    6    DiagGastritis          I want to plot odds ratio by command: forestplot in rmeta library, but I get the following error constantly.  Error in apply(is...
2015 Jul 13
1
[PATCH] Fix for odd RIFF size
Brian Willoughby wrote: > The ckSize field can be odd to represent the size of the valid data. > > However, the chunk itself must always be an even size. This requires a padding byte at the end of a chunk before the next chunk can begin, or before the end of file. The latter case is the one that most often occurs in buggy RIFF writing programs - the last chunk will have an odd ckSize and
2003 Dec 05
3
Odds ratios for categorical variable
Dear R-users: How does one calculate in R the odds ratios for a CATEGORICAL predictor variable that has 4 levels. I see r-help inquiries regarding odds ratios for what looked like a continuous predictor variable. I was wondering how to get the pairwise odds ratios for comparisons of levels of a categorical predictor variable. I can't see...
2009 Oct 16
1
How odds ratio is computed in fisher.test()?
I'm wondering how odds ratio is computed. I thought that it is (n11/n12)/(n21/n22), but it is not what fisher.test() computes. Could somebody let me know? > n11=3 > n12=1 > n21=1 > n22=3 > > n1_=n11+n12 > n2_=n21+n22 > > n_1=n11+n21 > n_2=n12+n22 > > x=rbind(c(n11,n12),c(n21,n22)) &gt...