<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.formulasearchengine.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=202.20.193.254</id>
	<title>formulasearchengine - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://en.formulasearchengine.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=202.20.193.254"/>
	<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/wiki/Special:Contributions/202.20.193.254"/>
	<updated>2026-05-02T01:10:10Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0-wmf.28</generator>
	<entry>
		<id>https://en.formulasearchengine.com/index.php?title=Isomap&amp;diff=20879</id>
		<title>Isomap</title>
		<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/index.php?title=Isomap&amp;diff=20879"/>
		<updated>2013-11-25T06:55:31Z</updated>

		<summary type="html">&lt;p&gt;202.20.193.254: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Regression bar}}&lt;br /&gt;
{{Expert-subject|date=February 2009}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Mixed logit&#039;&#039;&#039; is a fully general statistical model for examining [[Discrete Choice|discrete choices]]. The motivation for the mixed logit model arises from the limitations of the standard [[Discrete Choice#F._Logit_with_variables_that_vary_over_alternatives_(also_called_conditional_logit)|logit]] model. The standard logit model has three primary limitations, which mixed logit solves: &amp;quot;It [Mixed Logit] obviates the three limitations of standard logit by allowing for random taste variation, unrestricted substitution patterns, and correlation in unobserved factors over time.&amp;quot;&amp;lt;ref name=dca&amp;gt;[http://elsa.berkeley.edu/choice2/ch6.pdf Train, K. (2003) Discrete Choice Methods with Simulation]&amp;lt;/ref&amp;gt; Mixed logit can also utilize any distribution for the random coefficients, unlike probit which is limited to the normal distribution. It has been shown that a mixed logit model can approximate to any degree of accuracy any true random utility model of discrete choice, given an appropriate specification of variables and distribution of coefficients.&amp;quot;&amp;lt;ref name=mt-mnl&amp;gt;[[Daniel McFadden|McFadden, D.]] and [[Kenneth E. Train|Train, K.]] (2000). “[http://elsa.berkeley.edu/wp/mcfadden1198/mcfadden1198.pdf Mixed MNL Models for Discrete Response],” Journal of Applied Econometrics, Vol. 15, No. 5, pp. 447-470,&amp;lt;/ref&amp;gt; The following discussion draws from [http://elsa.berkeley.edu/choice2/ch6.pdf Ch. 6] of [http://elsa.berkeley.edu/choice2/index.html Discrete Choice Methods with Simulation], by [[Kenneth E. Train|Kenneth Train]] ([[Cambridge University Press]]), to which the reader is referred for more details and citations. See also the article on [[discrete choice]] for information on how the mixed logit relates to discrete choice analysis in general and to other specific types of choice models.&lt;br /&gt;
&lt;br /&gt;
==Random taste variation==&lt;br /&gt;
&lt;br /&gt;
The standard logit model&#039;s &amp;quot;taste&amp;quot; cofficients, or &amp;lt;math&amp;gt; \beta &amp;lt;/math&amp;gt;&#039;s, are fixed, which means the &amp;lt;math&amp;gt; \beta &amp;lt;/math&amp;gt;&#039;s are the same for everyone. Mixed logit has different &amp;lt;math&amp;gt; \beta &amp;lt;/math&amp;gt;&#039;s for each person (i.e., each decision maker.)&lt;br /&gt;
&lt;br /&gt;
In the standard logit model, the utility of person n for alternative i is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; U_{ni} = \beta x_{ni} + \varepsilon_{ni} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \varepsilon_{ni} &amp;lt;/math&amp;gt;  ~ iid extreme value&lt;br /&gt;
&lt;br /&gt;
For the mixed logit model, this specification is generalized by allowing &amp;lt;math&amp;gt; \beta_n &amp;lt;/math&amp;gt; to be random. The utility of person n for alternative i in the mixed logit model is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; U_{ni} = \beta_n x_{ni} + \varepsilon_{ni} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \varepsilon_{ni} &amp;lt;/math&amp;gt;  ~ iid extreme value&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \quad \beta_n \sim f(\beta_n | \theta) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;θ&#039;&#039; are the parameters of the distribution of &amp;lt;math&amp;gt; \beta_n &amp;lt;/math&amp;gt;&#039;s over the population, such as the mean and variance of &amp;lt;math&amp;gt; \beta_n &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Conditional on &amp;lt;math&amp;gt;\beta_n&amp;lt;/math&amp;gt;, the probability that person n chooses alternative i is the standard logit formula:&lt;br /&gt;
:&amp;lt;math&amp;gt; L_{ni} (\beta_{n}) = \frac{e^{\beta_{n}X_{ni}}} {\sum_{j} e^{\beta_{n}X_{nj}}} &amp;lt;/math&amp;gt;&lt;br /&gt;
However, since &amp;lt;math&amp;gt;\beta_n&amp;lt;/math&amp;gt; is random and not known, the (unconditional) choice probability is the integral of this logit formula over the density of &amp;lt;math&amp;gt;\beta_n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; P_{ni} = \int L_{ni} (\beta) f(\beta | \theta) d\beta &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This model is also called the random coefficient logit model since &amp;lt;math&amp;gt; \beta_n&amp;lt;/math&amp;gt; is a random variable. It allows the slopes of utility (i.e., the marginal utility) to be random, which is an extension of the [[random effects model]] where only the intercept was stochastic.&lt;br /&gt;
&lt;br /&gt;
Any [[probability density function]] can be specified for the distribution of the coefficients in the population, i.e., for &amp;lt;math&amp;gt;f(\beta_n | \theta) &amp;lt;/math&amp;gt;. The most widely used distribution is normal, mainly for its simplicity. For coefficients that take the same sign for all people, such as a price coefficient that is necessarily negative or the coefficient of a desirable attribute, distributions with support on only one side of zero, like the lognormal, are used.&amp;lt;ref name=&amp;quot;rt&amp;quot;&amp;gt;David Revelt and [[Kenneth E. Train|Train, K]] (1998). &amp;quot;[http://www.jstor.org/stable/pdfplus/2646846.pdf Mixed Logit with Repeated Choices: Households&#039; Choices of Appliance Efficiency Level],&amp;quot; Review of Economics and Statistics, Vol. 80, No. 4, pp. 647-657&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;rec&amp;quot;&amp;gt;[[Kenneth E. Train|Train, K]] (1998).&amp;quot;[http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.27.4879 Recreation Demand Models with Taste Variation],&amp;quot; Land Economics, Vol. 74, No. 2, pp. 230-239.&amp;lt;/ref&amp;gt; When coefficients cannot logically be unboundedly large or small, then bounded distributions are often used, such as the &amp;lt;math&amp;gt; S_b &amp;lt;/math&amp;gt; or triangular distributions.&lt;br /&gt;
&lt;br /&gt;
==Unrestricted substitution patterns==&lt;br /&gt;
&lt;br /&gt;
The mixed logit model can represent general substitution pattern because it does not exhibit logit&#039;s restrictive [[independence of irrelevant alternatives]] (IIA) property. The percentage change in the probability for one alternative given a percentage change in the &#039;&#039;m&#039;&#039;th attribute of another alternative is&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; E_{nix_{nj}^m} = -\frac{x_{nj}^m} {P_{ni}} \int \beta^m L_{ni}(\beta) L_{nj}(\beta) f(\beta) d \beta = - x_{nj}^m \int \beta^m L_{nj} (\beta) \frac{L_{ni} (\beta)} {P_{ni}} f(\beta) d \beta &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;β&#039;&#039; &amp;lt;sup&amp;gt; &#039;&#039;m&#039;&#039; &amp;lt;/sup&amp;gt; is the &#039;&#039;m&#039;&#039;th element of &amp;lt;math&amp;gt; \beta &amp;lt;/math&amp;gt;.&amp;lt;ref name=&amp;quot;dca&amp;quot;&amp;gt;Train, Kenneth&amp;lt;/ref&amp;gt;  It can be seen from this formula that &amp;quot;A ten-percent reduction for one alternative need not imply (as with logit) a ten-percent reduction in each other alternative.&amp;quot;&amp;lt;ref name=&amp;quot;dca&amp;quot;/&amp;gt; The relative percentages depend on correlation between the likelihood that respondent n will choose alternative i, &#039;&#039;L &amp;lt;sub&amp;gt; ni &amp;lt;/sub&amp;gt;&#039;&#039;, and the likelihood that respondent n will choose alternative j,  &#039;&#039;L &amp;lt;sub&amp;gt; nj &amp;lt;/sub&amp;gt;&#039;&#039;, over various draws of &#039;&#039;β&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Correlation in unobserved factors over time==&lt;br /&gt;
&lt;br /&gt;
Standard logit does not take into account any unobserved factors that persist over time for a given decision maker. This can be a problem if you are using panel data, which represent repeated choices over time. By applying a standard logit model to panel data you are making the assumption that the unobserved factors that affect a person&#039;s choice are new every time the person makes the choice. That is a very unlikely assumption. To take into account both random taste variation and correlation in unobserved factors over time, the utility for respondent n for alternative i at time t is specified as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; U_{nit} = \beta_{n} X_{nit} + \varepsilon_{nit} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the subscript t is the time dimension. We still make the logit assumption which is that &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is i.i.d extreme value. That means that &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is independent over time, people, and alternatives. &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is essentially just white noise. However, correlation over time and over alternatives arises from the common effect of the &amp;lt;math&amp;gt; \beta &amp;lt;/math&amp;gt;&#039;s, which enter utility in each time period and each alternative.&lt;br /&gt;
&lt;br /&gt;
To examine the correlation explicitly, assume that the &#039;&#039;β&#039;&#039; &#039;s are normally distributed with mean &amp;lt;math&amp;gt;\bar{\beta}&amp;lt;/math&amp;gt; and variance &amp;lt;math&amp;gt; \sigma^2 &amp;lt;/math&amp;gt;. Then the [[utility]] equation becomes:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; U_{nit} = (\bar{\beta} + \sigma \eta_{n}) X_{nit} + \varepsilon_{nit} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and &#039;&#039;η&#039;&#039; is a draw from the standard normal density. Rearranging, the equation becomes:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; U_{nit} = \bar{\beta} X_{nit} + (\sigma \eta_{n} X_{nit} + \varepsilon_{nit}) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; U_{nit} = \bar{\beta} X_{nit} + e_{nit} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the unobserved factors are collected in &amp;lt;math&amp;gt;  e_{nit} = \sigma \eta_{n} X_{nit} + \varepsilon_{nit} &amp;lt;/math&amp;gt;. Of the unobserved factors, &amp;lt;math&amp;gt;\varepsilon_{nit}&amp;lt;/math&amp;gt; is independent over time, and &amp;lt;math&amp;gt; \sigma \eta_{n} X_{nit} &amp;lt;/math&amp;gt; is not independent over time or alternatives.&lt;br /&gt;
&lt;br /&gt;
Then the covariance between alternatives &amp;lt;math&amp;gt; i &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; j &amp;lt;/math&amp;gt; is,&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; Cov(e_{nit}, e_{njt}) = \sigma^2 (X_{nit} X_{njt}) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the covariance between time &amp;lt;math&amp;gt; t &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; q &amp;lt;/math&amp;gt; is&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; Cov(e_{nit}, e_{niq}) = \sigma^2 (X_{nit} X_{niq}) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By specifying the X&#039;s appropriately, one can obtain any pattern of covariance over time and alternatives.&lt;br /&gt;
&lt;br /&gt;
Conditional on  &amp;lt;math&amp;gt; \beta_n &amp;lt;/math&amp;gt;, the probability of the sequence of choices by a person is simply the product of the logit probability of each individual choice by that person:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; L_{n} (\beta_{n}) = \prod_{t} \frac{e^{\beta_{n}X_{nit}}} {\sum_{j} e^{\beta_{n}X_{njt}}} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
since &amp;lt;math&amp;gt; \varepsilon_{nit} &amp;lt;/math&amp;gt; is independent over time. Then the (unconditional) probability of the sequence of choices is simply the integral of this product of logits over the density of &amp;lt;math&amp;gt; \beta &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; P_{ni} = \int L_{n} (\beta) f(\beta | \theta) d\beta &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Simulation==&lt;br /&gt;
&lt;br /&gt;
Unfortunately there is no closed form for the integral that enters the choice probability, and so the researcher must simulate P&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;. Fortunately for the researcher, simulating  P&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; can be very simple. There are four basic steps to follow&lt;br /&gt;
&lt;br /&gt;
1. Take a draw from the probability density function that you specified for the &#039;taste&#039; coefficients. That is, take a draw from &amp;lt;math&amp;gt; f(\beta | \theta) &amp;lt;/math&amp;gt; and label the draw &amp;lt;math&amp;gt;\beta^r&amp;lt;/math&amp;gt;, for &amp;lt;math&amp;gt;r=1&amp;lt;/math&amp;gt; representing the first draw.&lt;br /&gt;
&lt;br /&gt;
2. Calculate &amp;lt;math&amp;gt;L_n(\beta^r)&amp;lt;/math&amp;gt;. (The conditional probability.)&lt;br /&gt;
&lt;br /&gt;
3. Repeat many times, for &amp;lt;math&amp;gt;r=2,...,R&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
4. Average the results&lt;br /&gt;
&lt;br /&gt;
Then the formula for the simulation look like the following,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \tilde{P}_{ni} = \frac {\sum_{r} L_{n}(\beta^r)} {R} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where R is the total number of draws taken from the distribution, and r is one draw.&lt;br /&gt;
&lt;br /&gt;
Once this is done you will have a value for the probability of each alternative i for each respondent n.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&lt;br /&gt;
{{DEFAULTSORT:Mixed Logit}}&lt;br /&gt;
[[Category:Statistical models]]&lt;/div&gt;</summary>
		<author><name>202.20.193.254</name></author>
	</entry>
</feed>