Questions tagged [paneldata]

Panel data are multi-dimensional data involving measurements over time where observations are for the same subjects each time.

Filter by
Sorted by
Tagged with
7
votes
1answer
110 views

Replicate Blundell and Bond (2000) results using R

I want to replicate Blundell and Bond (2000) Table III in R. I'm using the function pgmm from package plm, which (apparently) ...
6
votes
3answers
8k views

Robust Standard Errors in Fixed Effects Model (using Stata)

I'm trying to figure out the commands necessary to replicate the following table in Stata. This table is taken from Chapter 11, p. 357 of Econometric Analysis of Cross Section and Panel Data, Second ...
6
votes
2answers
4k views

How to perform unbalanced panel data regression in R?

I am attempting to perform an unbalanced panel data regression in R. My code is as follows: ...
5
votes
1answer
45 views

Up-to-date survey of panel data models

I am looking for an up-to-date survey paper or a book chapter on panel data models. I know there are excellent textbooks out there like Wooldridge "Econometric analysis of cross section and ...
5
votes
1answer
549 views

Pesaran's CCEP estimator in eviews

I intend to use Pesaran's (2006) common correlated effects pooled (CCEP) estimator. However, I'm not yet very familiar with advanced econometrics and advanced use of eviews. More specifically I want ...
4
votes
1answer
97 views

Skepticism about the claims of instrument variable validity/exclusion through a statistical test—the Arellano-Bond Test

I am an applied researcher and occasionally come across papers that have panel data and that use dynamic models with both a fixed-effects term and lagged DV (or multiple autoregressive terms): $y_{it} ...
4
votes
1answer
204 views

Fixed Effects Interpetation

I have some issues understanding the intuition in Fixed Effects models, and the sources of variation they imply. For a concrete example, consider the following regression specification: $$r_{ist}=\...
3
votes
1answer
739 views

What is a good proxy for government quality?

Is it ok to use corruption as a proxy for government quality?
3
votes
1answer
32 views

Fixed effects vs first difference

Or more generally, what are the reasons for the absolute dominance of the fixed effects estimators to control for unobserved heterogeneity in large N, short T panel settings? I get that random effects ...
3
votes
1answer
185 views

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

I have a high-frequency panel dataset on the order of $i=150$ and $t=5000$. I am interested in studying the causal impact of a treatment with the following characteristics: The same unit can be ...
3
votes
1answer
74 views

Interpretation of coefficients in a regression with a lagged dependent variable

I have estimated the following dynamic panel data model using GMM:           $\ln Y_{it}=\beta_0+\beta_1\ln Y_{it-1}+\beta_2\ln X_{it-1}+\epsilon_{it} $ where $Y$ is employment and $X$ is productivity....
3
votes
1answer
96 views

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

In class, our professor said that when it comes to deciding between estimating panel regression with fixed and random effects we should not just blindly follow the Hausman test, but also think about ...
3
votes
1answer
34 views

When to use dynamic panel data models

I recently got a comment that I should use dynamic panel data model instead of a static one because my outcome is likely to be serially correlated. I guess it makes sense for my application, but it ...
3
votes
1answer
295 views

Dealing with Missing Values in Diff-in-Diff Estimation

To preface this, I am asking this question on the Econ SE because I was made aware on Cross Validated that Difference in Difference estimation is quite an economics specific method. The picture above ...
3
votes
2answers
132 views

interpretation: linear regressions with both unit dummies and time dummies

