# Tag Info

Accepted

### Why we need to add firm and year relating independent variables in two-way fixed effect model?

Consider the following regression specification where, $t$ is time, $c$ is the firm, $y$ is an outcome and $x$ is a variable of interest. $$y_{c,t} = \alpha + \beta x_{c,t} + \varepsilon_{c,t}$$ ...
• 8,737
Accepted

### What is a good proxy for government quality?

Using corruption is part of it but a bit restrictive way to measure government "quality". You may use aggregate indicators as the one developed by the Worldwide Governance Indicators (WGI) project ...
• 6,652

### Robust Standard Errors in Fixed Effects Model (using Stata)

Use -areg- in Stata, and the standard errors will come out as in the textbook. Specifically, the command ...

### Robust Standard Errors in Fixed Effects Model (using Stata)

I'm still not sure if I'm doing something wrong. However, it is useful to note that I get the same results in R. ...
• 9,107
Accepted

### Difference-in-differences with long time horizon and repeated treatments

This question is related to a post I addressed on CrossValidated. The "generalized" difference-in-differences (DiD) estimator is amenable to settings with multiple groups and multiple ...
Accepted

### How to justify the treatment and control groups for Difference-In-Difference with staggered implementation of laws?

[W]hy do they need to write down "adopted a leniency law at some later point of time"? Because in Korea case, the word "our sample period" means "1995-2002" already. ...

### Fixed effects vs first difference

I do not think the premise is correct. Following Brüderland and Volker in Best & Wolf The SAGE Handbook of Regression Analysis and Causal Inference [square brackets have my remarks]: Both ...
• 41.6k

### How to use panel data for a time series machine learning problem?

This is a question that crosses all over the place, each of these techniques are different. Here are some very loose guidelines. As a baseline, recall that in econometrics you may have performed ...
• 3,274

### How to perform unbalanced panel data regression in R?

Here the solution would depend on what you want to accomplish. Note the problem is not just that the series is unbalanced, for an ordinary unbalanced panel data-set where firms have different number ...
• 41.6k

### A question about Fixed effects estimation

Having read up on your question it seems the fixed effect is fixed. If this is indeed the case it will have zero variance and hence zero covariance with any variable.
• 26k

### In panel data application, when using Fama and MacBeth regression is preferable over the fixed or random effect model? thought

I cannot precisely answer your questions because I do not know which exactly regressions you want to perform as @jmbejara says and which papers are you referring to that use Fama-MacBeth regression. ...
• 365
Accepted

### Pesaran's CCEP estimator in eviews

The technique described in the question is almost correct. Consider a panel data set consisting of three cross-sections ($a$, $b$, and $c$) and three time-periods ($1$, $2$, and $3$). Let y denote the ...
• 884

### Robust Standard Errors in Fixed Effects Model (using Stata)

To understand the issue let's review what is the so call robust variance-covariance matrix estimates (VCE) and the implied "robust" standard errors. The robustness is meant to allow for violations of ...
Accepted

### Linear Probability Model Instead of Logit in Fixed Effects Regression

FE logit requires the idiosyncratic errors to be IID across $i$ and $t$, quite a strong assumption. Also the regressors should be strictly exogenous, but it's the same for linear FE models. In your ...
• 1,889
Accepted

### model design - fixed effects model for paired differences

The constant term in your final FE model has no specific meaning without further restrictions. For Stata, it is only chosen such that the (sample) mean of the estimated individual effects add up to 0. ...
• 1,889

### Up-to-date survey of panel data models

As rightly pointed out by @1muflon1@ "Panel data is nowadays quite a big field - usually you will have separate chapters for panel IV, panel logit/probit, panel time series etc". But if you ...
• 6,652
Accepted

### How to choose between fixed and random effects using economic intuition?

Here is an example where just from an economic perspective fixed effects are better than random effects. Suppose you have panel data and you want to regress earnings $y$ on some observable ...
• 6,652

### Can I add a variable that varies only with time in Least Squares Regression model with a time-fixed effects term?

Your model has $\beta_3 * t$, which is a linear time trend, not time dummies. If that's correct, you are controlling for only a linear trend. Because oil prices do not have a perfect linear trend, you ...
• 1,889

### Replicate Blundell and Bond (2000) results using R

3. How do we recover parameters from production function estimates (INCOMPLETE ANSWER - will be updated with how to do this in R once I have time to figure it out, or if somebody else knows...) ...
• 101
Accepted

### Converting monthly data to quarterly

I've seen them summed somewhere but I cannot exactly remember where. Ultimately I don't think that it makes much difference. The quarterly sum is just the average multiplied by three. Since local ...
• 1,278
Accepted

• 8,737

### Pooled OLS, fixed effects and random effects yield very similar results

$$y_{it} =\beta_0 +\beta_1 x_{1it} + ...+\beta_k x_{k_it}+\alpha_i +u_{it}$$ The random effects assumption is that $E[\alpha_i +u_{it}|X]=0$ where $X$ denotes all independent variables at all time ...
• 2,218
Accepted

### Panel data, simple rearrangement?

By stnadard OLS regression results, in the simple regression $$y_t = \alpha + \beta z_t + v_t, \;\;\;t=1,...,T$$ we have that \hat \beta = \frac {\sum_{i=1}^T (z_t - \bar z)(y_t-\bar y)}{\sum_{i=...
• 31.8k