Hello,
I want to transform my data set. I have a data set looking something like that:

Using the table command in Stata, I would be able to get these results (similar pivot tables in Excel):

However I want to have these results as variables which would look like:

Shortly, how could I save the pivot table values as variables?
Thank you so much
Alper Demirdogen
I want to transform my data set. I have a data set looking something like that:
Using the table command in Stata, I would be able to get these results (similar pivot tables in Excel):
However I want to have these results as variables which would look like:
Shortly, how could I save the pivot table values as variables?
Thank you so much
Alper Demirdogen
Comment