Fit the survival regression model with smoothed error distribution. This function is not to be called by the user.
smoothSurvReg.fit(x, z, y, offset = NULL, correctlik, init, controlvals, common.logscale)
A list with components regres, spline, loglik, aic,
degree.smooth, var, var2, dCdC,
iter, estimated, warning, fail, H, I, G, U
.
A covariate matrix.
A covariate matrix for log(scale).
A two- or three- column matrix with response. The last column
indicate the type of censoring. See Surv
for details.
A vector with possible offset term.
Correction term to the likelihood due to the log transformation of the response.
A list with components beta
, scale
, ccoef
giving the initial values for the fitting process.
A list returned by smoothSurvReg.control
.
Indicator (TRUE/FALSE) indicating whether the log-scale is same for all observations or whether it depends on covariates.
Arnošt Komárek arnost.komarek@mff.cuni.cz