Econometrics Chengyuan Yin School of Mathematics.

Slides:



Advertisements
Similar presentations
9. Heterogeneity: Mixed Models. RANDOM PARAMETER MODELS.
Advertisements

Probabilistic models Jouni Tuomisto THL. Outline Deterministic models with probabilistic parameters Hierarchical Bayesian models Bayesian belief nets.
ECE 8443 – Pattern Recognition LECTURE 05: MAXIMUM LIKELIHOOD ESTIMATION Objectives: Discrete Features Maximum Likelihood Resources: D.H.S: Chapter 3 (Part.
Biointelligence Laboratory, Seoul National University
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.
Visual Recognition Tutorial
Part 12: Random Parameters [ 1/46] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.
Computational statistics 2009 Random walk. Computational statistics 2009 Random walk with absorbing barrier.
Arizona State University DMML Kernel Methods – Gaussian Processes Presented by Shankar Bhargav.
Part 23: Simulation Based Estimation 23-1/26 Econometrics I Professor William Greene Stern School of Business Department of Economics.
Statistics for Marketing & Consumer Research Copyright © Mario Mazzocchi 1 Further advanced methods Chapter 17.
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.
The horseshoe estimator for sparse signals CARLOS M. CARVALHO NICHOLAS G. POLSON JAMES G. SCOTT Biometrika (2010) Presented by Eric Wang 10/14/2010.
Bayesian Inference Ekaterina Lomakina TNU seminar: Bayesian inference 1 March 2013.
A statistical model Μ is a set of distributions (or regression functions), e.g., all uni-modal, smooth distributions. Μ is called a parametric model if.
Exam I review Understanding the meaning of the terminology we use. Quick calculations that indicate understanding of the basis of methods. Many of the.
Estimating parameters in a statistical model Likelihood and Maximum likelihood estimation Bayesian point estimates Maximum a posteriori point.
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.
ECE 8443 – Pattern Recognition ECE 8423 – Adaptive Signal Processing Objectives: Deterministic vs. Random Maximum A Posteriori Maximum Likelihood Minimum.
Finding Scientific topics August , Topic Modeling 1.A document as a probabilistic mixture of topics. 2.A topic as a probability distribution.
ECE 8443 – Pattern Recognition LECTURE 07: MAXIMUM LIKELIHOOD AND BAYESIAN ESTIMATION Objectives: Class-Conditional Density The Multivariate Case General.
CS 782 – Machine Learning Lecture 4 Linear Models for Classification  Probabilistic generative models  Probabilistic discriminative models.
Part 25: Bayesian [1/57] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.
Maximum Likelihood Estimation Methods of Economic Investigation Lecture 17.
Discrete Choice Modeling William Greene Stern School of Business New York University.
: Chapter 3: Maximum-Likelihood and Baysian Parameter Estimation 1 Montri Karnjanadecha ac.th/~montri.
Discrete Choice Modeling William Greene Stern School of Business New York University.
The generalization of Bayes for continuous densities is that we have some density f(y|  ) where y and  are vectors of data and parameters with  being.
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.
Probabilistic models Jouni Tuomisto THL. Outline Deterministic models with probabilistic parameters Hierarchical Bayesian models Bayesian belief nets.
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.
Statistics Sampling Distributions and Point Estimation of Parameters Contents, figures, and exercises come from the textbook: Applied Statistics and Probability.
1 Chapter 8: Model Inference and Averaging Presented by Hui Fang.
Stochastic Frontier Models
The Unscented Particle Filter 2000/09/29 이 시은. Introduction Filtering –estimate the states(parameters or hidden variable) as a set of observations becomes.
Statistical Methods. 2 Concepts and Notations Sample unit – the basic landscape unit at which we wish to establish the presence/absence of the species.
Hidden Markov Models. A Hidden Markov Model consists of 1.A sequence of states {X t |t  T } = {X 1, X 2,..., X T }, and 2.A sequence of observations.
Ch 1. Introduction Pattern Recognition and Machine Learning, C. M. Bishop, Updated by J.-H. Eom (2 nd round revision) Summarized by K.-I.
Efficiency Measurement William Greene Stern School of Business New York University.
Canadian Bioinformatics Workshops
Bayesian Estimation and Confidence Intervals Lecture XXII.
Generalization Performance of Exchange Monte Carlo Method for Normal Mixture Models Kenji Nagata, Sumio Watanabe Tokyo Institute of Technology.
Bayesian Estimation and Confidence Intervals
Probability Theory and Parameter Estimation I
Discrete Choice Modeling
Parameter Estimation 主講人:虞台文.
William Greene Stern School of Business New York University
Discrete Choice Modeling
Predictive distributions
Microeconometric Modeling
More about Posterior Distributions
Econometric Analysis of Panel Data
Econometric Analysis of Panel Data
Where did we stop? The Bayes decision rule guarantees an optimal classification… … But it requires the knowledge of P(ci|x) (or p(x|ci) and P(ci)) We.
Ch13 Empirical Methods.
Microeconometric Modeling
Econometric Analysis of Panel Data
Parametric Methods Berlin Chen, 2005 References:
Learning From Observed Data
Mathematical Foundations of BME
Statistical Model A statistical model for some data is a set of distributions, one of which corresponds to the true unknown distribution that produced.
Statistical Model A statistical model for some data is a set of distributions, one of which corresponds to the true unknown distribution that produced.
Econometric Analysis of Panel Data
Maximum Likelihood Estimation (MLE)
Presentation transcript:

Econometrics Chengyuan Yin School of Mathematics

24. Simulation Based Estimation Econometrics 24. Simulation Based Estimation

Settings Conditional and unconditional log likelihoods Likelihood function to be maximized contains unobservables Integration techniques Bayesian estimation Prior times likelihood is intractible How to obtain posterior means, which are open form integrals The problem in both cases is “…how to do the integration?”

A Conditional Log Likelihood

Application - Innovation Sample = 1,270 German Manufacturing Firms Panel, 5 years, 1984-1988 Response: Process or product innovation in the survey year? (yes or no) Inputs: Imports of products in the industry Pressure from foreign direct investment Other covariates Model: Probit with common firm effects (Irene Bertschuk, doctoral thesis, Journal of Econometrics, 1998)

Likelihood Function Joint conditional (on ui) density for obs. i. Unconditional likelihood for observation i How do we do the integration to get rid of the heterogeneity in the conditional likelihood?

Obtaining the Unconditional Likelihood The Butler and Moffitt (1982) method is used by most current software Quadrature Works for normally distributed heterogeneity

Hermite Quadrature

Example: 8 Point Quadrature Nodes for 8 point Hermite Quadrature Use both signs, + and - 0.381186990207322000, 1.15719371244677990 1.98165675669584300 2.93063742025714410 Weights for 8 point Hermite Quadrature 0.661147012558199960, 0.20780232581489999, 0.0170779830074100010, 0.000199604072211400010

Butler and Moffitt’s Approach Random Effects Log Likelihood Function

Monte Carlo Integration

The Simulated Log Likelihood

Quasi-Monte Carlo Integration Based on Halton Sequences For example, using base p=5, the integer r=37 has b0 = 2, b1 = 2, and b3 = 1. Then H37(5) = 25-1 + 25-2 + 15-3 = 0.448.

Panel Data Estimation A Random Effects Probit Model

Log Likelihood

(1.17072 / (1 + 1.17072) = 0.578)

Quadrature vs. Simulation Computationally, comparably difficult Numerically, essentially the same answer. MSL is consistent in R Advantages of simulation Can integrate over any distribution, not just normal Can integrate over multiple random variables. Quadrature is largely unable to do this. Models based on simulation are being extended in many directions. Simulation based estimator allows estimation of conditional means  essentially the same as Bayesian posterior means

A Random Parameters Model

Estimates of a Random Parameters Model

RPM

RPM

Movie Model

Parameter Heterogeneity

Bayesian Estimators “Random Parameters” Models of Individual Heterogeneity Random Effects: Consumer Brand Choice Fixed Effects: Hospital Costs

Bayesian Estimation Specification of conditional likelihood: f(data | parameters) Specification of priors: g(parameters) Posterior density of parameters: Posterior mean = E[parameters|data]

The Marginal Density for the Data is Irrelevant

Computing Bayesian Estimators First generation: Do the integration (math) Contemporary - Simulation: (1) Deduce the posterior (2) Draw random samples of draws from the posterior and compute the sample means and variances of the samples. (Relies on the law of large numbers.)

Modeling Issues As N , the likelihood dominates and the prior disappears  Bayesian and Classical MLE converge. (Needs the mode of the posterior to converge to the mean.) Priors Diffuse  large variances imply little prior information. (NONINFORMATIVE) INFORMATIVE priors – finite variances that appear in the posterior. “Taints” any final results.

A Random Effects Approach Allenby and Rossi, “Marketing Models of Consumer Heterogeneity” Discrete Choice Model – Brand Choice “Hierarchical Bayes” Multinomial Probit Panel Data: Purchases of 4 brands of Ketchup

Structure

Bayesian Priors

Bayesian Estimator Joint Posterior= Integral does not exist in closed form. Estimate by random samples from the joint posterior. Full joint posterior is not known, so not possible to sample from the joint posterior.

Gibbs Sampling: Target: Sample from f(x1, x2) = joint distribution Joint distribution is unknown or it is not possible to sample from the joint distribution. Assumed: f(x1|x2) and f(x2|x1) both known and samples can be drawn from both. Gibbs sampling: Obtain one draw from x1,x2 by many cycles between x1|x2 and x2|x1. Start x1,0 anywhere in the right range. Draw x2,0 from x2|x1,0. Return to x1,1 from x1|x2,0 and so on. Several thousand cycles produces a draw Repeat several thousand times to produce a sample Average the draws to estimate the marginal means.

Gibbs Cycles for the MNP Model Samples from the marginal posteriors

Results Individual parameter vectors and disturbance variances Individual estimates of choice probabilities The same as the “random parameters model” with slightly different weights. Allenby and Rossi call the classical method an “approximate Bayesian” approach. (Greene calls the Bayesian estimator an “approximate random parameters model”) Who’s right? Bayesian layers on implausible priors and calls the results “exact.” Classical is strongly parametric. Neither is right – Both are right.

Comparison of Maximum Simulated Likelihood and Hierarchical Bayes Ken Train: “A Comparison of Hierarchical Bayes and Maximum Simulated Likelihood for Mixed Logit” Mixed Logit

Stochastic Structure – Conditional Likelihood Note individual specific parameter vector, i

Classical Approach

Bayesian Approach – Gibbs Sampling and Metropolis-Hastings

Gibbs Sampling from Posteriors: b

Gibbs Sampling from Posteriors: Ω

Gibbs Sampling from Posteriors: i

Metropolis – Hastings Method

Metropolis Hastings: A Draw of i

Application: Energy Suppliers N=361 individuals, 2 to 12 hypothetical suppliers X=[(1) fixed rates, (2) contract length, (3) local (0,1),(4) well known company (0,1), (5) offer TOD rates (0,1), (6) offer seasonal rates]

Estimates: Mean of Individual i MSL Estimate Bayes Posterior Mean Price -1.04 (0.396) -1.04 (0.0374) Contract -0.208 (0.0240) -0.194 (0.0224) Local 2.40 (0.127) 2.41 (0.140) Well Known 1.74 (0.0927) 1.71 (0.100) TOD -9.94 (0.337) -10.0 (0.315) Seasonal -10.2 (0.333) -10.2 (0.310)

Reconciliation: A Theorem (Bernstein-Von Mises) The posterior distribution converges to normal with covariance matrix equal to 1/N times the information matrix (same as classical MLE). (The distribution that is converging is the posterior, not the sampling distribution of the estimator of the posterior mean.) The posterior mean (empirical) converges to the mode of the likelihood function. Same as the MLE. A proper prior disappears asymptotically. Asymptotic sampling distribution of the posterior mean is the same as that of the MLE.