Multinomial Logistic Regression

"Multinomial regression is much similar to logistic regression but is applicable when the response variable is a nominal categorical variable with more than 2 levels."

Multinomial logistic regression can be implemented using mlogit() from mlogit package and multinom() from nnet package.

library (nnet)
inputData$multCatResponse <- relevel(inputData$multCatResponse, ref = "first_level") # (optional) re-order the response variable, 'first_level' will become the first level, all others will be pushed down.
multinomModel <- multinom(multCatResponse ~ pred1 + pred2, data=inputData) # multinom Model
summary (multinomModel) # model summary
predict (multinomModel, newdata, "probs") # predict on new data

If you like us, please tell your friends.Share on LinkedInShare on Google+Share on RedditTweet about this on TwitterShare on Facebook