Displaying 6 results from an estimated 6 matches for "coxfita".
Did you mean:
coxfit
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 variable I cannot draw
a Kaplan-Meier curve. Instead I need to draw a plot of hazard against age.
How do I do this? I don't thi...
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 curve. Instead I need to draw a plot of hazard against age.
How do I do this? I don't thi...
2009 Apr 03
2
Schoenfeld Residuals
Dear All,
Sorry to bother you again.
I have a model:
coxfita=coxph(Surv(rem.Remtime/365,rem.Rcens)~all.sex,data=nearma)
and I'm trying to do a plot of Schoenfeld residuals using the code:
plot(cox.zph(coxfita))
abline(h=0,lty=3)
The error message I get is:
Error in plot.window(...) : need finite 'ylim' values
In addition: Warning messages:
1: In...
2012 Feb 07
2
Actual vs. predicted survival times
...be generating survival times at all. Given that, I was concerned about proceeding but I would like to have access to a plot to make a decision on its usefulness.
I appreciate that there are predict.coxph and predict.cph options available to me.
My first attempt was as follows:
# fit Cox model #
coxfita = coxph(Surv(tsecond,seccens)~stroke(smess)+rels(smess)+asleep(smess)+eeg1(smess)+eeg2(smess)+ct1(smess)+ct2(smess)+treat(smess),data=smess)
# Find censored and observed groups #
messcens <- subset(smess,seccens==1)
messobs <- subset(smess,seccens==0)
# Obtain predicted survival times #
exp...
2009 May 22
1
Forcing a variableinto a model using stepAIC
...Additionally, the model is stratified by
randomisation period). I know that SAS can be used to do this but my
SAS coding is poor and consequently it would be easier for me to use
R, especially given the fractional polynomial transformations!
Currently the model is as follows (without treatment).
coxfita=coxph(Surv(rem.Remtime,rem.Rcens)~sind(nearma)+fsh(nearma)+fdr(nearma)+th1(nearma)+th2(nearma)+fp(cage)+fp(fint)+fp(tsb)+strata(rpa),data=nearma)
Thank you for your help,
Laura
2008 Oct 15
0
R-help Digest, Vol 67, Issue 31
...0318r7d7f7d80k9a4f54f7fc2f9e8d at mail.gmail.com>
Content-Type: text/plain
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 variable I cannot draw
a Kaplan-Meier curve. Instead I need to draw a plot of hazard against age.
How do I do this? I don't thi...