Multinomial logistic regression with categorical predictors

조회 수: 9 (최근 30일)
David McVea
David McVea 2016년 7월 13일
댓글: Nirosha Rathnayake 2017년 2월 9일
Hello,
I have (I hope) a relatively straight-forward question. I would like to use a multinomial logistic regression to predict a categorical outcome. However, I also have categorical predictors. The documentation for mnrfit doesn't seem to address categorical inputs. Is there a way to do this?
Thanks.
  댓글 수: 1
Nirosha Rathnayake
Nirosha Rathnayake 2017년 2월 9일
Hello David, have you figure out this problem. I am also trying to work on this. Multinomial logistic regression with categorical predictors when the predictor has more than 2 categories. might have to use dummy variables (k-1) if a predictor has k categories. Which mean we should have k-1 coefficients (k-1 beta values) in the model, taking one category as a reference category. Please let me know if you have any other comments or ideas on using categorical predictors in multinomial logistic regression. Thanks.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Support Vector Machine Regression에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by