CoxModel_Year: Fitting a proportional hazard relative survival model with...

Description Usage Arguments Value

View source: R/CoxFit.R

Description

Fitting a proportional hazard relative survival model with year as a covariate

Usage

1

Arguments

formula

an object of class "formula": a symbolic description of the model to be fitted. If the input data is from SEER*Stat, the formula can be ~Year. Otherwise, the full formula should be specified as: ~Alive_at_Start + Died + Lost_to_Followup + Expected_Survival_Interval + Interval + Year

data

an optional data frame, list or environment (or object coercible by as.data.frame to a data frame) containing the variables in the model. If not found in data, the variables are taken from environment(formula).

subset

an optional vector specifying a subset of observations to be used in the fitting process.

...

additional arguments to be passed to the low level regression fitting functions.

Value

A list with attributes:

coefficients

a named vector of coefficients and standard errors

converged

convergence status

predicted

the fitted relative survival rates

xbeta

the linear predictor

ll

log likelihood

aic

AIC

bic

BIC


JPSurv documentation built on May 30, 2017, 7:55 a.m.

Related to CoxModel_Year in JPSurv...