similar to: Odds Ratios in rms package

Displaying 20 results from an estimated 500 matches similar to: "Odds Ratios in rms package"

2009 Jun 20
1
png() resolution problem {was "Silhouette ..."}
Hallo Sebastian, >>>>> "SP" == Sebastian P?lsterl <sebp at k-d-w.org> >>>>> on Sun, 14 Jun 2009 14:04:52 +0200 writes: SP> Hello Martin, SP> I plotting the silhouette of a clustering and storing it as png. When I SP> try to store the image as png the bars are missing. The bars are plotted SP> when I use x11 or
2011 Mar 15
3
Reporting odds ratios or risk ratios from GLM
I am a new R user (am using it through the Rcmdr package) and have struggled to find out how to report OR and RR directly when running GLM models (not only reporting coefficients.) Example of the syntax that I have used: GLM.2 <- glm(diarsev ~ treatmentarm +childage +breastfed, family=binomial(logit), data=fieldtrials2) summary(GLM.2) This works well except that I manually have to calculate
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.
2005 Jul 26
1
Difficulty getting standard deviation of ALL odds ratios with glm function, logistic regression, need cov of parameters
I am trying to do logistic regression with a categorical predictor variable with the glm() function, family=binomial. Using glm() I would like to be able to calculate the confidence intervals of all three possible odds ratios for a factor (the factor has three categories). Three categories imply two columns of 0's and 1's in the design matrix, and two parameter estimates with their
2008 Jul 30
1
odds ratios in multiway tables (stratified)
Hi, does anyone know of a function to calculate odds ratios in multiway tables (stratified) (+ the other usual statistics involved) i mean: say we have a table r*c*d, For every d (depth) we have a r*c table, and in this table the odds ratio's are calculated for every 2*2 subtable in it. logically this function would look like): ORs(multiwaytable) or ORs(data$var1r,data$var2c,data$var3d)
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 confidence
2009 Dec 21
2
Plot odds ratios on log scale
Hi, I have the following table of odds ratios (or), lower limits(ll) and upper limits(ul), which I would like to plot as horizontal lines beginning at the lower limit, ending at the upper limits and with a dot at the odds ratio on an x-axis on a log10 scale. The y axis would be the study sites. >From what I can figure out, it looks like the plotCI function will do everything except give me an
2010 Dec 09
1
Calculating odds ratios from logistic GAM model
Dear R-helpers I have a question related to logistic GAM models. Consider the following example: # Load package library(mgcv) # Simulation of dataset n <- 1000 set.seed(0) age <- rnorm(n, 50, 10) blood.pressure <- rnorm(n, 120, 15) cholesterol <- rnorm(n, 200, 25) sex <- factor(sample(c('female','male'), n,TRUE)) L <-
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
2010 Dec 08
3
Confidence Intervals for Odds Ratios in multivariate logistic regression
Hi all, I am trying to fit a logistic regression for a bivariate response using five independent variables in a stepwise procedure. My outputs look okay but does any one know (or is there any literature on) how the confidence intervals are calculated for the reported odds ratios..? Thanks! [[alternative HTML version deleted]]
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 seem to get the correct output using: >
2009 Jan 01
0
Computing/Interpreting Odds Ratios for 3-way interactions from lmer
Hello, I am a relative novice at both using regression analysis and at using R in general (and at object oriented programing). A colleague convinced me that binary logistic regression is the most appropriate analysis for the data that I have though, so I've been trying to muddle through. I'm currently stumped on how to interpret/compute odds ratios for two and three way interactions
2010 Feb 06
4
Plot of odds ratios obtained from a logistic model
Hi all! I am trying to develop a plot a figure in which I would like to show the odds ratios obtained from a logistic model. I have tried with the dotplot option but no success. Could you help me? Is there any option when modelling the logistic model in R? Thank you in advance
2011 Jan 26
2
crash when using hazard.ratio.plot from rms package
Dear all, I always encounter a crash when running hazard.ratio.plot from rms package with my predictor as a factor. It works fine when the predictor is a continous score. Anyone encounters this too? Is this a bug or something? Thanks, Lilian [[alternative HTML version deleted]]
2011 Oct 21
1
cph/nomogram Design/RMS package hazard ratio: interquartile vs per unit
Hello, I am constructing a nomogram using cph and nomogram commands in Dr. Harrell's Design/RMS package. The HR that I obtain for dichotomous and categorical variables are identical to those that I obtain using STATA stcox. However, the inter-quartile HR I obtain for continuous variables is obviously different, since STATA gives me HR for each unit (year, centimeter, etc) like coxph would
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
2011 Apr 13
4
is this an ANOVA ?
Hi all, I have a very easy questions (I hope). I had measure a property of plants, growing in three different substrates (A, B and C). The rest of the conditions remained constant. There was very high variation on the results. I want to do address, whether there is any difference in the response (my measurement) from substrate to substrate?
2008 Feb 20
1
p-value for fixed effect in generalized linear mixed model
Dear R-users, I am currently trying to switch from SAS to R, and am not very familiar with R yet, so forgive me if this question is irrelevant. If I try to find the significance of the fixed factor "spikes" in a generalized linear mixed model, with "site" nested within "zone" as a random factor, I compare following two models with the anova function:
2005 Apr 20
1
make check failure -- R 2.1.0 Windows XP SP2
I compiled R 2.1.0 under Windows XP SP2 as a preliminary to rebuilding a custom package for use with R 2.1.0. The compile completed successfully, and I was able to run demo(graphics) successfully. But make check and make check-recommended fail. > version _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 2 minor 1.0 year 2005
2009 Feb 18
1
Age as time-scale in a cox model-How to calculate x-time risk?
Dear R users, My question is more methodology related rather than specific to R usage. Using time on study as time in a cox model, eg: library(Design) stanf.cph1=cph(Surv(time, status) ~ t5+id+age, data=stanford2, surv=T) #In this case the 1000-day survival probability would be: stanf.surv1=survest(stanf.cph1, times=1000) #Age in this case is a covariate. #I now want to compare the above