Learn R Programming

eha (version 2.4-4)

aftreg.fit: Parametric proportional hazards regression

Description

This function is called by aftreg, but it can also be directly called by a user.

Usage

aftreg.fit(X, Y, dist, param, strata, offset, init, shape, id, control, pfixed)

Arguments

X
The design (covariate) matrix.
Y
A survival object, the response.
dist
Which baseline distribution?
param
Which parametrization?
strata
A stratum variable.
offset
Offset.
init
Initial regression parameter values.
shape
If positive, a fixed value of the shape parameter in the distribution. Otherwise, the shape is estimated.
id
See corresponding argument to aftreg.
control
Controls convergence and output.
pfixed
A logical indicating fixed shape parameter(s).

Value

Details

See aftreg for more detail.

See Also

aftreg