Stata - How to Reshape Your Data
Вставка
- Опубліковано 9 лют 2025
- Welcome to my classroom!
This video is part of my Stata series. A series where I help you learn how to use Stata. In this video, we take a look at how to reshape your data from long to wide format and vice versa.
Note: What I show here is my take on the topic. I would be happy to receive comments!
Useful links:
►Twitch: / steffens_classroom
►Twitter: / steff5001
►Workpage: www.rug.nl/sta...
►Subscribe: cutt.ly/Qfu9cmV
Thank you for great courses! What is the command for creating a time variable? I did not understand exactly what you said :-)
The time variables were already created in this data :)
You can look in the tsset video for help.
Thank you for the great course! Great work!
I think we all would be very thankful if you would add some videos about visualising techniques :)
I thought about it many times. There are just so many things xD maybe I should just start simple.
Great video, excellent teaching style. However, in the long-to-wide format, if we make agegrp constant, it would be more presentable, as reshape wide bp, i(patient) j(when)
That is a good point.
This would be a matter of taste, but your suggestion would look better :)