Displaying 3 results from an estimated 3 matches for "coxout".
Did you mean:
voxout
2008 Apr 29
2
Help on extract paramters from fitted models
Hi, I have a question about how to extract paramters from a fitted model. I
can extract coefficients and std, but from some other statistics, I dont
know how to extract. Can anyone help?
Here it is an example:
> coxout<-coxph(Surv(t,t.censor)~x)
> coxout
Call:
coxph(formula = Surv(t, t.censor) ~ x)
coef exp(coef) se(coef) z p
x 0.349 1.42 0.257 1.36 0.17
Likelihood ratio test=1.84 on 1 df, p=0.175 n= 200
> coxout$coef
x
0.3490500
> coxout$p
NULL
Any convienent way to ext...
2008 Apr 28
1
question on prediction in coxph
Hi, thank you all for those who helped me on prediction of newdata for
linear model,
it is my new question on the prediction of coxph for newdata, for example,
i have the model:
coxout<-coxph( Surv(time, status) ~ x
predict(coxout) will give the fitted values
I have tried predict(coxout, newdata), it still gave me the fitted values
only.
Can anyone hlep me on how to do prediction for coxph? thank you very much!
Lisa
[[alternative HTML version deleted]]
2008 Apr 29
1
AIC extract and comparison
...IC method to campare the best fitted model
manually.
When i extract AIC by using extractAIC, it gave me the df and AIC values.
Now the problem is, how can I compare the AIC values from two models?
is there anyway to extract AIC with no df so that I can compare directly?
Thank you!
> extractAIC(coxout)
[1] 1.000 1723.038
[[alternative HTML version deleted]]