Hi
I am trying to construct a panel dataset comprised of yearly observations of import values for different countries. Also included other basic variables like GDP, employment etc.
All of the variables are measured at the country-year level, so there is one observation for country x in each year.
However, the import values are refined to different product codes (HS codes) in order to differentiate between different products which have been imported. The issue with this is that there are thousands of different HS codes, so the data isn't balanced. It basically shows different import values for different HS codes, at country x in year y. All of the other variables (GDP, Employment etc.) are just repeated for each observation of HS code in that year.
Is this an issue for an accurate regression? Would I need all of my variables at the country-year level and is it possible to collapse the import values to this level?
Thanks for your help.
James (total beginner if that isn't already obvious)
Related Posts with Constructing panel data set
line graphic of series from 1st occurrence Covid-19Hello! I am using the data set provided in this study, "Oxford COVID-19 govt response tracker' here …
similar observations within one variableHi, I would like to spot the observations that are very much alike within one string variable. Let…
Quick question: winsor right only & interactionDear members I have 2 very quick questions. First: I need to winsorize a variable further ONLY on …
Fine and Gray calculate individual risksDear all, I would like to calculate the 10-year risk of stroke for each individual in my dataset, g…
Dummy variables in first difference regressionHi guys, I have a potentially very stupid question to ask, but for the life of me I can not figure …
Subscribe to:
Post Comments (Atom)
0 Response to Constructing panel data set
Post a Comment