Displaying 20 results from an estimated 10000 matches similar to: "comparing hazard ratios"
2011 Apr 18
1
time dependent hazard ratios
Hi, I am new to time-dependent Cox model to estimate time dependent hazard
ratios. Let me use aml dataset from survival package:
> aml3<-survSplit(aml2,cut=c(5,10,20),end="time",start="start",
event="status",episode="i")
If I want to esimate hazard ratio for each of the time intervals 0-5, 5-10,
10-20 and >=20, would the following calculate
2010 Mar 30
5
Problem comparing hazard ratios
Dear R-Helpers,
I am a novice in survival analysis. I have the following code:
for (i in 3:12) print(coxph(Surv(time, status)~a[,i], data=a))
I used it to fit the Cox Proportional Hazard models separately for every
available parameter (columns 3:12) in my data set - with intention to
compare the Hazard Ratios.
However, some of my variables are in range 0.1 to 1.6, others in range
5000 to
2010 Nov 16
1
Re : interpretation of coefficients in survreg AND obtaining the hazard function for an individual given a set of predictors
Thanks for sharing the questions and responses!
Is it possible to appreciate how much the coefficients matter in one
or the other model?
Say, using Biau's example, using coxph, as.factor(grade2 ==
"high")TRUE gives hazard ratio 1.27 (rounded).
As clinician I can grasp this HR as 27% relative increase. I can
relate with other published results.
With survreg the Weibull model gives a
2010 Nov 17
0
Cox model output & hazard ratios
Dear R users,
Here is the coxme output I obtain on my survival dataset having 3 strains
and 2 infection status (i: infected, ni: non infected)
coxme(Surv(lay) ~ infection*strain, data=datalay, random= ~1 |block)
Cox mixed-effects model fit by maximum likelihood
Data: datalay
n= 1194
Iterations= 3 77
NULL Integrated Penalized
Log-likelihood -7270.028 -7223.859 -7218.175
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
2007 Jan 10
2
SAS and R code hazard ratios
Greetings,
I am new to R and have been comparing CPH survival analysis hazard ratios
between R and SAS PhReg. The binary covariates' HRs are the same, however
the continuous variables, for example age, have quite different HRs
although in the same direction. SAS PhReg produces HRs which are the
change in risk for every one increment change in the independent variable.
How do I
2005 Jun 27
1
test of hazard ratios
Hi,
Is there a R test available that tests whether 2
hazard ratios obtained from Cox regressions on the
same patient sample by 2 different classifiers are
significantly different?
Thanks
Steve
2011 Dec 10
2
p-value for hazard ratio in Cox proportional hazards regression?
Hi,
I'm new to R and using it for Cox survival analysis. Thanks to this great forum I learned how to compute the HR with its confidence interval.
My question would be: Is there any way to get the p-value for a hazard ratio in addition to the confidence interval?
Thanks,
Thierry
--
Thierry Panje Visiting Student Researcher
Department of Psychology Stanford
2010 Oct 31
0
Fwd: ForestPlot or similar
> From: Abhijit Dasgupta <adasgupta@araastat.com>
> Date: October 31, 2010 1:30:02 AM EDT
> To: Matt Shotwell <shotwelm@musc.edu>
> Subject: Re: [R] ForestPlot or similar
>
> I just did something very similar using ggplot's pointrange geom. In the following, I'm plotting hazard ratios, for which the nominal value is 1 and not 0. x has 5 columns: drug, hr,
2010 Nov 13
2
interpretation of coefficients in survreg AND obtaining the hazard function for an individual given a set of predictors
Dear R help list,
I am modeling some survival data with coxph and survreg (dist='weibull') using
package survival. I have 2 problems:
1) I do not understand how to interpret the regression coefficients in the
survreg output and it is not clear, for me, from ?survreg.objects how to.
Here is an example of the codes that points out my problem:
- data is stc1
- the factor is dichotomous
2011 Nov 20
1
Cox proportional hazards confidence intervals
I am calculating cox propotional hazards models with the coxph
function from the survival package. My data relates to failure of
various types of endovascular interventions. I can successfully
obtain the LR, Wald, and Score test p-values from the coxph.object, as
well as the hazard ratio as follows:
formula.obj = Surv(days, status) ~ type
coxph.model = coxph(formula.obj, df)
fit =
2007 May 17
1
Stratified Cox proportional Hazard Model
Hello everyone,
I am a new user of R. Does anybody know how hazard ratios are extracted
for each factor level in a stratified Cox proportional hazard
regression model? I have a cancer data set where the variable
?differentiation? is a factor with three levels: poor, intermediate and
good. I would like to extract the hazard ratio for each grade level and
relate it to another prognostic factor.
2007 Dec 18
1
hazard ratio of interaction Cox model
Dear Forum,
I have a question about interaction estimate in the Cox model:
why the hazard ratio of the interaction is not produced in the summary of the model?
(Instead, the estimate of the coefficient is given in the print of the model.)
# Example:
modINT <-cph( Surv(T_BASE, T_FIN,STATUS)~ NYHA + ASINI + RFP + FE_REC + XX_PR*XX_DISF)
print(modINT)
coef se(coef) z
2008 Sep 30
0
Hazard curves
-- begin included message -----
I am looking at a continuous variable, age. I am looking at time to
12-month remission and can calculate the HR and 95% confidence interval are
follows:
coxfita = coxph(Surv(rem.Remtime,rem.Rcens)~nearma$all.age,data=nearma)
exp(coxfita$coefficients)
exp(confint(coxfita))
However, because I am looking at age as a continuous variable I cannot draw
a Kaplan-Meier
2017 Sep 18
0
Q2/R2 ratio in PLSDA
Hello,
I would like to perform a Partial least square discriminate analysis (PLSDA) in R.
To do this I use the package mixOmics.
I could perform the PLSDA in R. however I would also like to perform a leave-one-out cross validation in order to assess the performance of my model. My supervisor told me that I should focus on the R2/Q2 ratios.
However when I read the instruction for running the
2012 Jul 12
1
Cox proportional hazard model and coefficients
Hi,
Here is the summary-output of the Coxph-model I used (the output is based on
the best final model i.e. all significant explanatory variables and their
interactions are included):
coxph(formula = Y ~ LT + Food + Temp2 + LT:Food + LT:Temp2 +
Food:Temp2 + LT:Food:Temp2)
n= 555
coef exp(coef)
se(coef) z
2008 Apr 09
2
How to estimate a hazard ratio using an external hazard function
Hi,
I would like to compare the hazard functions of two samples using the
Cox proportional hazards model. For sample 1 I have individual time-to-
event data. For sample 2 I don't have individual data, but grouped
data that allows to obtain a hazard function.
I am wondering if there is an R function that allows to obtain a
hazard ratio of the two hazard funtions (under the
2008 Sep 29
1
Hazard plot
Hi All,
This sounds a relatively simple query, and I hope it is!
I am looking at a continuous variable, age. I am looking at time to
12-month remission and can calculate the HR and 95% confidence interval are
follows:
coxfita = coxph(Surv(rem.Remtime,rem.Rcens)~nearma$all.age,data=nearma)
exp(coxfita$coefficients)
exp(confint(coxfita))
However, because I am looking at age as a continuous
2010 Nov 15
1
interpretation of coefficients in survreg AND obtaining the hazard function
1. The weibull is the only distribution that can be written in both a
proportional hazazrds for and an accelerated failure time form. Survreg
uses the latter.
In an ACF model, we model the time to failure. Positive coefficients
are good (longer time to death).
In a PH model, we model the death rate. Positive coefficients are
bad (higher death rate).
You are not the first to be confused
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]]