Part 21: Generalized Method of Moments 21-1/67 Econometrics I Professor William Greene Stern School of Business Department of Economics.

Slides:



Advertisements
Similar presentations
Tests of Static Asset Pricing Models
Advertisements

Generalized Method of Moments: Introduction
1 Regression as Moment Structure. 2 Regression Equation Y =  X + v Observable Variables Y z = X Moment matrix  YY  YX  =  YX  XX Moment structure.
Econometric Analysis of Panel Data
Econometrics I Professor William Greene Stern School of Business
The Simple Regression Model
Structural Equation Modeling
The Multiple Regression Model.
Discrete Choice Modeling William Greene Stern School of Business New York University.
Part 11: Asymptotic Distribution Theory 11-1/72 Econometrics I Professor William Greene Stern School of Business Department of Economics.
Part 17: Nonlinear Regression 17-1/26 Econometrics I Professor William Greene Stern School of Business Department of Economics.
Part 12: Asymptotics for the Regression Model 12-1/39 Econometrics I Professor William Greene Stern School of Business Department of Economics.
3. Binary Choice – Inference. Hypothesis Testing in Binary Choice Models.
6-1 Introduction To Empirical Models 6-1 Introduction To Empirical Models.
Ch11 Curve Fitting Dr. Deshi Ye
1 Chapter 2 Simple Linear Regression Ray-Bing Chen Institute of Statistics National University of Kaohsiung.
Econometrics I Professor William Greene Stern School of Business
Part 12: Random Parameters [ 1/46] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.
Chapter 10 Simple Regression.
1 Chapter 3 Multiple Linear Regression Ray-Bing Chen Institute of Statistics National University of Kaohsiung.
Generalized Regression Model Based on Greene’s Note 15 (Chapter 8)
Statistical Inference and Regression Analysis: GB Professor William Greene Stern School of Business IOMS Department Department of Economics.
1 Regression Analysis Regression used to estimate relationship between dependent variable (Y) and one or more independent variables (X). Consider the variable.
Linear and generalised linear models
Part 7: Multiple Regression Analysis 7-1/54 Regression Models Professor William Greene Stern School of Business IOMS Department Department of Economics.
Part 14: Generalized Regression 14-1/46 Econometrics I Professor William Greene Stern School of Business Department of Economics.
Discrete Choice Modeling William Greene Stern School of Business New York University.
[Topic 6-Nonlinear Models] 1/87 Discrete Choice Modeling William Greene Stern School of Business New York University.
Structural Equation Modeling 3 Psy 524 Andrew Ainsworth.
Part 5: Random Effects [ 1/54] 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.
CJT 765: Structural Equation Modeling Class 7: fitting a model, fit indices, comparingmodels, statistical power.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 15 Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple.
Introduction to Linear Regression
Random Regressors and Moment Based Estimation Prepared by Vera Tabakova, East Carolina University.
Multiple Regression The Basics. Multiple Regression (MR) Predicting one DV from a set of predictors, the DV should be interval/ratio or at least assumed.
[Part 4] 1/43 Discrete Choice Modeling Bivariate & Multivariate Probit Discrete Choice Modeling William Greene Stern School of Business New York University.
Discrete Choice Modeling William Greene Stern School of Business New York University.
Generalised method of moments approach to testing the CAPM Nimesh Mistry Filipp Levin.
1/69: Topic Descriptive Statistics and Linear Regression Microeconometric Modeling William Greene Stern School of Business New York University New.
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.
M.Sc. in Economics Econometrics Module I Topic 4: Maximum Likelihood Estimation Carol Newman.
Part 4A: GMM-MDE[ 1/33] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.
[Part 2] 1/86 Discrete Choice Modeling Binary Choice Models Discrete Choice Modeling William Greene Stern School of Business New York University 0Introduction.
MathematicalMarketing Slide 5.1 OLS Chapter 5: Ordinary Least Square Regression We will be discussing  The Linear Regression Model  Estimation of the.
Computacion Inteligente Least-Square Methods for System Identification.
Discrete Choice Modeling William Greene Stern School of Business New York University.
Applied Econometrics William Greene Department of Economics Stern School of Business.
Econometrics III Evgeniya Anatolievna Kolomak, Professor.
Estimation Econometría. ADE.. Estimation We assume we have a sample of size T of: – The dependent variable (y) – The explanatory variables (x 1,x 2, x.
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
Chapter 4 Basic Estimation Techniques
CJT 765: Structural Equation Modeling
Evgeniya Anatolievna Kolomak, Professor
STOCHASTIC REGRESSORS AND THE METHOD OF INSTRUMENTAL VARIABLES
Econometric Analysis of Panel Data
Chengyuan Yin School of Mathematics
Simple Linear Regression
Econometrics Chengyuan Yin School of Mathematics.
Econometrics I Professor William Greene Stern School of Business
Chengyuan Yin School of Mathematics
Microeconometric Modeling
Econometrics I Professor William Greene Stern School of Business
Econometrics I Professor William Greene Stern School of Business
Microeconometric Modeling
Econometric Analysis of Panel Data
Econometrics I Professor William Greene Stern School of Business
Econometrics I Professor William Greene Stern School of Business
Presentation transcript:

Part 21: Generalized Method of Moments 21-1/67 Econometrics I Professor William Greene Stern School of Business Department of Economics

Part 21: Generalized Method of Moments 21-2/67 Econometrics I Part 21 – Generalized Method of Moments

Part 21: Generalized Method of Moments 21-3/67 I also have a questions about nonlinear GMM - which is more or less nonlinear IV technique I suppose. I am running a panel non-linear regression (non-linear in the parameters) and I have L parameters and K exogenous variables with L>K. In particular my model looks kind of like this: Y = b 1 *X^b 2 + e, and so I am trying to estimate the extra b 2 that don't usually appear in a regression. From what I am reading, to run nonlinear GMM I can use the K exogenous variables to construct the orthogonality conditions but what should I use for the extra, b 2 coefficients? Just some more possible IVs (like lags) of the exogenous variables? I agree that by adding more IVs you will get a more efficient estimation, but isn't it only the case when you believe the IVs are truly uncorrelated with the error term? So by adding more "instruments" you are more or less imposing more and more restrictive assumptions about the model (which might not actually be true). I am asking because I have not found sources comparing nonlinear GMM/IV to nonlinear least squares. If there is no homoscadesticity/serial correlation what is more efficient/give tighter estimates?

Part 21: Generalized Method of Moments 21-4/67 I’m trying to minimize a nonlinear program with the least square under nonlinear constraints. It’s first introduced by Ané & Geman (2000). It consisted on the minimization of the sum of squared difference between the moment generating function and the theoretical moment generating function

Part 21: Generalized Method of Moments 21-5/67

Part 21: Generalized Method of Moments 21-6/67

Part 21: Generalized Method of Moments 21-7/67 FGLS Feasible GLS is based on finding an estimator which has the same properties as the true GLS. Example Var[  i ] =  2 [Exp(  z i )]2. True GLS would regress y/[  Exp(  z i )] on the same transformation of x i. With a consistent estimator of [ ,  ], say [s,c], we do the same computation with our estimates. So long as plim [s,c] = [ ,  ], FGLS is as “good” as true GLS.  Consistent  Same Asymptotic Variance  Same Asymptotic Normal Distribution

Part 21: Generalized Method of Moments 21-8/67 The Method of Moments

Part 21: Generalized Method of Moments 21-9/67 Estimating a Parameter  Mean of Poisson p(y)=exp(-λ) λ y / y! E[y]= λ. plim (1/N)Σ i y i = λ. This is the estimator  Mean of Exponential p(y) = λ exp(- λy) E[y] = 1/ λ. plim (1/N)Σ i y i = 1/λ

Part 21: Generalized Method of Moments 21-10/67 Mean and Variance of a Normal Distribution

Part 21: Generalized Method of Moments 21-11/67 Gamma Distribution

Part 21: Generalized Method of Moments 21-12/67 The Linear Regression Model

Part 21: Generalized Method of Moments 21-13/67 Instrumental Variables

Part 21: Generalized Method of Moments 21-14/67 Maximum Likelihood

Part 21: Generalized Method of Moments 21-15/67 Behavioral Application

Part 21: Generalized Method of Moments 21-16/67 Identification  Can the parameters be estimated?  Not a sample ‘property’  Assume an infinite sample Is there sufficient information in a sample to reveal consistent estimators of the parameters Can the ‘moment equations’ be solved for the population parameters?

Part 21: Generalized Method of Moments 21-17/67 Identification  Exactly Identified Case: K population moment equations in K unknown parameters. Our familiar cases, OLS, IV, ML, the MOM estimators Is the counting rule sufficient? What else is needed?  Overidentified Case Instrumental Variables A covariance structures model  Underidentified Case Multicollinearity Variance parameter in a probit model Shape parameter in a loglinear model

Part 21: Generalized Method of Moments 21-18/67 Overidentification

Part 21: Generalized Method of Moments 21-19/67 Overidentification

Part 21: Generalized Method of Moments 21-20/67 Underidentification  Multicollinearity: The moment equations are linearly dependent.  Insufficient Variation in Observable Quantities Which model is more consistent with the data?

Part 21: Generalized Method of Moments 21-21/67 Underidentification – Model/Data

Part 21: Generalized Method of Moments 21-22/67 Underidentification - Math

Part 21: Generalized Method of Moments 21-23/67 Underidentification: Moments Nonlinear LS vs. MLE

Part 21: Generalized Method of Moments 21-24/67 Nonlinear Least Squares --> NAMELIST ; x = one,age,educ,female,hhkids,married $ --> Calc ; k=col(x) $ --> NLSQ ; Lhs = hhninc ; Fcn = p / exp(b1'x) ; labels = k_b,p ; start = k_0,1 ; maxit = 20$ Moment matrix has become nonpositive definite. Switching to BFGS algorithm Normal exit: 16 iterations. Status=0. F= User Defined Optimization Nonlinear least squares regression LHS=HHNINC Mean = Standard deviation = Number of observs. = Model size Parameters = 7 Degrees of freedom = Residuals Sum of squares = Standard error of e = Variable| Coefficient Standard Error b/St.Er. P[|Z|>z] B1| <====== B2| B3| *** B4| *** B5|.05445*** B6| *** P| <======= Nonlinear least squares did not work. That is the implication of the infinite standard errors for B1 (the constant) and P.

Part 21: Generalized Method of Moments 21-25/67 Maximum Likelihood Gamma (Loglinear) Regression Model Dependent variable HHNINC Log likelihood function Restricted log likelihood Chi squared [ 6 d.f.] Significance level McFadden Pseudo R-squared (4 observations with income = 0 Estimation based on N = 27322, K = 7 were deleted so logL was computable.) Variable| Coefficient Standard Error b/St.Er. P[|Z|>z] Mean of X |Parameters in conditional mean function Constant| *** AGE|.00205*** EDUC| *** FEMALE| HHKIDS|.06512*** MARRIED| *** |Scale parameter for gamma model P_scale| *** MLE apparently worked fine. Why did one method (nls) fail and another consistent estimator work without difficulty?

Part 21: Generalized Method of Moments 21-26/67 Moment Equations: NLS

Part 21: Generalized Method of Moments 21-27/67 Moment Equations MLE

Part 21: Generalized Method of Moments 21-28/67 Agenda The Method of Moments. Solving the moment equations Exactly identified cases Overidentified cases Consistency. How do we know the method of moments is consistent? Asymptotic covariance matrix. Consistent vs. Efficient estimation A weighting matrix The minimum distance estimator What is the efficient weighting matrix? Estimating the weighting matrix. The Generalized method of moments estimator - how it is computed. Computing the appropriate asymptotic covariance matrix

Part 21: Generalized Method of Moments 21-29/67 The Method of Moments Moment Equation: Defines a sample statistic that mimics a population expectation: The population expectation – orthogonality condition: E[ m i (  ) ] = 0. Subscript i indicates it depends on data vector indexed by 'i' (or 't' for a time series setting)

Part 21: Generalized Method of Moments 21-30/67 The Method of Moments - Example

Part 21: Generalized Method of Moments 21-31/67 Application

Part 21: Generalized Method of Moments 21-32/67 Method of Moments Solution create ; y1=y ; y2=log(y)$ calc ; m1=xbr(y1) ; ms=xbr(y2)$ minimize; start = 2.0,.06 ; labels = p,l ; fcn = (l*m1-p)^2 + (ms - psi(p)+log(l)) ^2 $ | User Defined Optimization | | Dependent variable Function | | Number of observations 1 | | Iterations completed 6 | | Log likelihood function E-13 | |Variable | Coefficient | P L

Part 21: Generalized Method of Moments 21-33/67 Nonlinear Instrumental Variables There are K parameters,  y i = f(x i,  ) +  i. There exists a set of K instrumental variables, z i such that E[z i  i ] = 0. The sample counterpart is the moment equation (1/n)  i z i  i = (1/n)  i z i [y i - f(x i,  )] = (1/n)  i m i (  ) = (  ) = 0. The method of moments estimator is the solution to the moment equation(s). (How the solution is obtained is not always obvious, and varies from problem to problem.)

Part 21: Generalized Method of Moments 21-34/67 The MOM Solution

Part 21: Generalized Method of Moments 21-35/67 MOM Solution

Part 21: Generalized Method of Moments 21-36/67 Variance of the Method of Moments Estimator

Part 21: Generalized Method of Moments 21-37/67 Example 1: Gamma Distribution

Part 21: Generalized Method of Moments 21-38/67 Example 2: Nonlinear IV Least Squares

Part 21: Generalized Method of Moments 21-39/67 Variance of the Moments

Part 21: Generalized Method of Moments 21-40/67 Properties of the MOM Estimator  Consistent? The LLN implies that the moments are consistent estimators of their population counterparts (zero) Use the Slutsky theorem to assert consistency of the functions of the moments  Asymptotically normal? The moments are sample means. Invoke a central limit theorem.  Efficient? Not necessarily Sometimes yes. (Gamma example) Perhaps not. Depends on the model and the available information (and how much of it is used).

Part 21: Generalized Method of Moments 21-41/67 Generalizing the Method of Moments Estimator  More moments than parameters – the overidentified case  Example: Instrumental variable case, M > K instruments

Part 21: Generalized Method of Moments 21-42/67 Two Stage Least Squares How to use an “excess” of instrumental variables (1) X is K variables. Some (at least one) of the K variables in X are correlated with ε. (2) Z is M > K variables. Some of the variables in Z are also in X, some are not. None of the variables in Z are correlated with ε. (3) Which K variables to use to compute Z’X and Z’y?

Part 21: Generalized Method of Moments 21-43/67 Choosing the Instruments  Choose K randomly?  Choose the included Xs and the remainder randomly?  Use all of them? How?  A theorem: (Brundy and Jorgenson, ca. 1972) There is a most efficient way to construct the IV estimator from this subset: (1) For each column (variable) in X, compute the predictions of that variable using all the columns of Z. (2) Linearly regress y on these K predictions.  This is two stage least squares

Part 21: Generalized Method of Moments 21-44/67 2SLS Algebra

Part 21: Generalized Method of Moments 21-45/67 Method of Moments Estimation

Part 21: Generalized Method of Moments 21-46/67 FOC for MOM

Part 21: Generalized Method of Moments 21-47/67 Computing the Estimator  Programming Program  No all purpose solution  Nonlinear optimization problem – solution varies from setting to setting.

Part 21: Generalized Method of Moments 21-48/67 Asymptotic Covariance Matrix

Part 21: Generalized Method of Moments 21-49/67 More Efficient Estimation

Part 21: Generalized Method of Moments 21-50/67 Minimum Distance Estimation

Part 21: Generalized Method of Moments 21-51/67 MDE Estimation: Application

Part 21: Generalized Method of Moments 21-52/67 Least Squares

Part 21: Generalized Method of Moments 21-53/67 Generalized Least Squares

Part 21: Generalized Method of Moments 21-54/67 Minimum Distance Estimation

Part 21: Generalized Method of Moments 21-55/67 Optimal Weighting Matrix

Part 21: Generalized Method of Moments 21-56/67 GMM Estimation

Part 21: Generalized Method of Moments 21-57/67 GMM Estimation

Part 21: Generalized Method of Moments 21-58/67 A Practical Problem

Part 21: Generalized Method of Moments 21-59/67 Inference Testing hypotheses about the parameters: Wald test A counterpart to the likelihood ratio test Testing the overidentifying restrictions

Part 21: Generalized Method of Moments 21-60/67 Testing Hypotheses

Part 21: Generalized Method of Moments 21-61/67 Application: Dynamic Panel Data Model

Part 21: Generalized Method of Moments 21-62/67 Application: Innovation

Part 21: Generalized Method of Moments 21-63/67 Application: Innovation

Part 21: Generalized Method of Moments 21-64/67 Application: Multivariate Probit Model

Part 21: Generalized Method of Moments 21-65/67 Pooled Probit – Ignoring Correlation

Part 21: Generalized Method of Moments 21-66/67 Random Effects: Σ=(1- ρ)I+ρii’

Part 21: Generalized Method of Moments 21-67/67 Unrestricted Correlation Matrix