From: Li Xin on
The problem I am trying to apply multinomial logistic
regression has three outcomes.For each case,the response
would be one outcome among them.So the Y matrix would be
something like this:
0 0 1
1 0 0
0 0 1
0 1 0
....
Each line corresponds to one observation.
[b,dev,stats] = mnrfit(X, Y)...
X is the observation data.
I am not sure whether my implementation since I see the
solutions I obtained are somewhat weird.

Thank you for your response.