Dear Statalist members,
I want to merge two panel data sets. One contains information regarding 2000 firms over 4 years, and one of the variables is the country they are from, but it also contains time-sensitive information such as net income and total assets. The other data set contains country-information concerning the same four years. I want to match the country information in a particular year to the firm information in that same year based on the country the firm is from. For example, the GDP per capita of Germany in 2013 needs to be added to the observations regarding German firms in 2013, and the GDP per capita of Germany in 2014 needs to be added to the observations regarding German firms in 2014, etc.
How do I do this? Many-to-one merging does not work in this case and I've heard that many-to-many merging provides useless results.
Can anyone help me?
Kind regards,
Elles
Related Posts with How to merge two panel data sets?
 Residual centering (i.e., orthogonalizing)Hello All stata list members,
How can i do it in stata if my two variables are x1 ,x2 and its Produc… Residual centering (i.e., orthogonalizing)Hello All stata list members,
How can i do it in stata if my two variables are x1 ,x2 and its Produc…
 Graph formatting for Forrest plotsI have generated a meta-analysis forrest plot using metaprop by subgroup (ie presented 2 subanalyses… Graph formatting for Forrest plotsI have generated a meta-analysis forrest plot using metaprop by subgroup (ie presented 2 subanalyses…
 Conflicting stationarity test results, how to proceed?Hi there,
I have time series data on a number of variables and am hoping to do VAR and VECM analysis… Conflicting stationarity test results, how to proceed?Hi there,
I have time series data on a number of variables and am hoping to do VAR and VECM analysis…
 Execute single commands of a Do-File on MacHello everyone,
my question is: How do I execute single commands of a Do-File on a Mac? In Windows … Execute single commands of a Do-File on MacHello everyone,
my question is: How do I execute single commands of a Do-File on a Mac? In Windows …
 Generate new variable in panel data on the condition that another variable is contained within a list.New to this forum, so sorry for the wordy title.
I have 9 waves of individual level panel data on d… Generate new variable in panel data on the condition that another variable is contained within a list.New to this forum, so sorry for the wordy title.
I have 9 waves of individual level panel data on d…
Subscribe to:
Post Comments (Atom)
0 Response to How to merge two panel data sets?
Post a Comment