Hi there,
I am happy to be new in this forum and currently writing on a Panel Data Analysis for a course in the university.
Unfortunately I am not that familiar with Stata and hope that you can help me by rearranging my variables.
My Data_Editor looks the following: Array
But I want instead of Series_Name as a variable, the variables Population, Energy, GDP and Gross Capital Formation, that it looks like this:
Array
How can I reshape my data? Would be very thankful if you could help me.
Kind regards,
Tom
Related Posts with Reshaping Data and Variables for a Dynamic Panel Data Analysis
Deleting variables with specific values in a specific rowI would like to keep variables if the third-row value is SHD. If the third-row value is not SHD, I w…
Retrieve the "at legend" on top of margins tableHi, I'm using margins to calculate about 3600 predicted values in a loop, using the option at() wit…
Combine two age group variables, tell stata to use youngest ageHi, I am a criminology student analysing survey data. I have two age grouped variables which I would…
Mi impute pmm nearest neighbor matchingHello, I am using mi impute pmm command and I have a question regarding nearest neighbor matching. I…
Looping replace functionHello all, I am new to STATA and trying to loop replace function. Is there a way to improve my code?…
Subscribe to:
Post Comments (Atom)
0 Response to Reshaping Data and Variables for a Dynamic Panel Data Analysis
Post a Comment