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
How does rforest handle missing values?Hi, I am trying to understand how the rforest command in Stata handles missing values in the indepe…
keeping only unique values using egen concatHello, I am trying to generate an indicator called mo_all using egen and concat that records all th…
outreg2Hello, I have a question regarding exporting the Stata table using outreg2. The following is my cod…
long string matchingI have 2 data sets of products 1) asicc product codes and corresponding product names 2) hs 1996 pro…
npgraph, post estimation command for npregressHi everyone, Hope you are doing great. So I'm currently working with the command npregress and want…
Subscribe to:
Post Comments (Atom)
0 Response to data structure transformation
Post a Comment