Categorical predictors in coxphfit

2 ビュー (過去 30 日間)
Alexis Moscoso Rial
Alexis Moscoso Rial 2018 年 11 月 26 日
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 件)

カテゴリ

Help Center および File ExchangeModel Building and Assessment についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by