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
1
vote
1answer
562 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, ...
1
vote
0answers
21 views

where can I download financial statements (or financial data) for firms in many industries in one shot?

I'm interested in doing some empirical analysis of firm's financial statements (such as asset, working capital, operating cost, etc) for many firms across industries over the past few years. Where can ...
1
vote
0answers
304 views

Error in cbind(yX1[[i]], V1) : number of rows of matrices must match (see arg 2) in r

I estimated a gmm model using pgmm() of the plm package, but received the following error term: ...
1
vote
0answers
19 views

Modelling the effect of crisis on unemployment

We want to estimate the effect of crises on a country's unemployment rate and distinguish the strength of this effect according to the debt level in a country (i.e. via the interaction effect crisis x ...
1
vote
0answers
48 views

How can I obtain monthly unemployment by ethnicity by state for the US?

Grateful for any help, thoughts and direction.
1
vote
0answers
21 views

Missing trade and FDI data in Time Series

I want to run a panel VARX and some of my variables are bilateral trade and between countries in sub-Saharan Africa and China as well as FDI. Unfortunately the data I could find from official Chinese ...
1
vote
0answers
8 views

Evaluating the impact of US federal grants

There are a number of challenges with evaluating the impact/effectiveness of federal grants in the U.S. In particular, it's easy to obtain a (somewhat comprehensive) record of transactions between ...
1
vote
0answers
18 views

How do I measure effects over years in panel data with individuals?

I'm working with a longitudinal panel dataset that surveys the same few thousand individuals biennially and I have six years of this data. My dependent variable would be how much individuals spend on ...
1
vote
0answers
33 views

Diff-in-diff: Handling correlations within group-level treatment using microdata

Question: What are my best options for handling group-level correlations in a panel differences-in-differences model using StataSE 14.2? Background: I have a Differences-in-Differences (DiD) design ...
1
vote
1answer
62 views

Categorisation of Harmonised System codes for economic analysis

I work a lot with Harmonised System Codes (https://en.wikipedia.org/wiki/Harmonized_System). In a nutshell, the Harmonised System (HS) provides a way to record all goods based trade in and out of a ...
1
vote
1answer
50 views

Extracting group effects from individual fixed effects

I have a conceptual econometrics question I was hoping to get some help with. I have a panel of 100 individual firms over time (10 years) at the quarterly frequency across 10 countries. One of the ...
1
vote
1answer
71 views

Do I need to log transform these two kinds of variables?

Before regression (like fixed-effects, random-effects), for these two kinds of variables: 1) Price levels (e.g. price level of capital formation) They are usually ratios like 0.987, 1.022..., based ...
1
vote
0answers
32 views

How can I find state-level data on the unemployment rate of youth for 2014 and 2015?

I have found state-level, monthly unemployment data for 2014/2015, and I have found national monthly youth unemployment data for 2014/2015. However, I need all four together; State-level, monthly ...
1
vote
0answers
69 views

OLS estimator panel data

I need to show that the residuals from the regression of $x_{it} - \bar x_i $ on a constant and $\bar x_i $ is just $x_{it} - \bar x_i $ itself. By stnadard OLS regression results, in the simple ...
1
vote
1answer
261 views

Panel Data and Forecasting

I have balanced panel data for around 130 countries, over three years. I ran a fixed effects regression using 'country' as my panel variable, and adding dummies for 'year'. I want to forecast the ...
0
votes
1answer
68 views

When I should concern if the number of observation varies quite a bit?

I am running an international regression, the number of observations and adjusted R-squared is as below In Column 1, we only consider the effect of a leniency law without any additional controls, and,...
0
votes
1answer
28 views

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

I'm estimating this equation for the trade flows between various countries at time t: ($i$ and $j$ are countries) The last 3 terms are control variables, one of which is oil prices. Can I add oil ...
0
votes
1answer
61 views

model design - fixed effects model for paired differences

I have two panels. One panel that consists of an economic indicator variable across firms and years. The second panel consists of the same economic indicator variable across the same firms and years. ...
0
votes
1answer
59 views

