Hi I'm working with panel data, trade among 10 countries in the past 27 years. I want to add and graph trade openness for each country against all other countries for the period. Example Argentina against Bolivia, Brazil, Colombia, Ecuador... for the entire period.
How do I create a new variable with the sum of all the combinations for Argentina? Example I would need to add Argentina against all 9 other countries for 1993 and then for 1994 and so on and then create a line (time) graph
thank you
Related Posts with combine variables panel data graphs
Firthlogit, marginal effects and interactionsDear all, I tried to run a logit model with an interaction effect which unfortunately does not work…
Stata coding (DID, Event study and Triple differences)Hello! I am doing DID, Event study and Triple differences, but it is not easy for me to make the ri…
Estimate how long reshape should take.Is there a rough way to calculate how much time a reshape from wide to long should take, or what is …
Difficiculties with predicting GDPHi, I am writing my bachelor's thesis right now, and I am having difficulties with the predict comma…
Bug in -svy: mean- ?I have a bit of code that looks like this: Code: qui { putexcel set test.xlsx, replace us…
Subscribe to:
Post Comments (Atom)
0 Response to combine variables panel data graphs
Post a Comment