Fit proportional hazard model with smooth baseline hazard and (optional) interval censoring
fitit(
Y,
R,
dead,
X,
B,
Ic,
R1,
cbx,
Pdiff,
Pridge,
lambda,
nit = 50,
tol = 1e-06,
tollam = 0.01,
update_lambda = FALSE,
ic_update = TRUE,
monitor = FALSE
)
A list with items
Vector of
Poisson GLM log-likelihood
Final tuning parameter
Penalty part of penalized log-likelihood
Effetive dimension of the baseline hazard
Number of iterations used in first phase
Total number of iterations used (first plus second phase)
Tolerance used for switching to lambda update
Events (matrix, number of bins by subjects)
Risk sets (matrix, number of bins by subjects)
(Boolean vector, TRUE if event, FALSE if right censored)
Covariates (matrix, number of covariates (+1) by subjects)
B-spline basis matrix
Censoring interval per individual, coded as 0/1 (in columns)
Left truncation interval per individual, coded as 0/1 (in columns)
Vector of starting values
B-spline part of penalty matrix
Ridge part of penalty matrix (for intercept)
Smoothing parameter (number)
Maximum number of iterations (integer)
Tolerance for final fit
Tolerance for switching to lambda update
Automatic update of lambda (Boolean)
Update risk and event probabilities (Boolean)
Monitor convergence (Boolean)