Suppose I have a panel data with N units and T time periods. For model 1 with only unit dummies: $$y_{it} = \text{intercept} + \beta_1 x_{it} + \sum_{j = 2}^{N}\delta_j I\left(i = j\right) + \text{...
3
votes
1answer
709 views

Interpreting correlation between fixed effect and explanatory variable

I'm dealing with panel data and I chose to do a regression with cross-sectional fixed effects. Some of my explanatory variables (such as $debt_{it}$) do not show very much variation over the time ...
3
votes
1answer
55 views

How to interpret fixed effects?

I want to interpret the output of a fixed effects regression and need help with interpreting the country-fixed effects. The regression is the following: ...
3
votes
1answer
66 views

Cost of production plant

I'm struggling to find a macroeconomic index which embodies the cost to run an average production plan. My problem is that I wanted to divide the annual average cost per employee (which I already ...
3
votes
0answers
116 views

A doubt on summary statistic of post*treat variable of a paper using DID (Dong,2019)

Generalized DID or Staggered DID are DID using staggered treatment events. In Dong,2019's paper, he uses the framework as below: $Margin_{ikjt}$ = $\alpha$ + $\beta$ $(Leniency Law)_{kt}$ + $\delta$$...
3
votes
1answer
396 views

Serial correlation and clustered correlation in FE and FD estimators

I'm running a regression on panel data, one time with Fixed Effects and one time with First Differences. The estimators are really different (the FE estimator is statistically significant and the FD ...
2
votes
1answer
64 views

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

From what I know, these terms are very basic in econometrics but I still not yet fully got it. To me, year fixed effect is to control time-variant omitted variables and firm fixed effect is to control ...
2
votes
2answers
210 views

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

A. Background: Dong, 2019 and Dasgupta, 2019 used the same way to generate the treatment and control groups because they all learn about the impact of the same laws on different dependent variables. I ...
2
votes
2answers
242 views

Dummy Variables in Panel data

I am building a regression model on some panel data of sales and I am rather new to econometrics. I was thinking of introducing some indipendent variables built as Dummy1*Dummy2 . Is this new ...
2
votes
3answers
133 views

A question about Fixed effects estimation

I have a fixed effects model as follows: $Y = x_1, x_2, x_3$, (fixed effect), (error term) Is there any way I can check whether Cov($x_1$, (fixed effect)) is larger or smaller than 0? The panel ...
2
votes
1answer
2k views

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

When discussing panel data, many econometric books, usually, focus just on fixed or random effect model as means of estimating regression for panel data. Despite this tendency, I have seen many papers ...
2
votes
1answer
26 views

Probit with panel data - assumptions violated with endogenous covariate?

I am trying to understand how does the fact that a regressor is endogenous (as a result of reverse causality) in a dynamic probit model violate any assumptions that I may need to make for this model. ...
2
votes
2answers
1k views

Spatial Durbin model in Stata - How it is estimated?

Can someone explain to me how the estimation of the spatial Durbin model is made in Stata ? The documentation of XSMLE command (for spatial panels) says that for dynamic cases the estimator are based ...
2
votes
1answer
64 views

Panel data, simple rearrangement?

Consider the Correlated Random Effects model $y_{it} = \alpha + x_{it}\beta + \bar x \gamma + w_i + \epsilon_{it} $ where $x_{it}$ is a scalar explanatory variable. The correlated random effects GLS ...
2
votes
1answer
45 views

Identifying Households in Panel Data

For my thesis, I'm working with a panel dataset that tracks individuals within households. To allow for merging, the dataset provides the household ID in the previous round for each individual. What I'...
2
votes
1answer
86 views

Can I treat pooled cross-section as panel data and do regression analysis?

I work with a large survey data that is pooled cross-section, i.e, people interviewed are randomly chosen in each time period. This is not panel data. But, I aggregate the individual cells according ...
2
votes
2answers
176 views

Year effects inconsistent between random effects and fixed effects

I am running a panel data estimation, where I am including year effects. My goal is to see if there is a time trend in the data, after controlling for other factors. Using random effects, I find the ...
2
votes
0answers
36 views

Missing values in difference-in-differences

To give a background of the problem: I'm performing a difference-in-differences analysis to estimate the effect of a treatment, say A. I have a panel data with 5 rounds and about 3000 observations in ...
2
votes
0answers
32 views

Alternative ways of visualizing longitudinal macro data?

Problem: Visualizing longitudinal is challenging when the dataset has large number of panel members. A common ways to visualize such data is to either make a large set of small individual plots such ...
2
votes
0answers
25 views

Econometrics - Panel Data: Relationship between total, within and between

I need to prove the following statement, which is $\hat{\beta}_{total} = W(x)\hat{\beta}_{within} + (I-W(x))\hat{\beta}_{between}$, where $\hat{\beta}_{within}$ is the fixed effect estimator(i.e. the ...
2
votes
0answers
48 views

Trade-off between "extent of controls" and "quasi-experimental"

I apologize in advance for a long and possibly misworded question. I am trying to get to something but I am not exactly sure how to explain it. Hopefully, you can bear with me and provide me with some ...
2
votes
0answers
42 views

How to know when survivorship bias is a problem

I have panel data where firms disappear from failure and mergers. Conditional on existing as a stand alone firm, I observe all firms. However, I am differencing two periods (Late - Early), and the ...
2
votes
0answers
23 views

Publishing fixed and random effects in one model

I am a health economist working with panel data for a paper I am working on, I use Hausman tests to determine if I should use fixed or random effects estimators in my analysis. For some outcomes ...
2
votes
0answers
98 views

Panel econometrics for marketing mix analysis: how to include spending that affects all the individuals of a panel?

Dear stack exchangers, in the course of an internship at a microfinance bank in Tajikistan, I have been tasked with assessing the efficiency of different marketing expenses. I will try to expose the ...
2
votes
0answers
28 views

Panel data: When can I used random effects instead of fixed effects? Are control variables necessary?

I have panel data for individuals in an economy that experienced fluctuations in employment levels. I also have some health information for these individuals, BMI, self-rated health etc., My ...
2
votes
2answers
82 views

Should I construct balanced data with only necessary variables or unbalanced data with many potentially usable variables?

When I construct panel data from large household surveys (say, World Bank's Living Standard Measurement Surveys), I try to construct data set with as many potentially usable variables as possible. ...
2
votes
0answers
173 views

Fixed vs Random effects in panel data

I am an economist interested in looking at panel data on mothers, their husbands and their grandparents to determine the effect of the economic shock of the recession on their self-reported health ...
1
vote
1answer
112 views

Converting monthly data to quarterly

I have monthly shock series, which I want to convert to quarterly form. I have seen several methods like taking average of 3 months or summing 3 months for making a quarter. I would like to know how I ...
1
vote
1answer
349 views

Linear Probability Model Instead of Logit in Fixed Effects Regression

In our panel data analysis we estimated a fixed effects linear probability model (LPM) instead of a fixed effects logit regression because our sample size was quite small (600 individuals) and the ...
1
vote
2answers
72 views

How to interpret fixed effect regression R-sq. results for panel data?

I runned a fixed effect regression in Stata (xtreg, fe) for panel data. I obtained below R-sq. results. How should I interpret them? Which one is my main interest(within,below or overall)? How can I ...
1
vote
1answer
64 views

When does the "stationary" problem become and issue with panel data?

I recently came by a post that states in panel data with small time dimensions the stationarity issue is not present, is this true? can anybody provide a source for this? I'm working with a panel ...
1
vote
1answer
8k views

Testing for heteroskedasticity in panel data vs time series?

I watched this video on how to check for heteroskedasticity using Stata, and it helped me a lot. But the data example in the video was time series data. He used the Bruesh-Pagan test. ...
1
vote
1answer
30 views

Data of Inflation and unemployment for a Panel Data

I am looking for data of Inflation and unemployment to run a Panel Data of a Philips Curve. Can anybody help me with some website/source that I can find data like these? In my mind I would need too ...
1
vote
1answer
29 views

Cross-sectional model vs panel model

I have an unbalanced panel dataset of around 3000 firms for 5 years. My goal is to see if female-owned firm are less likely to survive, so I have a logit model with female-owned dummy as the key ...
1
vote
2answers
43 views

How to treat different frequencies of a time series data?

I have annual GDP, annual CPI, monthly exchange rate, and monthly export data. I would like to go for estimation being monthly stock return as the dependent variable. What are the methods to treat the ...
1
vote
1answer
561 views

Fama Macbeth and double clustering presents inconsistent results

I have a large unbalanced panel data with 460 firms and 1259 days. The model I would like to run is below $$ Y_{it} = \beta X_{it} + \alpha Z_{t} + \epsilon_{it} $$ where $Y_{it}$ is stock return, ...