| CoxModel | R Documentation |
Cox-Beta Model for Case-Based-Reasoning
Cox-Beta Model for Case-Based-Reasoning
Regression beta coefficients obtained from a CPH regression model fitted on the training data are used for building a weighted distance measure between train and test data. Afterwards, we will use these weights for calculating a (n x m)-distance matrix, where n is the number of observations in the training data, and m is the number of observations of the test data. The user can use this distance matrix for further cluster analysis or for extracting for each test observation k (= 1,...,l) similar cases from the train data. We use the rms-package for model fitting, variable selection, and checking model assumptions. If the user omits the test data, this functions returns a n x n-distance matrix.
CaseBasedReasoning::CBRBase -> CaseBasedReasoning::RegressionModel -> CoxModel
modelthe statistical model
model_paramsrms arguments
check_ph()Check proportional hazard assumption graphically
CoxModel$check_ph()
clone()The objects of this class are cloneable with this method.
CoxModel$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.