9. Heterogeneity: Mixed Models. RANDOM PARAMETER MODELS.

Slides:



Advertisements
Similar presentations
Multilevel Discrete-time Event History Analysis
Advertisements

Generalised linear mixed models in WinBUGS
MCMC estimation in MlwiN
Discrete Choice Modeling William Greene Stern School of Business New York University.
Probit The two most common error specifications yield the logit and probit models. The probit model results if the are distributed as normal variates,
4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world.
Econometric Analysis of Panel Data
Econometrics I Professor William Greene Stern School of Business
Discrete Choice Modeling
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.
Part 17: Nonlinear Regression 17-1/26 Econometrics I Professor William Greene Stern School of Business Department of Economics.
3. Binary Choice – Inference. Hypothesis Testing in Binary Choice Models.
Bayesian Estimation in MARK
12. Random Parameters Logit Models. Random Parameters Model Allow model parameters as well as constants to be random Allow multiple observations with.
Part 24: Bayesian Estimation 24-1/35 Econometrics I Professor William Greene Stern School of Business Department of Economics.
BAYESIAN INFERENCE Sampling techniques
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.
Part 23: Simulation Based Estimation 23-1/26 Econometrics I Professor William Greene Stern School of Business Department of Economics.
Part 21: Generalized Method of Moments 21-1/67 Econometrics I Professor William Greene Stern School of Business Department of Economics.
Generalized Linear Models
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 5-Bayesian Analysis] 1/77 Discrete Choice Modeling William Greene Stern School of Business New York University.
Bayes Factor Based on Han and Carlin (2001, JASA).
Microeconometric Modeling
[Part 9] 1/79 Discrete Choice Modeling Modeling Heterogeneity Discrete Choice Modeling William Greene Stern School of Business New York University 0Introduction.
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.
Module 1: Statistical Issues in Micro simulation Paul Sousa.
[Part 4] 1/43 Discrete Choice Modeling Bivariate & Multivariate Probit Discrete Choice Modeling William Greene Stern School of Business New York University.
Part 25: Bayesian [1/57] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.
Multilevel Modeling Software Wayne Osgood Crime, Law & Justice Program Department of Sociology.
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 8-Random Parameters] 1/83 Topics in Microeconometrics William Greene Department of Economics Stern School of Business.
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.
Markov Chain Monte Carlo for LDA C. Andrieu, N. D. Freitas, and A. Doucet, An Introduction to MCMC for Machine Learning, R. M. Neal, Probabilistic.
Discrete Choice Modeling William Greene Stern School of Business New York University.
1 Chapter 8: Model Inference and Averaging Presented by Hui Fang.
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
Generalization Performance of Exchange Monte Carlo Method for Normal Mixture Models Kenji Nagata, Sumio Watanabe Tokyo Institute of Technology.
Markov Chain Monte Carlo in R
Microeconometric Modeling
William Greene Stern School of Business New York University
Microeconometric Modeling
Discrete Choice Modeling
Discrete Choice Modeling
Linear and generalized linear mixed effects models
Discrete Choice Modeling
Discrete Choice Modeling
Microeconometric Modeling
Predictive distributions
Microeconometric Modeling
Econometric Analysis of Panel Data
Econometric Analysis of Panel Data
Microeconometric Modeling
Microeconometric Modeling
Econometrics Chengyuan Yin School of Mathematics.
Microeconometric Modeling
William Greene Stern School of Business New York University
Microeconometric Modeling
Maximum Likelihood Estimation (MLE)
Presentation transcript:

9. Heterogeneity: Mixed Models

RANDOM PARAMETER MODELS

A Recast Random Effects Model

A Computable Log Likelihood

Simulation

Random Effects Model: Simulation Random Coefficients Probit Model Dependent variable DOCTOR (Quadrature Based) Log likelihood function ( ) Restricted log likelihood Chi squared [ 1 d.f.] Simulation based on 50 Halton draws Variable| Coefficient Standard Error b/St.Er. P[|Z|>z] |Nonrandom parameters AGE|.02226*** (.02232) EDUC| *** ( ) HHNINC| (.00660) |Means for random parameters Constant| ** ( ) |Scale parameters for dists. of random parameters Constant|.90453*** Implied  from these estimates is /( ) =

Recast the Entire Parameter Vector

S M

MSSM

Modeling Parameter Heterogeneity

A Hierarchical Probit Model U it =  1i +  2i Age it +  3i Educ it +  4i Income it +  it.  1i =  1 +  11 Female i +  12 Married i + u 1i  2i =  2 +  21 Female i +  22 Married i + u 2i  3i =  3 +  31 Female i +  32 Married i + u 3i  4i =  4 +  41 Female i +  42 Married i + u 4i Y it = 1[U it > 0] All random variables normally distributed.

Simulating Conditional Means for Individual Parameters Posterior estimates of E[parameters(i) | Data(i)]

Probit

“Individual Coefficients”

Mixed Model Estimation WinBUGS: MCMC User specifies the model – constructs the Gibbs Sampler/Metropolis Hastings MLWin: Linear and some nonlinear – logit, Poisson, etc. Uses MCMC for MLE (noninformative priors) SAS: Proc Mixed. Classical Uses primarily a kind of GLS/GMM (method of moments algorithm for loglinear models) Stata: Classical Several loglinear models – GLAMM. Mixing done by quadrature. Maximum simulated likelihood for multinomial choice (Arne Hole, user provided) LIMDEP/NLOGIT Classical Mixing done by Monte Carlo integration – maximum simulated likelihood Numerous linear, nonlinear, loglinear models Ken Train’s Gauss Code Monte Carlo integration Mixed Logit (mixed multinomial logit) model only (but free!) Biogeme Multinomial choice models Many experimental models (developer’s hobby) Programs differ on the models fitted, the algorithms, the paradigm, and the extensions provided to the simplest RPM,  i =  +w i.

Appendix: Maximum Simulated Likelihood

Monte Carlo Integration

Example: Monte Carlo Integral

Simulated Log Likelihood for a Mixed Probit Model

Generating a Random Draw

Drawing Uniform Random Numbers

Quasi-Monte Carlo Integration Based on Halton Sequences For example, using base p=5, the integer r=37 has b 0 = 2, b 1 = 2, and b 2 = 1; (37=1x x x5 0 ). Then H(37|5) = 2    5 -3 =

Halton Sequences vs. Random Draws Requires far fewer draws – for one dimension, about 1/10. Accelerates estimation by a factor of 5 to 10.