Categorical predictors in coxphfit
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!