Hello,

I want to reshape my data long to wide.

So, I googled it and found this web page: https://stats.idre.ucla.edu/stata/mo...-long-to-wide/

This is a sample data from the web page.
famid birth age
1 1 9
1 2 6
1 3 3
2 1 8
2 2 6
2 3 2
3 1 6
3 2 4
3 3 2
I want to reshape my data like this:
age1 age2 age3
9 8 6
6 6 4
3 2 2
Each column has age values of each id. I don't care about birth. So, the column age1 has age values from famid = 1 and the column age 2 has age values from famid =2, and so on. Thank you for your help.