Questions tagged [generalized-moments]

generalized-moments stands for the econometric technique of "generalized method of moments", a method of quadratically combining multiple "generalized moments", or "estimating equations", to obtain parameter estimates, their standard errors, and test statistics in single and multiple-equation, cross-sectional, time-series, and panel data models.

The generalized method of moments, commonly abbreviated as GMM, is a cornerstone econometric inferential technique developed by economist Lars Peter Hansen for which he was awarded Nobel Prize in 2013. It proceeds by extending the knowledge obtained from a substantive model that for some function $g(X,\theta)$ of the data $X$ and parameter vector $\theta_0$, one can establish a population relation $$E[ g(X,\theta_0)] = 0,$$ referred to as generalized moments (hence the name, the generalized method of moments); statisticians would call them estimating equations. Typical examples include the regression normal equations $E[ x'\varepsilon] = 0$, instrumental variable conditions $E[z'\varepsilon]=0$, and the likelihood score equations $E \frac{\partial l(x,\theta)}{\partial \theta}=0$. Then the sample analogue of the moment condition is formed as $$\frac1n \sum_{i=1}^n g(x_i,\theta)$$ in the i.i.d. case, and somewhat more complicated expressions for the dependent cases (time series, panel data, cluster samples). Minimizing a weighted sum of these conditions provides the parameter estimates $\theta$ and other inferential tools. The weights can be configured to pay a greater attention to satisfying conditions that are more interesting, informative, or better measured. GMM works with all of single- and multiple-equation cross-sectional, time-series, and panel data models. The theory of GMM also provides asymptotic standard errors and asymptotic tests.

GMM avoids making assumptions about the distribution of the error terms and having to specify a full statistical model. It provides a unifying framework for many estimators like ordinary least squares (OLS), instrumental variables (IV), generalized least squares (GLS), non-linear least squares (NLS), and maximum likelihood estimation (MLE).

More information can be found in the Wikipedia entry for GMM.

Other uses of the GMM acronym in other areas of statistics include Gaussian mixture models and growth mixture models. Hence the use of the abbreviated tag gmm is discouraged, and method-specific unabbreviated tags should be used instead.

151 questions
15
votes
1 answer

What is the difference/relationship between method of moments and GMM?

Can someone explain to me the difference between method of moments and GMM (general method of moments), their relationship, and when should one or the other be used?
Vivi
  • 1,241
  • 2
  • 14
  • 20
15
votes
3 answers

When should one consider using GMM?

One of the things which makes econometrics unique is the use of the Generalized Method of Moments technique. What types of problems make GMM more appropriate than other estimation techniques? What does using GMM buy you in terms of efficiency or…
Ari B. Friedman
  • 3,421
  • 4
  • 33
  • 42
14
votes
1 answer

Using generalized method of moments (GMM) to calculate logistic regression parameter

I want to calculate coefficients to a regression that is very similar to logistic regression (Actually logistic regression with another coefficient: $$ \frac{A}{1 + e^{- (b_0 + b_1 x_1 + b_2 x_2 + \ldots)}},$$ when $A$ could be given). I thought…
user5497
  • 237
  • 3
  • 7
11
votes
2 answers

Explaining generalized method of moments to a non-statistician

How do I explain Generalized Methods of moments and how it is used to a non statistician? So far I am going with: it is something we use to estimate conditions such as averages and variation based on samples we have collected. How do I explain the…
user3084006
  • 368
  • 2
  • 9
10
votes
2 answers

When to use Gaussian mixture model?

I am new to using GMMs. I was not able to find any appropriate help online. Could anyone please provide me right resource on "How to decide if using GMM fits to my problem?" or in case of classification problems "How to decide if I have to use SVM…
10
votes
0 answers

Dynamic Panel/GMM in R with group:time fixed effects?

Is there a solution coded in R to estimate models of the form $$ y_{igt} = \alpha_i + P_{gt} + \beta_1y_{igt-1}+ \beta_2y_{igt-2} + X_{igt}'\gamma + \epsilon_{igt} $$ ? plm offers the pgmm package, which implements the Arellano-Bond estimator, but…
8
votes
1 answer

Why are standard errors downward biased when considering weak instruments

I was wondering why standard errors are (severely) downward biased when you are using the (general) instrumental variable - estimator or the generalized method of moments (gmm) estimator.
7
votes
1 answer

Elbow Test using AIC/BIC for identifying number of clusters using GMM

How to select number of clusters using GMM when the elbow test (AIC/BIC vs n_components) results in a graph like this?
psangam
  • 73
  • 1
  • 4
5
votes
2 answers

What's the point in using identity matrix as weighting matrix in GMM?

What is the point of using the identity matrix as weighting matrix in GMM? GMM is the minimizer of the distance $g_n(\delta)'\hat{W}g_n({\delta})$, where $g_n = \frac{1}{n}\sum_ix_i\epsilon_i$. If we set $\hat{W}=I$, we would get a distance equal to…
PhDing
  • 2,470
  • 6
  • 32
  • 57
5
votes
1 answer

Forecasting unemployment rate with plm

Please see question for the background. Following the advice of @kwak and @Andy W, I have decided to use the package plm in R to fit my model. Here an excerpt of the data df (the numbers are made up, not real data!): reg year ur …
teucer
  • 1,801
  • 2
  • 16
  • 29
5
votes
1 answer

How to make a GMM from a Histogram to give a probability?

I have a histogram that looks like the following: From the data, I can see that this histogram shows two obvious curves. If I make the claim that they are from two Gaussians, how can I make a Gaussian mixture model to tell me the probabilities of…
Nathan McCoy
  • 127
  • 1
  • 12
5
votes
1 answer

Principle of Analogy and Method of Moments

I am studying method of moments and GMM in the context of econometrics. Can someone explain on intuitive level, what does it mean to match moments? And how does this differ from the classical linear regression model, for example? Some terms and…
5
votes
1 answer

Dynamic panel data with large $T$

Given a data set with $N=2634$ and $T=92$, I want to estimate a dynamic model. My first though was to use a classic System GMM estimator, however digging through the literature it turned out that there might be problems with biased estimators when…
Gerald
  • 51
  • 3
5
votes
1 answer

GMM estimation of linear regression with intercept restriction

Say I have a time series regression as follows: $$y_t = a_i + \beta_i x_t + \varepsilon_t^i \ \ ; \ \ t = 1, 2, \cdots, T \ \ \text{for each } i$$ Now say I impose the following restriction on the intercept, $a_i$: $$a_i = \beta_i[\lambda -…
TeTs
  • 745
  • 6
  • 18
5
votes
0 answers

OLS standard error that corrects for autocorrelation but not heteroskedasticity

Question: By mapping the OLS regression into the GMM framework, write the formula for the standard error of the OLS regression coefficients that corrects for autocorrelation but not heteroskedasticity. Furthermore, show that in this case, the…
1
2 3
10 11