This function is called by weibreg
, but it can also be
directly called by a user.
weibreg.fit(X, Y, strata, offset, init, shape, control, center = TRUE)
Estimated regression coefficients plus estimated scale and shape coefficients, sorted by strata, if present.
Vector of length 2. The first component is the maximized loglihood with only scale and shape in the model, the second the final maximum.
Score test statistic at initial values
Linear predictors for each interval.
Means of the covariates
TRUE if convergence
TRUE if failure
Number of Newton-Raphson iterates.
The number of strata in the data.
The design (covariate) matrix.
A survival object, the response.
A stratum variable.
Offset.
Initial regression parameter values.
If positive, a fixed value of the shape parameter in the Weibull distribution. Otherwise, the shape is estimated.
Controls convergence and output.
Should covariates be centered?
Göran Broström
See weibreg
for more detail.
weibreg