Is there any confliction in dataset and sample period description here?

Dasgupta,2019, p.2598 documented that they consider all nonfinancial firms in Worldscope, Compustat Global, and Compustat North America data sets from 1990 to 2012 However, they used the [-2;+5] ...
0
votes
1answer
30 views

Synthetic control question on donors

I'm using synthetic control methods. The treatment group has covariates that are the extrema of the values across itself and all potential donor units. So, say, on covariate $x_1$, the treatment unit ...
0
votes
1answer
28 views

How to interprete independence between treatment indicator and outcomes?

In Woodridge's textbook "Econometric Analysis of Cross Section and Panel Data", page 907, it says ...the treatment indicator $w$ is statistically independent of ($y_0$, $y_1$), as would occur when ...
0
votes
1answer
266 views

Fixed Effects Estimation and Inconsistency

Consider estimation of the following population regression function: $G{Y_{it}} = {\beta _0} + {\beta _1}IN{F_{it}} + {\beta _2}DE{M_i} + {\beta _3}POI{L_t} + {\varepsilon _{it}}$ Where: $GY_{it}$ = ...
0
votes
1answer
35 views

How to estimate a system of equations with missing values in dependent variable with sureg?

I am trying to estimate vote shares of different parties. So, suppose I have 4 parties, each having its own column in the data set. Hence, the sum would be tending to 1. Now, if a party does not ...
0
votes
1answer
54 views

GDP per Capita in Panel Data: Must the base year be the same for all cross-sections?

I'm trying to run a small project using time series in panel data. One of the variables used is the GDP per capita for a few countries (the countries are the cross-sections). Is there a problem if the ...
0
votes
1answer
317 views

R's felm() fixed effects vs. factor() within lm()

I am wondering why using felm's fixed effect option versus using the factor() function is different? I was under the impression they were one in the same? I am running a panel regression where i is ...
0
votes
1answer
141 views

How to solve duplicate couples error in unbalanced dataset

I am trying to perform a regression on unbalanced panel data in R. In order to set the data as panel data, I use the following code: ...
0
votes
1answer
38 views

Interpretation of dummy variable : Random Effects Model

