




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





Sarah Hamersma ECO 7427 Multinomial Models (based on Cameron and Trivedi, Ch. 15)
15.1 Intro
Multiple discrete mutually exclusive outcomes (ex. travel by bus, train, or car)
As w/binary models, the dgp is straightforward: in this case, the data must be multinomially distributed.
Different functional forms for the relevant probabilities generate logit & probit type estimators.
2 styles of models: those w/same regression value for all options and those where they vary. Ex. transport: travel cost will vary for different models
Simplest model: multinomial or conditional logit – has some strong assumptions
Additional models exist, especially when there is a natural ordering of alternatives or sequencing of decisions
15.2 Example: Fishing Modes (emphasis on interpretation)
4 choices: beach, pier, charter boat, private boat (use unordered model since there’s no clear ordering)
X’s: individual income (invariant across modes) “alternative-invariant” ⇒ multinominal logit (still allows coeffs to vary across alternatives)
price and catch rate (may vary) “alternative-specific” ⇒ conditional logit (coeffs same for all alternatives)
To include both, we need a “mixed logit” (BETTER!)
15.3 General Results
Introduce m binary variables
j
1 if y j y 0 if y j
(non zero for one of y 1 , y 2 , ym for each obs.)
Multinomial density for one observation;
1 2 m^ j
m (^) y y y y 1 2 m j j 1
For regr. models, introduce subscript:
choose F s.t. the probabilities are ∈ (0, 1)and (^) j j
Different choices of F correspond to all the different multinomial models
Likelihood f n′ for N independent observations is
ij N m (^) y N i i 1 j 1
= =
D log likelihood
N m ij ij i 1 j 1
y P = =
FOCs:
N m (^) ij ij
i 1 j 1 (^) ij
y P O β (^) = = P β
which is usually nonlinear in β.
Correct specification of the dgp means correct specification of Fj 2 cases of Multinomial Regression Models
(1) All regressors are alternative – varying
p ij = F (x ,j i β) = F (xj ′i1^ β, ⋅⋅⋅, x ′imβ) where β is the same across alternatives ex. conditional logit model
(2) All regressors are alternative-invariant
P ij = F (x ,j i β) = F (xj i ′β^1 , ⋅⋅⋅, xi ′βm ) where the β 's vary across alternatives. Identification requires a normalization such as β 1 = O. ex. multinomial logit model
FOCs:
N m ij ij i i 1 j 1
y (x x ) O = =
MNL ij ij ijk ik i ijk k
P 1 if j k P ( P )x where k 1, , m β 0 o/w
since it has a “k” and the derivative is wrt βk, it varies only by person
ij ij i jbus i bus i bus
P ( P )x β
ex. i train i train i bus i bus
P ( P )x β
i bus i bus i bus i bus
P (1 P )x β
FOCs:
N ik ik i i 1 (^) k
(y P )x O for k 1, , m =^ β
15.4.3 Regression Parameter Interpretation
Marginal effects: change in choice probability with a change in the regressor for a given individual
Elasticities: i(j) ij
(marg effect) x current regressor value P
Typically these are averaged over individuals.
CL: Consider the question: how does changing the value of a regressor for the kth alternative affect the prob. of choice j?
ex. travel time on bus changes by one minute. How does it affect Pr(train)?
ij ij ijk ik ik
P ( P )β x
If regr coefficient β is negative, then an increase in regressor value for kth alternative (bus) decreases Pi bus and increases all other (^) Pij.
So the sign of β is the sign of the effect of changing xik and Pik.
Avg. marg effect
N ij ijk ik r i 1
P ( P )β N (^) =
(regressor change for alternative k for regressor r moving)
See Table 15.3
MNL ij ij j i i i i
P (β β ) where β P β x
l
(prob. weighted avg. of β (^) l )
↑ Note: regressor isn’t alternative-specific
Key issues (1) sign of βjis not necessarily sign of response (only if β (^) j > βk ∀ k ≠j) (2) it doesn’t necessarily make sense to test β (^) j= O(since it is inherently a comparison to some particular category)
Avg. response:
N ij j i i 1
P (β β ) N (^) =
Note: for both methods, comparing to a base category can allow more direct logit-like interpretation of the coeffs. See pp. 502-503 for details. This is because the CL and MNL models can be written as a binary choice logit model b/w any pair of choices.
15.4.4 Independence of Irrelevant Alternatives (IIA)
This is a main reason that people decide against CL or MNL.
Because these methods reduce to a series of pairwise comparisons, they require us to assume that the characteristics of other options can’t affect the relationship b/w a given pair.
ex: 2 options: (1) car (2) red bus
This is assumed to be independent of whether there is, say, also a blue bus. However, we think the addition of a blue bus would likely affect Pred bus (negatively) but perhaps not Pcar. (i.e. it would increase the conditional probability of car use relative to red bus)
This weakness is known as the “red bus-blue bus” problem, or the IIA assumption.
Note that each piece of pjk looks essentially like a CL. Can also be adjusted to MNL style.
Estimation:
| 1 1 1 1 1
ln ln ln
N J N J K j ij ij ijk ik j i j i j k
L y p y p = = = = =
This often allows a better fit than CL b/c we allow ρj to vary.
Main limitation: Not all problems lend themselves to an obvious nesting structure. Can allow ρj outside of [0,1]; you can impose this limitation and see how much it hurts your log likelihood (if at all).
15.8 Multinomial Probit
MNP: Uj = Vj + εj j = 1, 2, ..., m where ε ~ N[0,Σ] where ε is [ε 1 ... εm]’
Usually Vj = xj’β or Vj = x’βj
Different MNP models may arise from different specifications of Σ. (Some off-diagonal entries are specified to be nonzero, but some restrictions need to be imposed for identification). MNP is ugly because there is no closed-form for the probabilities. To successfully apply MNP, more restrictions on Σ and β may be needed.
One model of errors is the “factor model” discussed in the text.
Estimation: it is hard, must be done w/ numerical integration or simulation methods
15.9 Ordered, Sequential, and Ranked Outcomes
If there is a natural ordering of alternatives, we can estimate a more straightforward and sensible model than the more general MNL, CL, or MNP. (ignoring the ordering is ignoring some useful info).
ex. 4 health outcomes: excellent, good, fair, poor ex. amount of religious attendance: 1 time per year, one time per month, 4 times per month
The starting point is the latent variable index model.
Model: Ordered probit (or logit – just substitute logistic distribution for normal)
y* = xβ + e, where e|x ~ N(0,1) and x doesn’t contain a constant
Let α 1 – αJ be unknown threshold parameters. The observed values of y will be:
y = 0 if y* < = α 1 y = 1 if α 1 < y* <= α 2 : y = J if y* > αJ
Note that this is just an extended version of a regular probit model. Response probabilities are:
P(y=0|x) = P(y* <= α 1 |x) = P(xβ + e <= α 1 |x) = P(e <= α 1 - xβ |x) = Φ(α 1 – xβ)
P(y=1|x) = P(α 1 < y* <= α 2 | x) = Φ(α 2 – xβ) – Φ(α 1 – xβ) : P(y=J |x) = P(y* > αJ |x) = 1 – Φ(αJ – xβ)
Note that the α’s are “intercepts” to be estimated. We estimate the α’s and β’s via MLE.
What are we interested in?
∂p 0 (x)/∂xk = - βk * φ(α 1 – xβ) ∂pj(x)/∂xk = βk * [φ(αj-1 – xβ) - φ(αj – xβ)] ∂pJ(x)/∂xk = βk * φ(αJ – xβ) Note that the direction of the partial effect is completely determined by β only for 0 and J.
The only way to talk about partial effects is to plug in a set of values for x and then vary the xk you are interested in.
In a case where there is numerical meaning to the values of y*, we can compare these partial effects to those found in, say, an OLS regression.
*** Choosing a model ***
CL, MNL: simple, but requires IIA assumption
Nested logit: good if data are of a nested structure
MNP: harder to estimate and can provide imprecise estimates w/o lots of structure imposed but NO IIA assumption.
Random parameters logit: we didn’t discuss, but it’s a useful generalization of CL or MNL (IO literature)