Empirical Methods for Microeconomic Applications William Greene Department of Economics Stern School of Business.

Slides:



Advertisements
Similar presentations
7. Models for Count Data, Inflation Models. Models for Count Data.
Advertisements

Econometrics I Professor William Greene Stern School of Business
Discrete Choice Modeling William Greene Stern School of Business New York University Lab Sessions.
Discrete Choice Modeling
Empirical Methods for Microeconomic Applications University of Lugano, Switzerland May 27-31, 2013 William Greene Department of Economics Stern School.
[Part 1] 1/15 Discrete Choice Modeling Econometric Methodology Discrete Choice Modeling William Greene Stern School of Business New York University 0Introduction.
Discrete Choice Modeling William Greene Stern School of Business New York University Lab Sessions.
16. Censoring, Tobit and Two Part Models. Censoring and Corner Solution Models Censoring model: y = T(y*) = 0 if y* < 0 y = T(y*) = y* if y* > 0. Corner.
Part 12: Random Parameters [ 1/46] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.
Discrete Choice Modeling William Greene Stern School of Business New York University Lab Sessions.
1/62: Topic 2.3 – Panel Data Binary Choice Models Microeconometric Modeling William Greene Stern School of Business New York University New York NY USA.
8. Heterogeneity: Latent Class Models. Latent Classes A population contains a mixture of individuals of different types (classes) Common form of the.
Discrete Choice Modeling William Greene Stern School of Business New York University.
2. Binary Choice Estimation. Modeling Binary Choice.
Econometric Methodology. The Sample and Measurement Population Measurement Theory Characteristics Behavior Patterns Choices.
Discrete Choice Modeling William Greene Stern School of Business New York University.
Discrete Choice Modeling William Greene Stern School of Business New York University.
Empirical Methods for Microeconomic Applications William Greene Department of Economics Stern School of Business.
1/53: Topic 3.1 – Models for Ordered Choices Microeconometric Modeling William Greene Stern School of Business New York University New York NY USA William.
Discrete Choice Modeling William Greene Stern School of Business New York University.
Empirical Methods for Microeconomic Applications University of Lugano, Switzerland May 27-31, 2013 William Greene Department of Economics Stern School.
Discrete Choice Modeling William Greene Stern School of Business New York University.
Empirical Methods for Microeconomic Applications University of Lugano, Switzerland May 27-31, 2013 William Greene Department of Economics Stern School.
[Part 4] 1/43 Discrete Choice Modeling Bivariate & Multivariate Probit Discrete Choice Modeling William Greene Stern School of Business New York University.
“Analyzing Health Equity Using Household Survey Data” Owen O’Donnell, Eddy van Doorslaer, Adam Wagstaff and Magnus Lindelow, The World Bank, Washington.
Discrete Choice Modeling William Greene Stern School of Business New York University.
Discrete Choice Modeling William Greene Stern School of Business New York University.
Discrete Choice Modeling William Greene Stern School of Business New York University.
[Topic 9-Latent Class Models] 1/66 9. Heterogeneity: Latent Class Models.
1/62: Topic 2.3 – Panel Data Binary Choice Models Microeconometric Modeling William Greene Stern School of Business New York University New York NY USA.
Empirical Methods for Microeconomic Applications University of Lugano, Switzerland May 27-31, 2013 William Greene Department of Economics Stern School.
Discrete Choice Modeling William Greene Stern School of Business New York University.
Empirical Methods for Microeconomic Applications William Greene Department of Economics Stern School of Business.
Discrete Choice Modeling William Greene Stern School of Business New York University.
1/53: Topic 3.1 – Models for Ordered Choices Microeconometric Modeling William Greene Stern School of Business New York University New York NY USA William.
6. Ordered Choice Models. Ordered Choices Ordered Discrete Outcomes E.g.: Taste test, credit rating, course grade, preference scale Underlying random.
[Part 5] 1/43 Discrete Choice Modeling Ordered Choice Models Discrete Choice Modeling William Greene Stern School of Business New York University 0Introduction.
Discrete Choice Modeling William Greene Stern School of Business New York University.
1/26: Topic 2.2 – Nonlinear Panel Data Models Microeconometric Modeling William Greene Stern School of Business New York University New York NY USA William.
5. Extensions of Binary Choice Models
Microeconometric Modeling
Microeconometric Modeling
William Greene Stern School of Business New York University
Microeconometric Modeling
William Greene Stern School of Business New York University
Discrete Choice Modeling
Discrete Choice Modeling
Discrete Choice Modeling
Microeconometric Modeling
Discrete Choice Modeling
Microeconometric Modeling
Empirical Methods for Microeconomic Applications
Microeconometric Modeling
Empirical Methods for Microeconomic Applications
Microeconometric Modeling
Microeconometric Modeling
LIMITED DEPENDENT VARIABLE REGRESSION MODELS
Microeconometric Modeling
Microeconometric Modeling
Microeconometric Modeling
Microeconometric Modeling
Discrete Choice Modeling
Microeconometric Modeling
Microeconometric Modeling
Empirical Methods for Microeconomic Applications University of Lugano, Switzerland May 27-31, 2019 William Greene Department of Economics Stern School.
Empirical Methods for Microeconomic Applications University of Lugano, Switzerland May 27-31, 2019 William Greene Department of Economics Stern School.
Empirical Methods for Microeconomic Applications University of Lugano, Switzerland May 27-31, 2019 William Greene Department of Economics Stern School.
Empirical Methods for Microeconomic Applications
Empirical Methods for Microeconomic Applications
Presentation transcript:

