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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

Number of instruments in GMM (using pgmm in R)

Number of instruments used in GMM model (pgmm function in R) I performed a GMM (Generalized Methods of Moments) analysis in R using the ...
Li4991's user avatar
  • 13
0 votes
0 answers
14 views

Sargan test results = 1 in system GMM

I am having difficulties understanding my diagnostic test results for my twoways effects two-step model system GMM, which I performed in R. The results of my Sargan test (test for overidentification ...
Li4991's user avatar
  • 13
1 vote
1 answer
16 views

Does PLM package (PGMM function) use Windmeijer-corrected cluster-robust errors? [closed]

I am performing a GMM analysis using the pgmm function in the plm package in R. I read a lot about different errors (nonrobust, ...
Li4991's user avatar
  • 13
0 votes
0 answers
20 views

Problems with GMM (Generalized Methods of Moments) in R

I am interested in performing an analysis using a GMM model for a panel dataset. I am conducting the analysis in R, using the pgmm package. My code is the following:...
Li4991's user avatar
  • 13
1 vote
0 answers
16 views

How do deal with multicollinearity, endogeneity and interpret the interaction terms in a panel dataset?

The model ŷ = b0 + b1X1 + b2X2 + b3X1X2 ŷ =company financial performance metric X1 = carbon emissions X2 = carbon assurance X1X2 = interaction term The issues: Let’s say: • X1 + X2 are related (but ...
Reuben's user avatar
  • 11
2 votes
0 answers
20 views

Dynamic panel data model with treatment

Consider a simple dynamic panel model with a single lag: $$y_{it} = \alpha_i + x_{it}'\beta + \rho y_{i,t-1}+\epsilon_{it}$$ Now assuming that $x_{it}$ is most ordinary covariates, this can be ...
user2958701's user avatar
0 votes
0 answers
16 views

GMM and Instruments

I am using GMM for my research work. Previously, I have used ivreg command in stata in which we manually specify the instrumental variable for the endogeneous variable. I was just curious and ...
Researcher101's user avatar
0 votes
0 answers
29 views

System GMM yields invalid results while Difference GMM is correct

While studying about GMMs I generated the following dataset to experiment with. ...
aleschory's user avatar
0 votes
0 answers
10 views

Which model should I use for determinants of NPLs

I am working on a subject called The determinants of NPLs in a country (NPL = non performing loans). My data is a dynamic panel data of 15 years and i got my data yearly. The dependent variable is npl ...
user389661's user avatar
0 votes
2 answers
37 views

How to understand the binary latent variable z in GMM model?

GMM(Gaussian Mixture Model) itself is a mixture of Gaussian with each having the proportion of $\pi_k$, $$\sum_{k=1}^{K}\pi_k=1$$this is easy to understand. But when introducing the latent, I don't ...
user3153824's user avatar
0 votes
0 answers
16 views

Estimation of panel data

I am estimating the effect of certain bank characteristics on the bank lending in monetary policy in the euro area. Therefore I am looking at different bank characteristics (size, liquidity and ...
Maren28's user avatar
0 votes
0 answers
19 views

GMM efficiency vs IV efficiency condition

Let the true model be $$ Y = X_1\beta_1 + X_2\beta_2 + u $$ but $X_2$ is omitted, so we estimate $$ Y = X_1\gamma_1 + e $$ by a valid instrument $Z$, so $\gamma_1$ is the 2SLS estimator. Assume now, $...
Three Diag's user avatar
1 vote
1 answer
38 views

Proving uniform convergence of moment restriction score function in GMM asymptotic normality proof

I am asked in a homework question to prove asymptotic normality for the generalized method of moments estimator. The assumptions (which i think are necessary to solve this particular subproblem) given ...
Jeppe Pilgaard's user avatar
1 vote
0 answers
17 views

How to build the covariance matrix with different weighted moments via GMM [closed]

I have two sets of moment conditions, one is IV moment with N observations but the second moment only has N_1 observations, N_1<N. How to build the covariance matrix? Appreciate for any replies!
Nicolej's user avatar
  • 11
0 votes
0 answers
112 views

Fitting a 3D GMM in a 3D space is equivalent to fit a gaussian in each 1D coordinate?

I have a 3D data set data represents positions in X,Y,Z space. The positions are generated by a Poisson model. I would like to filter out outlier positions, i.e., positions that are farther than the ...
MLggm's user avatar
  • 1
3 votes
0 answers
53 views

Clustered vs. GMM-based standard errors: which ones to use in asset pricing?

This question was posted on Quantitative Finance Stack Exchange a while ago. While it was received positively there and generated a reasonable amount of views, no answers have been posted. Thus I am ...
Richard Hardy's user avatar
3 votes
1 answer
264 views

Maximum likelihood vs generalized method of moments

I am trying to understand how maximum likelihood (MLE) and generalized method of moments (GMM) are related to each other. In particular, I often see people saying that MLE can be written in terms of ...
rick's user avatar
  • 93
0 votes
0 answers
35 views

Understanding well some definitions of identification in econometrics

In the context of parametric models with $\Theta$ being the parametr space and $$\mathbf P :=\{ P_\theta : \theta \in \Theta \}$$ assume that $P$ denote the true distribution of the observed data $X$ ...
Fam's user avatar
  • 997
0 votes
0 answers
86 views

How to understand rank condition?

In GMM estimator, rank assumption says $E[z_ix_i]$ has full rank of $k$, where $z_i$ is a $l\times 1$ vector of instrument variables, and $x_i$ is a $k\times 1$ vector of endogenous variables, and $k\...
jasmine's user avatar
  • 115
0 votes
0 answers
29 views

Central cross moments of independent random varibales

The central cross-moments of a random vector $[X_1, X_2,\dots, X_n]$ is $$ \mu_X(n_1,n_2,\dots,n_n) =E[(X_1-E[X_1])^{n_1}(X_2-E[X_2])^{n_2}\dots(X_n-E[X_n])^{n_n}]$$ I wish to know if $\mu_X(1,1,\dots,...
user1420303's user avatar
0 votes
0 answers
46 views

Draw conditional samples from GMM

I have a dataset with 4 numerical features and class labels for each data point. I have implemented a GMM classifier to predict the class of each training sample. Now I would like to generate new data ...
anedla87's user avatar
3 votes
1 answer
465 views

How do Measure "Robustness" in Statistics?

I am an MBA Student taking courses in Statistics. Our prof was comparing two different methods of estimating the parameters for a regression model: General Method of Moments (GMM) and Maximum ...
stats_noob's user avatar
1 vote
0 answers
114 views

Is there a formula for estimating confidence intervals for indirect inference estimates?

Indirect inference is usually deployed to estimate parameters $\theta$ of simulation models, i.e. models for which likelihood is unknown or intractable but that can be "run forward" ...
CarrKnight's user avatar
  • 1,098
0 votes
0 answers
217 views

GMM panel data model in R - no individual effects

I need to estimate the coefficients of a particular dynamic panel data model. \begin{equation} \ln(y_{i,t})=\alpha_0+\beta ln(y_{i,t-1})+\theta_t+ \varepsilon_{i,t} \end{equation} Currently, I'm ...
user avatar
1 vote
1 answer
134 views

Regression specification: what if one regressor is function of another

Consider the following regression model $$ Y_i=D_{i}(\alpha_1+\beta_1 X_i)+(1-D_i)(\alpha_2+\beta_2 X_i)+\epsilon_i $$ where $D_i$ is a binary variable. Suppose the researcher has an i.i.d. sample $\{...
TEX's user avatar
  • 594
0 votes
2 answers
686 views

Is using a fixed random seed in production okay?

I have a dataset and am trying to use GMM to cluster it. The algorithm works well but when I run it multiple times I get different results. While the clusters produced in each run are valid my users ...
M10000's user avatar
  • 11
1 vote
0 answers
61 views

ARSV model estimation with (constrained) generalized method of moments in R

I am trying to perform the estimation of the following Autoregressive Stochastic Volatility model $$ y_t=\sigma_t u_t = exp(w_t/2)u_t \\ w_t = \omega + \phi w_{t-1} + \eta_t $$ in R via the function <...
Mr Frog's user avatar
  • 329
2 votes
0 answers
111 views

Using the method of moments or GMM to estimate the parameters of a specific problem

Given $(X_t)_{t \in \mathbb{Z}}$ an AR(1) process: $$X_t = c+ \phi X_{t-1} + \epsilon_t, \quad \epsilon_t\sim WN(0,\sigma^2)$$ We can show that $E(X_t) = \frac{c}{1- \phi}$ and $E(X_t^2) = \frac{\...
user346481's user avatar
1 vote
0 answers
168 views

Covariance Matrix Estimation for the Generalized Method of Moments

I am solving and empirical exercise on the Generalized Method of Moments. It's a classical application/test of a famous model in Economics. There are 2 parameters $(\beta, \gamma)$ to be estimated ...
Raul Guarini Riva's user avatar
2 votes
1 answer
337 views

Efficiency of IV vs GMM

I am trying to understand how IV/just identified GMM and overidentified GMM compare when it comes to efficiency. The way I understand it, we are able to identify the vector of coefficients in IV and ...
Blo4d's user avatar
  • 41
2 votes
1 answer
183 views

Consistent but inefficient GMM

Consider the following linear model $$y_t = x_t' \beta +u_t$$ where $t =1,...,T$ and $x_t = (x_{1t} x_{2t} ... x_{kt})'$ , $ \beta$ is $k \times 1$ vector of unknown coefficients, $u_t$ is an iid ...
1190's user avatar
  • 980
1 vote
0 answers
61 views

Discuss that method of moment estimation is inefficient

Discuss that method of moment estimation is inefficient. Then model is Consider the following linear model $$y_t = x_t' \beta +u_t$$ where $t =1,...,T$ and $x_t = (x_{1t} x_{2t} ... x_{kt})'$ , $ \...
1190's user avatar
  • 980
0 votes
0 answers
250 views

When is the Optimal weighting matrix in GMM singular?

currently I am trying to estimate a simple linear regression: \begin{equation} y_t = X \beta + \varepsilon_t, \end{equation} where I try to find 4 coefficients and one specific predictor is an ...
user326465's user avatar
3 votes
1 answer
167 views

Question on GMM

Consider the following linear model $$y_t = x_t' \beta +u_t$$ where $t =1,...,T$ and $x_t = (x_{1t} x_{2t} ... x_{kt})'$ , $ \beta$ is $k \times 1$ vector of unknown coefficients, $y_t$ is an iid ...
1190's user avatar
  • 980
1 vote
0 answers
797 views

What is the difference between GMM-style instruments and IV-style instruments in GMM estimation via xtabond2 or plm?

My question refers to the implementation of GMM estimators, e.g., in the package xtabond2 for Stata or package plm in ...
julia_rython's user avatar
1 vote
0 answers
57 views

Can the Arellano Bond model accommodate lags of explanatory variables?

The standard type of equation I've seen for the Arellano-Bond is y_it = r* y_it-1 + B*x_it + e_it. The endogenous variable y is a function of y at previous times, x at the current time, and an ...
Achintya Agarwal's user avatar
1 vote
0 answers
963 views

GMM regression and instruments count with xtabond2

I have to perform a difference GMM regression on my panel data. It's not important that it works, but if it does not I need robust motivation for why not. My panel data is divided in two bigger groups,...
bas's user avatar
  • 11
1 vote
1 answer
448 views

How to Remove Fixed Effects to Reduce Heterogeneity?

When discussing GMM estimation, Toni Whited and Luke Taylor suggest to reduce heterogeneity by ''eliminating fixed effects,'' see here on Taylor's slides (slide 36): My question: I'm not quite sure ...
Alex's user avatar
  • 347
0 votes
0 answers
202 views

an alternative to GMM?

Dear StackExchange Users, I am currently working on my PhD thesis and one of the chapter deals endogeneity in the data. I have N the number of individual (here country) = 11 and T the time dimension = ...
Rémi Odry's user avatar
2 votes
0 answers
297 views

gmm function in R does not work due to singular variance-covariance matrix

We want to test the CAPM asset pricing models using the GMM procedure. The model is as follows: $$ R_{i,t} - R_{f,t} = \alpha_i + \beta_i(R_{m,t} - R_{f,t}) + \epsilon_{it}$$ The pricing errors at ...
Hans's user avatar
  • 21
3 votes
2 answers
3k views

Choice between static and dynamic panel regression

I have a panel dataset with countries as individuals observed per year. My analysis concerns a macroeconomic study and as often happens in these cases (I would not be wrong but they are commonly ...
UzbeKistaN's user avatar
1 vote
0 answers
110 views

Stopped by zero step from line search - R stops optimization early

I am trying to minimize an objective function, $J(\theta)$, with respect to $\theta$, a 19-dimensional parameter vector. $J(\theta)$ is a smooth nonlinear function so I have tried various gradient-...
EB727's user avatar
  • 11
1 vote
1 answer
698 views

What does stata's laglimit mean?

I just saw an explanation to xtabond2 here ...
w12345678's user avatar
2 votes
0 answers
43 views

How do I estimate time specific unobservable variables with panel data?

I have a problem that deals with human capital. I assume that wages $W_{it}$ are determined by the level of human capital $K_{it}$ and the market clearing rental rate that applies to all workers $R_{t}...
Tallon Howie's user avatar
2 votes
1 answer
2k views

What are the "moment conditions" in the GMM method? Also: GMM vs IV vs 2SLS?

I keep seeing talk of 'moment conditions' or 'moment equations', but don't exactly understand the context. Consider a very standard regression model: $$y_i = \beta x_i + u_i $$ where $u_i$ is an ...
codenoob's user avatar
1 vote
0 answers
74 views

Surprising nonlinear variance-based scale est (bias adj) for Laplace Distribution competes with MLE?

Background: Using the quantile function (inverse cumulative distribution) for the Laplace distribution supplied with uniform random deviates (per the RAND() spreadsheet function), I examined an ...
AJKOER's user avatar
  • 1,930
3 votes
0 answers
85 views

An intro document to IV-GMM method

I am looking for an introduction on Instrumental variable-generalized method of moments (IV-GMM), but cannot find more than the following: https://fmwww.bc.edu/EC-C/S2014/823/EC823.S2014.nn02.slides....
sane's user avatar
  • 131
3 votes
0 answers
686 views

GMM model with R

I am trying to run a GMM model, based on the Fama-Macbeth technique for robust s.e. (use this method for correction in auto-correlation and conditional heteroskedasticity). I am using R, after I have ...
Nav89's user avatar
  • 145
2 votes
0 answers
333 views

Python : GMM estimators in dynamic panel

I am trying to fit a GMM model in Python so I was wondering if someone knows if there is an equivalent of xtabond2 / stata or pgmm / R in Python. I've searched but I couldn't find anything similar.
nicoy2k2's user avatar
1 vote
0 answers
97 views

please guide me xtabond2

This is my first experience for GMM. help me, please. I should examine the relationship between X and Y across US states over the period 1993–2015 using the System GMM estimator. The lagged DVs, ...
foroozan javaheri's user avatar