MATLAB Answers

Categorical predictors in coxphfit

6 views (last 30 days)
Alexis Moscoso Rial
Alexis Moscoso Rial on 26 Nov 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.

  0 Comments

Sign in to comment.

Answers (0)

Tags