This function is called by aftreg
, but it can also be directly
called by a user.
aftreg.fit(X, Y, dist, param, strata, offset, init, shape, id, control, pfixed)
Estimated regression coefficients plus estimated scale and shape coefficients, sorted by strata, if present.
Degrees of freedom; No. of regression parameters.
Variance-covariance matrix
Vector of length 2. The first component is the maximized loglihood with only scale and shape in the model, the second the final maximum.
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.
Which baseline distribution?
Which parametrization?
A stratum variable.
Offset.
Initial regression parameter values.
If positive, a fixed value of the shape parameter in the distribution. Otherwise, the shape is estimated.
See corresponding argument to aftreg
.
Controls convergence and output.
A logical indicating fixed shape parameter(s).
Göran Broström
See aftreg
for more detail.
aftreg