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
Update to -kmatch- available from SSCAn update to kmatch is available from the SSC archive. Type Code: . ssc install kmatch, replace t…
Replace values of a variable depending on a series of id variablesHi, Im currently trying to calcule a growth rate for a variable but the way that my data is organiz…
Gsem -problems with SEM builder toolHello everyone, I am running a gsem model using the SEM builder and I keep getting this error: pare…
Estimating Demand Elasticity with Log-Log Model | How to Specify Panel Regression?Hello, My objective is to estimate the effect that a 1% change in the volume of ride-share trips co…
Random-Number Generator Version ##: set seed - different resultsI found an issue with using the RNG and set seed with different versions of Stata. I had used versio…
Subscribe to:
Post Comments (Atom)
0 Response to Constructing panel data set
Post a Comment