Hi
How can the left structure be transformed into the right one?
The 'school' indicates school id.
The 'open' means the year of establishment.
The variable name of 'open' in the output table (right) can be different.
Array
Related Posts with data structure transformation
Creating one more observation systematicallyI just want to create one more observation. I did this sysuse auto, clear count local count=r(N) lo…
Two questionsHello, I have two questions regarding the data set below. First I have two data sets, one that shows…
OLS regression with industry fixed effectHi everyone, I am a starter user of Stata 16. So, my apologize in advance if I ask a simple question…
Bootstrapping with dummiesDear Stata Forum, I have data with a small number of clusters but with a large number of individuals…
Overlaying two KM graphs: same dataset, different stssetHello Statalisters, I use Stata 15 on Mac and would like to overlay two KM graphs, obtained using t…
Subscribe to:
Post Comments (Atom)
0 Response to data structure transformation
Post a Comment