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
Use a for-loop to generate dummy variablesI'm having a hard time generating dummy variables using a for loop. I have a variable with some valu…
Interpretation of interaction terms in logistic regressionI am not being able to interpret the interaction terms properly. can please anyone help? …
Advice on extracting data from regression and exporting into a matrixDear all, I am trying to extract data from a pvar and mold it into a matrix. The output of the pvar…
Doing Merge using rangejoinHello, I am a new member to this forum! Nice to meet you all. I have just went through set of posts…
Generate new variable in a panel taking differencesHello, I am working in stata 15 on windows 10 and I want to create a variable that is the differenc…
Subscribe to:
Post Comments (Atom)
0 Response to combine variables panel data graphs
Post a Comment