When we build a statistical model, like the classic Ordinary Least Squares (OLS) regression, we’re trying to find the “best” line that fits our data. But what does “best” mean? For OLS, “best” is traditionally defined by a critical assumption: the conditional mean of the error term is zero. In simpler terms, we assume that, on average, our model’s mistakes (the errors) are zero for any given value of our input variables. This is a powerful and useful starting point, but it’s a bit like trying to understand a person’s entire personality by only knowing their average mood. What if we have more information? What if we know our errors aren’t just zero on average, but that they’re also *symmetrical*? OLS, in its basic form, simply ignores this extra detail. This is where the Generalized Method of Moments (GMM) steps in as a more powerful and flexible tool, allowing us to leverage *all* the information we have about our data’s distribution.
Table of Contents
What do we mean by ‘moment’ restrictions?
To understand GMM, we first need to get comfortable with “moments.” In statistics, moments describe the shape of a probability distribution. You’re already very familiar with the first two:
- The first moment is the mean, or the average value. The OLS assumption,
E(u|x) = 0, is a first-moment condition. - The second moment is related to the variance, which measures the spread or dispersion of the data.
- The third moment is related to skewness, which tells us if the data is lopsided or symmetrical.
- The fourth moment is related to kurtosis, which describes the “tailedness” or peakiness of the distribution.
The OLS assumption E(u|x) = 0 is a restriction we place on our model. We are *restricting* the mean of the errors to be zero. But we can go further. The prompt gives a perfect example: E[xu³] = 0. This is a third-moment condition. It’s a mathematical way of stating an assumption that the *skewness* of our errors is unrelated to our variables-a form of conditional symmetry. If we believe this is true, why wouldn’t we use this information to get a better estimate? GMM provides the framework to do just that. It allows us to combine the standard “zero average error” assumption with these “additional moment restrictions,” effectively using more of the data’s story to pin down our estimates.
Think of it like building a composite sketch
Imagine you’re an economist trying to build a profile (an estimate) of an unknown parameter, let’s call it Beta.
Using OLS is like having one witness (the first moment) who tells you, “On average, Beta is around here.” It’s a good start, but it’s just one piece of information.
Using GMM is like bringing in a whole room full of witnesses (the moments).
- Witness 1 (First Moment): “On average, the error is zero.” (This is your OLS witness).
- Witness 2 (Third Moment): “And the errors are perfectly symmetrical.” (This is the
E[xu³] = 0witness). - Witness 3 (Fourth Moment): “And the errors don’t have excessively fat tails.” (This might be another condition you add).
GMM is the detective that listens to *all* these witnesses at once. It knows that in the real world (our data sample), these witnesses might not perfectly agree. The goal of GMM is to find the *one* value of Beta that makes all the witnesses “as correct as possible” simultaneously. This leads us to how GMM is actually formulated.
Formulating the GMM estimator: A balancing act
GMM doesn’t solve for each moment condition individually. Instead, it tries to find the parameter estimates that make *all* the sample moment conditions as close to zero as possible, all at once. This is a classic minimization problem, which is at the heart of many advanced econometric techniques.
Here’s the idea. For each of our moment conditions (e.g., zero mean, zero skewness), we can calculate its value from our data sample. If our parameter estimates were perfect, all these sample moments would be exactly zero. But in reality, they won’t be. There will be some “error” or deviation from zero.
GMM defines a single “criterion function” (or objective function) that bundles all these deviations together. This function is a quadratic form. In simple terms, it’s a way of measuring the *total, squared distance* of all our sample moments from zero. Think of it like a single “badness” score. A score of zero would be perfect (all assumptions met), and a higher score means our parameters are doing a poor job of satisfying our assumptions.
The GMM estimator is then defined as the set of parameters that *minimizes this single ‘badness’ score*. It’s the estimate that brings all our sample moments, as a group, as close to zero as possible. It’s the best possible compromise, the value of Beta that does the best job of satisfying all our “witnesses” at the same time.
The dartboard analogy
Imagine your set of parameters (your Betas) is a single dart. Your “moment conditions” are a set of targets on a dartboard, all clustered around the bullseye (which represents zero).
- In a “just-identified” case (like OLS), you have one dart and one target. You just hit the target.
- In an “over-identified” case (the strength of GMM), you have *more targets (moments) than darts (parameters)*. You can’t hit all of them perfectly with one throw.
GMM’s criterion function is a rule that says: “Find the spot on the dartboard to throw your dart that minimizes the *total squared distance* from all the targets.” You might not hit any single target perfectly, but you’ll find the single best “compromise” spot that is closest to all of them. This is how GMM leverages all that extra information.
The role of the weighting matrix: Not all information is created equal
This is where things get really clever. When we calculate our “total badness score” (the quadratic form), how do we add up the different deviations? Do we treat a deviation from the “mean = 0” assumption as equally important as a deviation from the “skewness = 0” assumption?
This choice is governed by the weighting matrix, often written as `W_N`. This matrix is the “secret sauce” of the GMM estimator. It’s a set of instructions that tells the minimization process how much “weight” or “penalty” to assign to each moment condition’s failure to be zero.
You can choose different weighting matrices, and this choice defines different GMM estimators:
- A simple choice: You could use an “identity matrix,” which essentially says, “Treat all moment conditions as equally important.” This is a valid GMM estimator, but it’s often not the *best* one.
- A smart choice: What if you know that one of your moment conditions is very precise and reliable (low variance), while another is very “noisy” (high variance)? You wouldn’t want to trust them equally.
The weighting matrix and efficiency
This is the key to efficiency. A “good” estimator is one that is precise-it has a low variance. The most efficient GMM estimator is the one that produces the “tightest” possible estimate, the one with the smallest variance.
We achieve this by choosing an optimal weighting matrix. The optimal weighting matrix does exactly what your intuition suggests: it gives *more weight* to the more precise, reliable moment conditions (those with low variance) and *less weight* to the noisy, unreliable ones (those with high variance). It’s the inverse of the covariance matrix of the moments themselves.
Think of the committee of witnesses again. The weighting matrix is like the committee chair.
- A simple (non-optimal) chair says: “Everyone gets one vote, and we’ll just tally them up.”
- The optimal (efficient) chair says: “I know Witness 1 is always very accurate, and Witness 2 tends to exaggerate. Therefore, I’m going to count Witness 1’s testimony *twice as much* as Witness 2’s.”
This optimal weighting ensures that we are using our information in the most effective way possible. When GMM is used with this optimal weighting matrix, it can be far more efficient than OLS, especially in situations with complex data (like heteroskedasticity). It’s a general, powerful framework that is now a cornerstone of modern econometric analysis, allowing researchers to build more robust and precise models by moving beyond just the average.
What do you think? Can you think of a real-world economic example where assuming “symmetrical errors” might be a more realistic assumption than just “zero-average errors”? And what do you see as the biggest risk of adding too many “additional” moment conditions to a model?
References
- https://www.econometrics-with-r.org/12-gmm.html
- https://ocw.mit.edu/courses/14-382-econometrics-spring-2017/resources/mit14_382s17_lec9/
- https://www.sciencedirect.com/topics/economics-econometrics-and-finance/generalized-method-of-moments
- https://www.lse.ac.uk/economics/study/courses/course-information/ec484-econometric-analysis
Leave a Reply