Usage
phfunc(beta = NULL, lambda, p, X = NULL, Y, offset = rep(0, length(Y)),
ord = 2, pfixed = FALSE, dist = "weibull")
Arguments
beta
Regression parameters
lambda
The scale paramater
X
The design (covariate) matrix.
Y
The response, a survival object.
ord
ord = 0 means only loglihood, 1 means score vector as well,
2 loglihood, score and hessian.
pfixed
Logical, if TRUE the shape parameter is regarded as a known
constant in the calculations, meaning that it is not cosidered in the
partial derivatives.
dist
Which distribtion? The default is "weibull", with the
alternatives "loglogistic" and "lognormal".