| weibreg.fit | R Documentation | 
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)
X | 
 The design (covariate) matrix.  | 
Y | 
 A survival object, the response.  | 
strata | 
 A stratum variable.  | 
offset | 
 Offset.  | 
init | 
 Initial regression parameter values.  | 
shape | 
 If positive, a fixed value of the shape parameter in the Weibull distribution. Otherwise, the shape is estimated.  | 
control | 
 Controls convergence and output.  | 
center | 
 Should covariates be centered?  | 
See weibreg for more detail.
coefficients | 
 Estimated regression coefficients plus estimated scale and shape coefficients, sorted by strata, if present.  | 
var | 
|
loglik | 
 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 | 
 Score test statistic at initial values  | 
linear.predictors | 
 Linear predictors for each interval.  | 
means | 
 Means of the covariates  | 
conver | 
 TRUE if convergence  | 
fail | 
 TRUE if failure  | 
iter | 
 Number of Newton-Raphson iterates.  | 
n.strata | 
 The number of strata in the data.  | 
Göran Broström
weibreg
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.