Dear Forum,
I am rearranging my dataset to fit my method, but I got stuck trying to combine rows that have the same inputs. As you can see in the picture, the first 255 rows have the same observations. I want to combine these 255 rows into 1 row. The same for all the other rows. So I would go from 263,536 rows to 2365 rows.
Thanks in advance,
Kind regards,
Caro
Array
Related Posts with Combining rows in stata
2SLS and Heckman SelectionIs there an existing package on Stata to estimate a model to account for both endogeneity (2SLS) and…
Stata do-editor settingsDear All, is there any way to preserve the option to show whitespace in the Stata's do-editor? (the…
Working with data frame: executing commands on all framesHi, I am pretty new in using data frames. I intend to execute commands on all frames after creating…
candisc command and estat anova? Hello everyone, I have run the “candisc” command and need advice about how to get the R-squared, F …
How to find matched casesLets suppose we have the following data Code: * Example generated by -dataex-. To install: ssc in…
Subscribe to:
Post Comments (Atom)
0 Response to Combining rows in stata
Post a Comment