Learn R Programming

eha (version 2.4-4)

phreg.fit: Parametric proportional hazards regression

Description

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

Usage

phreg.fit(X, Y, dist, strata, offset, init, shape, control, center = NULL)

Arguments

X
The design (covariate) matrix.
Y
A survival object, the response.
dist
Which baseline distribution?
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.
control
Controls convergence and output.
center
Deprecated (not used). Kept for backward copability. Results are reported as is, no centering.

Value

Details

See phreg for more detail.

See Also

phreg