Est.PH: Derivation of a risk score by a Cox proportioal hazarzs model
Description
Provides risk score by fitting data to a Cox's proportional hazards model with a given set of predictors.
Usage
Est.PH(mydata)
Arguments
mydata
Input data. The 1st column should be time-to-event, and the 2nd column is event indicator (1=event, 0=censor). The rest of the columns are covariates/predictors used in the model. No character variable or missing is allowed.
Value
beta
Estimates for regression coefficient in the Cox model