Displaying 20 results from an estimated 10000 matches similar to: "Difficulty getting standard deviation of ALL odds ratios with glm function, logistic regression, need cov of parameters"
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
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 <-
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]]
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
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:
>
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
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.
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 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.
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
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
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)
2012 Dec 30
3
Odds Ratio and Logistic Regression
Dear All,
I am learning the ropes about logistic regression in R.
I found some interesting examples
http://bit.ly/Vq4GgX
http://bit.ly/W9fUTg
http://bit.ly/UfK73e
but I am a bit lost.
I have several questions.
1) For instance, what is the difference between
glm.out = glm(response ~ poverty + gender, family=binomial(logit),
data=mydata)
and
glm.out = glm(response ~ poverty * gender,
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,
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 Sep 10
1
Standardized logistic regression coefficients
Dear all,
I am looking for ways to compute standardized logistic regression coefficients. I found papers describing at least 6 different ways to standardize logistic regression coefficients. I also found a very old (Thu May 12 21:50:36 CEST 2005) suggestion by Frank E Harrell (one of the colleagues who frequently contribute on this list) saying...
Design doesn't implement those because they
2012 Dec 11
1
glm - predict logistic regression - entering the betas manually.
Dear All,
I know this may be a trivial question.
In the past I have used glm to make logistic regressions on data. The output creates an object with the results of the logistic regression. This object can then be used to make predictions.
Great.
I have a different problem. I need to make predictions from a logistic regression taken from a paper. Thus I need to (by hand) enter the reported odds
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
2013 Feb 06
2
calculating odds ratio in logistic regression with interaction terms
Dear all,
How can i obtain odds ratio in logistic regression when the model
contains interaction terms in R?
how can i obtain OR for a special case?
Thanks in advance for any help.
Amin
2001 Mar 05
1
Odds Ratio from Logistic Model
Hi all.
A simple question.
Is there a function to compute the Odds Ratio and its confidence intervall, from a logistic model (glm(.......,family=binomial....). I've written my own, but certainly someone did a better job.
Thank you in advance,
Stefano
***********************************************
Stefano Calza
Istituto di Statistica Medica e Biometria
Universit? degli Studi di Milano
Via