Docsity

Limited and Qualitative Dependent Variable Models - Notes | ECON 5360, Study notes of Economic Theory

Toggle sidebar
bg1
ECON 5350 Class Notes
Chapter 21-22. Limited and Qualitative Dependent Variable Models
1 Qualitative Dependent Variable Models
In this section, we consider models where the dependent variable is discrete in nature. This includes
qualitative choices such as mode of transportation (e.g., car, bus, train, walk, etc.); get married or stay
single; teacher evaluations; number of times attending church in a year, etc.
1.1 Linear Probability Model
Consider the linear probability (LP) model
yi=0xi+i
where E(i) = 0. The conditional expectation
E(yijxi) = 0xi
is interpreted as the probability of an event occurring given xi. There are a couple of drawbacks to the LP
model that limits its use:
1. Heteroscedasticity. Given that yi=f0;1g, the error term can take on two values with probability
if(i)
10xi0xi
0xi10xi
so that the variance is
var(i) = 0xi(1 0xi)2+ (1 0xi)(0xi)2
=0xi(1 0xi)
=E(yi)[1 E(yi)]:
2. Predictions outside [0,1]. The predicted probabilities from the LP model, ^yi=0xi, can be less than
zero and greater than one.
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe

Partial preview of the text

Download Limited and Qualitative Dependent Variable Models - Notes | ECON 5360 and more Study notes Economic Theory in PDF only on Docsity!

ECON 5350 Class Notes

Chapter 21-22. Limited and Qualitative Dependent Variable Models

1 Qualitative Dependent Variable Models

In this section, we consider models where the dependent variable is discrete in nature. This includes qualitative choices such as mode of transportation (e.g., car, bus, train, walk, etc.); get married or stay single; teacher evaluations; number of times attending church in a year, etc.

1.1 Linear Probability Model

Consider the linear probability (LP) model

yi = 0 xi + i

where E(i) = 0. The conditional expectation

E(yijxi) = 0 xi

is interpreted as the probability of an event occurring given xi. There are a couple of drawbacks to the LP model that limits its use:

  1. Heteroscedasticity. Given that yi = f 0 ; 1 g, the error term can take on two values with probability

i f (i) 1 0 xi 0 xi 0 xi 1 0 xi so that the variance is

var(i) = 0 xi(1 0 xi)^2 + (1 0 xi)( 0 xi)^2 = 0 xi(1 0 xi) = E(yi)[1 E(yi)]:

  1. Predictions outside [0,1]. The predicted probabilities from the LP model, y^i = 0 xi, can be less than zero and greater than one.

1.2 Binomial Probit and Logit Models

The drawbacks of the LP model are solved by letting the probability of an event (i.e., y = 1) be given by a well-deÖned cumulative density function

P rob(yi = 1jx) =

