Categorical predictors in coxphfit

1 visualización (últimos 30 días)
Alexis Moscoso Rial
Alexis Moscoso Rial el 26 de Nov. de 2018
Dear Matlab developers,
I'm trying to fit a Cox proportional hazards model with some continous and categorical predictors. However, only "double" data type is allowed for the predictor matrix. How can I enter categorical predictors? Do I have to create my own dummy variables?
Cheers.

Respuestas (0)

Categorías

Más información sobre Dimensionality Reduction and Feature Extraction en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by