Multinomial logistic regression: Difference between revisions

Content deleted Content added
Line 100:
 
: <math>
\ln \Pr(Y_i=k) = \boldsymbol\beta_k \cdot \mathbf{X}_i - \ln Z \;\;\;\;,\;\;k \le K.
</math>.
 
As in the binary case, we need an extra term <math>- \ln Z</math> to ensure that the whole set of probabilities forms a [[probability distribution]], i.e. so that they all sum to one: