coxph & fitted.values

103 views
Skip to first unread message

Christel FAES

unread,
Oct 8, 2021, 8:32:26 AM10/8/21
to R-inla discussion group
Dear all, 

I have a questions related to the coxph model in INLA and the fitted values.   

I do make use of the following code to fit the semi-parameteric Cox proportional hazards model:

 surv<-inla.surv(time, delta)
 survival.inla <- inla(surv ~ 1 + X, 
                          data = data.survival, family = "coxph",
                          control.predictor = list(link = 1))

In my data, there are 229 observations.   The dimension of  survival.inla$summary.fitted.values takes another dimension, nl it has 788 rows.  

Can anyone explain what the fitted values are in case of the specified coxph model?

Thanks so much

Kind regards,
Christel


Helpdesk

unread,
Oct 8, 2021, 9:05:50 AM10/8/21
to Christel FAES, R-inla discussion group
INLA expand coxph into a poisson regression problem, and it is in this
context you have to understand the results. the reference is here:

https://onlinelibrary.wiley.com/doi/full/10.1111/j.1467-9469.2010.00715.x


On Fri, 2021-10-08 at 05:32 -0700, 'Christel FAES' via R-inla discussion
> --
> You received this message because you are subscribed to the Google
> Groups "R-inla discussion group" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to r-inla-discussion...@googlegroups.com.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/r-inla-discussion-group/d1314684-5e99-4a2d-a703-1f9741aeb0e2n%40googlegroups.com
> .

--
Håvard Rue
he...@r-inla.org

Reply all
Reply to author
Forward
0 new messages