I am running a RE regression and I have export similarity index between two countries as the dependent variable and have a dummy variable such as share a border(=1 if countries share border, 0 ...
0
votes
1answer
19 views

How do I adjust for heterogeneous labor markets when calculating the wage premium?

I have a dataset with mean and median wages for particular geographic areas around the United States. I am interested in calculating the wage premium between some areas. I can already do a simple ...
0
votes
1answer
96 views

Endogeneity problem with a dummy variable

I have a panel data model as following, $$Y_{it}=intercept +B_1X_{it}+B_2Q_{it}+error_{it}$$ where $i$ is for firm and $t$= time. $Y$= trade credit demand, $X$= inventory cycle, as inventory ...
0
votes
1answer
195 views

ln(log) of energy consumption in a econometric analysis

i'm applying a panel data analysis. I have four variables; real GDP, trade openness, energy price and energy consumption. I took ln (log)of trade openness,real GDP and energy price. but i cannot ...
0
votes
0answers
15 views

What can explain a wrong sign on difference-in-difference estimator?

I am trying to estimate the casual impact of treatment T on outcome Y based on an unbalanced panel data. The data consists of two subsamples: subsample A and subsample B. Based on context of the ...
0
votes
0answers
15 views

In difference-in-difference method, should I code treatment exposure as 0 or missing for pre treatment rounds?

In my data, there are some pre-treatment rounds, and some post-treatment rounds. I use months of exposure to treatment in my analysis. So for post-treatment rounds, I have positive values for months ...
0
votes
0answers
14 views

Which countries should i remove from a panel data based on the coefficients for capital accumulation

My question may sound more econometrical than about economics at the begining, but it is the contrary. I am working with a panel data of about 150 countries and it is cointegrated. My variables are ...
0
votes
0answers
35 views

Do people detrend panel data before estimation?

For a panel data i= entity and t= time, must the data be stationary for each country before estimation? Thus, should the data for each entity be detrended before estimation? Or maybe you should not ...
0
votes
0answers
6 views

How to interpret fixed effects from a binary logit model in which all dependent variables are categorical? Marginal effects does not work

The study is on survey data from UK households with a lot of missing variables. I ran a logit regression to predict the probability of Y (binary variable)and estimated the corresponding marginal ...
0
votes
0answers
26 views

Advice on research methodology

I had wanted to ask this community for some advice on some potential methodologies I am developing. Context: I want to evaluate the effectiveness of a component of this scholarship program, which ...
0
votes
0answers
12 views

SIPP longitudinal data

I am looking to merge the various core data files from SIPP - 1989 to 2014 - so that I can exploit its panel and cross section features. Basically I want to create one dataset for all these years ...
0
votes
0answers
32 views

Comparing Real GDP with different base years and currencies

I have a quarterly panel data of several countries. I have taken the data from Fred. Some countries' real gdp is in chained 2010 prices and some in other years (such as 2015 and 2018). How can I make ...
0
votes
0answers
29 views

Could a time series be a pooled OLS?

Hello to everyone on the forum, I am currently working with intraday electricity price data. In the electricity market each hour is considered as a different product, because the demand and production ...
0
votes
0answers
13 views

Should I use panel or cross-sectional weights for survey data when running OLS regression with command "reg"?

if I have a unbalanced panel survey data of four years, I wondered if I still needed to apply panel weights when run "reg", as pool ols regressions on it? Or should I apply cross-sectional ...
0
votes
0answers
59 views

Panel Data: Fill missing values (on ends) to balance dataset?

So I have this project to work on with panel data. I am using a dataset featuring most European countries and some of my variables are Macroeconomic such as GDP, GDP per Capita. Thing is, for some ...
0
votes
0answers
16 views

Coefficient omitted due to time fixed effect and multi-collinearity

I am working on a research paper (my first one) where I am dealing with company level unbalanced panel data. There are broadly two types of control variables in the study - a) firm level control ...
0
votes
0answers
213 views

Stochastic Frontier Analysis (SFA) in Stata: Technical Efficiency Estimates

I am prepared to look quite the fool, but hopefully you can help me. I am trying to perform Stochastic Frontier Analysis on a balanced panel dataset by estimating the following model: I think the ...
0
votes
0answers
13 views

Interaction term between lagged and non lagged variable Fixed/Random effect model

I am analyzing a panel dataset. I am wondering if I could use an interaction of a lagged variable ( one time step behind) and a non lagged variable ( both continuos indipendent variables) and still ...
0
votes
0answers
34 views

graph of dependent variable after years of restructuring in panel data

i'm not very able to use stata. For my thesis, I have a panel data(1970-2017) for different countries and a lot of variables. In this dataset, there is a dummy (dhairendH) that is equal to one in the ...
0
votes
1answer
71 views

Fixed Effects Model Interpretation

$$\ln(\text{pay})_{itj}= \alpha_{ij} + \beta\ln(\text{performance})_{jt} + \gamma X_{ijt} + T_t + ε_{ijt}$$ This fixed effects model was used to investigate the link between pay-performance throughout ...
0
votes
0answers
54 views

How can I add fixed-effect constant variable in Stata?

I want to test a model like this: alpha denotes full set of country fixed effects and delta denotes full set of year fixed effects in the article in which this model is used. My model is similar to ...
0
votes
0answers
17 views

Handling large percentage of zero-valued observations in the dependent variable in a panel dataset

I am writing a paper using a panel dataset in which my depepent variable has an large percentage amount of zero values observations. Those zero values are real zeros, I mean they are not missing data ...
0
votes
2answers
25 views

Merging Panel data with two different splits. Is it possible?

I have two data frames with panel data. The first contains data on companies on a yearly basis. The layout is as below: ...
0
votes
0answers
29 views

How to run Panel data analysis when data on the dependent variable is on a 5 year interval basis and that on independent variable is on yearly basis?

I am reading a paper which empirically tests if primary exports affect education attainment in LAC countries over the period 1965 to 2010. It uses percentage of secondary school enrollment as ...