Z (^) x 0 1^ f^ (t)dt^ =^ F^ (x

In this manner, the predicted probabilities will always be bounded between zero and one. If F (x^0 ) is the cdf for a standard normal random variable, we get the probit model. If

F (x^0 ) = e

x^0 1 + ex^0 ;

then we get the logit model. Estimates from the logit and probit models often give similar results. The logit model is less computationally intense because F (x^0 ) has a closed form, however, the logistic pdf f () has fatter tails than the standard normal pdf. Because yi = f 0 ; 1 g is discrete, while (1) implies continuity, we replace yi with the latent variable y i. This produces

y i = 0 xi + i.

y i can be interpreted as an unobservable index function that measures individual iís propensity to choose y = 1. For example, y i could be the net beneÖts (beneÖts less costs) of selecting option A. Alternatively, y i could be interpreted as the di§erence in utility derived from choosing option A less the utility of choosing option B. Therefore, we assume

if y i > 0 then yi = 1 if y i  0 then yi = 0.

The choice of zero as a threshold is innocuous if the vector xi includes a constant term.

1.2.1 Estimation

The parameters of the model are estimated via maximum likelihood. The relevant probability can be written as P rob(yi = 1jx) = P rob(y i > 0 jx) = P rob( 0 xi + i > 0 jx) = P rob(i > 0 xijx):

Assuming a symmetric, mean-zero pdf for i, we have

P rob(i > 0 xijx) = P rob(i < 0 xijx):

1.2.3 Goodness of Fit

Unfortunately, the standard R^2 measure of goodness of Öt does not have the same interpretation (i.e., percentage of variation in Y explained by the variation in X) in binary choice models. Many alternatives have been suggested, of which a few are:

 McFaddenís pseudo R^2. This measure,

R^ ~^2 = 1 ln ln^ LLU R^ ; is bounded between zero and one but is di¢ cult to interpret between the limits. It is not uncommon to see low R~^2 values (e.g., less than 0.25) for models that seemingly explain the data well.  Likelihood ratio statistic. The standard likelihood ratio statistic is

LR = 2(ln LR ln LU )

and is asymptotically distributed chi-square.  Table of hits and misses. In the binary case, a 2 x 2 table can be created to summarize the number of correct and incorrect predictions. Typically, predicted probabilities greater than 0.5 (i.e., (^^0 xi) > 0 : 5 ) are associated with y^i = 1. The main diagonal gives the number of correct predictions and the o§-diagonal gives the number of incorrect predictions.

1.2.4 Fixed and Random E§ects Models for Panel Data

Sometimes we may have a panel of cross sectional - time series data intended to explain a single binary choice. Consider the following extension of the binary models above

y it = x^0 it + i + it yit = 1 if y it > 0 :

As before, whether we treat i as a Öxed or random e§ect depends upon the correlation (or lack thereof) between xit and i. Both Öxed and random e§ects versions of this binary choice model are available. However, there are additional complications above and beyond the standard quantitative dependent-variable cases. In particular, in the RE case, the likelihood function will involve integration over the i and, in the FE case, it is not possible to remove the Öxed-e§ects term i by subtracting group means. See section 21.5. in Greene for more details.

1.2.5 Bivariate Probit Model

The bivariate binary choice model takes the (SUR-like) form

y 1  = x^01 1 +  1 y 2  = x^02 2 +  2

where E( 1 ) = E( 2 ) = 0 and

var() = var[( 1  2 )^0 ] = E(^0 ) =

As before, y 1  and y 2 are unobserved index functions such that

y 1 = 1 if y 1  > 0 and y 1 = 0 otherwise; y 2 = 1 if y 2  > 0 and y 2 = 0 otherwise.

There are four possible outcomes in the binary case. For example, the probability that yi 1 = yi 2 = 0 is

P 00 = P rob(y 1 i = 0; y 2 i = 0jx 1 ; x 2 ) =

Z (^) x^01

Z (^) x^02 1^ (^1 ; ^2 ;^ )d^1 d^2

where ( 1 ;  2 ; ) represents the bivariate pdf. If ( 1 ;  2 ; ) is speciÖed as the bivariate normal pdf, then we have the bivariate probit model. The log likelihood function is

ln L( 1 ; 2 ; ) = X y 1 =0;y 2 =

ln Pi; 00 + X y 1 =1;y 2 =

ln Pi; 10 + X y 1 =0;y 2 =

ln Pi; 01 + X y 1 =1;y 2 =

ln Pi; 11

which is maximized through nonlinear optimization methods by choosing  = ( 1 ; 2 ; ). A potentially useful test is the Lagrange multiplier test to see whether  = 0 so that the probit models can be estimated separately (see Greene section 21.6.2). Marginal e§ects can be calculated (although they are a bit more complicated than the univariate probit case) and the delta method can be used to calculate standard errors.

1.3 Multinomial (Unordered) Logit

Consider explaining J di§erent unordered choices (e.g., religion choice ñProtestant, Catholic, Islam, Hindu, etc.). The multinomial logit model is derived by letting

P rob(yi = j) = exp(^

(^0) j xi) PJ k=1 exp(^0 kxi)

can be nested by Örst considering the choice of community and then the choice of housing type, conditional on the chosen community. See section 21.7.4 in Greene for more details.

1.4 Ordered Probit

Consider the following index function model

y i = 0 xi + i

used to explain the ordered choices yi = f 1 ; 2 ; :::; mg. One example is choice of educational level, such as high school degree (yi = 1), undergraduate degree (yi = 2) or graduate degree (yi = 3). We assume that

if y i < 1 then yi = 1 if 1 < y i < 2 then yi = 2 if 2 < y i < 3 then yi = 3 ...

if y i > (^) m 1 then yi = m

where the (^) j are the threshold values for j = 1; 2 ; :::; m 1. Probabilities are given by

P 1 = ( 1 0 xi) P 2 = ( 2 0 xi) ( 1 0 xi) P 3 = ( 3 0 xi) ( 2 0 xi) ... Pm = 1 Xm j=1^1 Pj :

The likelihood function is given by

L( ) =

" Y

yi=

P 1 ;i

# " Y

yi=

P 2 ;i

" Y

yi=m

Pm;i

Maximum likelihood estimates are found by taking natural logs of (5) and then maximizing by choosing. Note that although there are m di§erent choices, there is only a single coe¢ cient vector. The ordered probit model results if i is speciÖed as the standard normal cdf. Again, this will result in a nonlinear optimization problem.

1.5 Count Data

Count data refers to a dependent variable yi that takes on values from the set f 0 ; 1 ; 2 ; :::g. For example, the number of automobile accidents per year is an example of count data. A common way to model this type of environment is through a Poisson regression model, such that each yi is drawn from the Poisson distribution. Recall that the Poisson pdf is P rob(Yi = yi) = exp(i)

y ii yi!

with the property that E(Yi) = var(Yi) = i for yi = 0; 1 ; 2 ; :::. In order to make this into a regression model, we specify that ln i = x^0 i

such that the expected number of events per period is

E[Yijxi] = i = exp(x^0 i ):

Rather than report the estimates of directly, it makes more sense to report the marginal e§ects

@E[Yijxi] @xi^ =^ i^ :

This model is typically estimated using maximum likelihood and the (log) likelihood function is

ln L( ) = Xni=1[i + yix^0 i ln yi!]:

A common test in the case of the Poisson regression model is a test for overdispersion (i.e., test whether the mean equals the variance). If this test indicates that the mean and variance are not equal, then the Poisson distribution may be inappropriate and an alternative such as the negative binomial model might be speciÖed.

2 Limited Dependent Variable Models

2.1 Truncation

Truncation models refer to cases where only a subset of the population is observed. For example, a mail survey sent to residents of a community is likely to exclude homeless people. In this instance, the distribution on income is likely to be truncated from below.

where yijxi  N [x^0 i ; ^2 ] when yi is not truncated. Now assume that we are only interested in the portion of the distribution where yi > a. Next, we decompose yi into its deterministic and stochastic parts

yi = E[yijyi > a] + i

which after using equation (6) gives yi = x^0 i + i + i: (8)

Note also that E(i) = 0 and V ar(i) = ^2 (1 i) so that equation (8) su§ers from heteroscedasticity. Consequently, OLS of y on x will be ine¢ cient. Furthermore, because of the term i, it will also su§er from omitted-variable bias. Maximum likelihood estimation, incorporating the term i, is the standard approach and will provide consistent estimates.

2.2 Censoring and the Tobit Model

Censoring is related to truncation, but it is not quite the same. Under truncation, we do not observe any yi < a, whereas under censoring, all yi < a are set at yi = a. One example is the quantity of tickets demanded for UW football games. For games that are not sold out, we can use the actual attendance as a measure of demand. For games that are sold out, however, demand is censored at the capacity of War Memorial stadium. To get an accurate prediction of ticket demand, the censored nature of the data needs to be taken into account.

2.2.1 Censoring

Under censoring, we have

y = a if y^  a y = y^ if y^ > a:

Therefore, y is a random variable with a mixture of discrete and continuous probability distributions. When y^ > a, the distribution is, for example, y^  N (; ^2 ). When y^  a, the distribution is P rob(y = a) = P rob(y^  a) = ( ), where = (a )=. The mean and variance of the censored distribution are

y = ( )a + [1 ( )]( + ) ^2 y = ^2 [1 ( )][(1 ) + ( )^2 ( )]

where  and  are as deÖned above. If ( ) = 0, so there is no censoring, then we simply get the truncated mean and variance.

2.2.2 Censored Regression (Tobit) Model

If we make the additional assumption that a = 0 and

y i = x^0 i + i,

then we have the censored regression (or Tobit) model. The expected values are

E[y i jxi] = x^0 i E[yijxi] = ( x

(^0) i  )[x (^0) i + i]

where the inverse Mills ratio is i = ( (^1) x (^0) i ) (^1 x^0 i ) :

The model can be estimated using two-step procedures (details under sample selection) or maximum likeli- hood. Assuming normally distributed errors, the log likelihood function (zi = ^1 (yi x^0 i )) can be written as ln L( ; ) =

X

yi> 0

ln[^1 (zi)] +

X

yi=

ln[1 (^1 x^0 i )]

and maximized with respect to and . All the desirable maximum likelihood results apply. Marginal e§ects are more revealing than the parameter estimates themselves. Marginal e§ects are

@E[y i jxi] @xi^ = @E[yijxi] @xi^ =^ ^ P rob(y  i > a):

2.3 Sample Selection

In this section, we consider models where the sample is non-random. Examples include:

 Survey design. For example, if we are interested in the e§ect of 401K participation on family wealth but we only have access to households with wealth greater than $100,000, then the sample is non- random. Another example would be surveying households about their maximum willingness to pay for a community program, but the survey only covers communities where the program is already in

where

E[yijz i > 0] = E[yijw^0 i + ui > 0] = E[yijui > w^0 i ] = x^0 i + E[ijui > w i^0 ] = x^0 i + i( w i^0 u^ ) = x^0 i + (^) i( w

(^0) i u^ ):

Therefore, an OLS regression of yi on only xi will result in an inconsistent estimate of. An OLS regression of yi on xi and i would produce consistent estimates of (albeit ine¢ cient because i is heteroscedastic).

2.3.3 Marginal E§ects

The relevant marginal e§ect is

@E[yijz i > 0] @xik^ =^ k^ ^

 (^) ki u^ [i^ +^

w i^0 u^ ]:

This marginal e§ect has two parts ñ a direct e§ect of xk on y (i.e., (^) k) and an indirect e§ect of xk on y through the participation equation.

2.3.4 Estimation

The parameters of the selection model can be estimated through direct maximum likelihood methods or through a two-step procedure. The two step procedure, credited to Heckman (1979) and often called the "Heckit" method is as follows:

 Step #1. Using probit, estimate the participation equation and obtain ^ =u. Use this to calculate the inverse Mills ratio for each observation, ^i.  Step #2. Using OLS, estimate the main equation with a regression of y on x and ^. This produces consistent estimates of the parameters. It is also possible to recover estimates for  and  separately.

2.3.5 An Application: The e§ects of ACT scores on college performance

Consider the e§ects of ACT scores on academic performance in college. Let the primary equation be

SCOREi = 0 + 1 ACTi + i

where SCORE is a performance measure for college on a scale from 0 to 100, ACT measures scores on the college-entrance exam and  is a normally distributed error term. The goal is to estimate the direct e§ect of ACT scores on performance in college. OLS estimates ^^1 are likely to incorrectly estimate the direct e§ect because a regression of SCORE on ACT for college students does not account for the e§ect that ACT has on college admission/enrollment. Consider the college participation equation

COLLEGE i = 0 + 1 ACTi + ui

where COLLEGE^ is the latent indicator variable for college and u is a normally distributed random variable that is positively correlated () with . The positive correlation picks up the notion that those who are most likely to go to college are also most likely to perform well in college. As before, we impose that COLLEGEi = 1 when COLLEGE i > 0 and COLLEGEi = 0 when COLLEGE i  0. Using the incidental truncation results above, we know that

E[SCOREijCOLLEGEi = 1] = 0 + 1 ACTi + E(ijCOLLEGEi = 1) = 0 + 1 ACTi + i

where i( 0 + 1 ACTi) = (^) ((^00 ++^11 ACTACTii)) is the (left-truncated) inverse Mills ratio. Naive OLS estimate su§er from omitted-variable bias because they omit i. The two-stage Heckit procedure (whereby we estimate i in the Örst stage and then regress SCORE on a constant, ACT and i), however, will produce consistent estimates of 1.