I am currently trying to read through examples from http://www.ats.ucla.edu/stat/r/examples/asa/asa_ch1_r.htm. One of the models I saw was:
survreg( Surv(time, censor) ~ age, dist="exponential").
I know that for the case where there ISN'T a covariate (age
in this case), we have:
survreg( Surv(time, censor) ~ 1, dist="exponential")
, and the log-likelihood here is:
$l(\theta) = \log(\theta)-\theta t$.
Would anyone know how this log likelihood would change with a covariate? Thanks!