Hello Stata Friends:

I would like to make the values of one variable, each into their own new variables themselves to be applied to everyone in a given group (in this case, state-year pairs).

I currently have:
Array

I am trying to get:
Array

Any help on this would be greatly appreciated!

Thank you!
Carlos