Empirical Methods for Microeconomic Applications William Greene Department of Economics Stern School of Business

Lab 4. Ordered Choice and Count Data

Upload Your Project File

Binary Dependent Variables DOCTOR = visited the doctor at least once HOSPITAL = went to the hospital at least once. PUBLIC = has public health insurance (1=YES) ADDON = additional health insurance.(1=Yes) ADDON is extremely unbalanced.

Ordered Dependent Variable HSAT = ordered reported health satisfaction, coded 0,1,…,10. Use with ORDERED or ORDERED ; Logit or OPROBIT and OLOGIT

HISTOGRAM ; Rhs = hsat $

HISTOGRAM ; Rhs = hsat ; Group = female ; Labels = Male,Female ; Title = Health Satisfaction by Gender $

Ordered Choice Models Ordered ; Lhs = dependent variable ; Rhs = One, … independent variables $ Remember to include the constant term For ordered logit i stead of ordered probit, use Ordered ; Logit ; Lhs = dependent variable ; Rhs = One, … independent variables $ To get marginal effects, use ; Margin as usual. There are fixed and random effects estimators for this model: ; FEM ; Panel ; Random ; Panel

Sample Selection in Ordered Choice

Sample Selection Ordered Probit PROBIT ; Lhs = … ; Rhs = … ; HOLD $ ORDERED ; Lhs = … ; Rhs = … ; Selection $ This is a maximum likelihood estimator, not a least squares estimator. There is no ‘lambda’ variable. The various parameters are present in the likelihood function.

PROBIT;if[year1994=1]; lhs=public;rhs=one,age,income,working ;hold$ ORDERED; If[year1994=1] ; lhs=health;rhs=x;selection$

Hierarchical Ordered Probit Hierarchical ordered probit. Ordered probit in which threshold parameters depend on variables. Two forms: HO1: μ(i,j) = exp[θ(j) + δ ’ z(i)]. HO2, different δ vector for each j. Use ORDERED ; … ; HO1 = list of variables or ORDERED ; … ; HO2 = list of variables. Can combine with SELECTION models and ZERO INFLATION models. This is also the Pudney and Shields generalized ordered probit from Journal of Applied Econometrics, August 2000, with the modification of using exp( … ) and internally, a way to make sure that the thresholds are ordered..

Count Data DOCVIS = count of visits to the doctor HOSPVIS = count of visits to the hospital. There are outliers. It helps to use truncated or censored samples (1) Truncated Data SAMPLE ; All $ MODEL ; If [ docvis <= 10] ; Lhs = … $ (2) Censored Data SAMPLE ; All $ CREATE ; DocVis10 = Min(10,DocVis) ; Hosp10 = Min(10,HospVis) $ There are also excess zeros. ZIP or HURDLE model suggested.

Models for Count Data Basic models Poisson and negative binomial POISSON ; Lhs = y ; Rhs = One,… $ NEGBIN ; Lhs = y ; Rhs = One,… $ NEGBIN ; Model=NB1 or NB2 or NBP ; … Many extensions Various heterogeneity forms Panel data Random parameters and latent class Zero inflation Sample selection Censoring and truncation Numerous others… (some, far from all, shown below)

NEGBIN ; If[year1994=1];Lhs=docvis;rhs=x;model=nbp$

Sample Selection

Selection Model Probit ; Lhs = … ; Rhs = … ; Hold $ Poisson ; Lhs = … ; Rhs = … ; Selection ; MLE$

Zero Inflation Two regime, latent class model Prob[Regime 1 => y=0] = q Prob[y = j|Regime 2] = Poisson or NegBin, λ=exp(β’x) Reduced form: Prob[y=0] = q + (1-q)P(0) Prob[y=j > 0] = (1-q)P(j) Regime Models: q = Probit or Logit Structures:  ZIP: Probit or Logit F(γ’z) z can be any set of variables  ZIP-tau: Probit or Logit F(τ β’x) – same β’x as above

ZIP and ZIP-tau Models ;ZIP Logit, ZIP-tau ;ZIP = Normal : Probit ZIP-tau ;ZIP [ =Normal ] ; Rh2 = variables in z Alternative Models Default is Poisson ; MODEL = NegBin ; MODEL = Gamma

Hurdle Model Two Part Model: Prob[y=0] = Logit or Probit using β’x from the count model or γ’z as specified with ;RH2=list Prob[y=j|j>0] = Truncated Poisson or NegBin Two part decision: POISSON ; … ; Hurdle $ POISSON ; … ; Hurdle ; Rh2 = List $

POISSON ; If[year1994=1]; Lhs = docvis;rhs=x ; hurdle ; Rh2 = one,age,income,working $ PARTIALS ; If[year1994=1] ; effects: x ; summary $

Poisson and NB Mixture Models with Normal Heterogeneity