why multinom() predicts a lot of rows of probabilities for each level of outcome?
问题 I have a moltinomial logistic regression and the outcome variable has 6 levels: 10,20,60,70,80,90 test<-multinom(y ~ x1 + x2 + as.factor(x3) ,data=data1) I want to predict the probabilities associate with each level of y for each set of given input values. So I run this: dfin <- data.frame( ses = c(10,20,60,70,80,90), x1=2.1, x2=4, x3=40) predict(test, todaydata = dfin, type = "probs") But instead of getting 6 probabilities (one for each level of outcome), I got many many rows of