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
Forcing Stata to Post a Singular Variance-Covariance Matrix ("variance matrix is nonsymmetric or highly singular")Hello all, I am trying to get around the "variance matrix is nonsymmetric or highly singular" erro…
DrI try to import a Excel file but it shows "<istmt>: 3499 import_excel_import_file() not found"…
Importing jason files.I need to import thousands of JSON files saved on my local hard drive and read in all the variables …
dealing with a time varying variable in stcoxI am analyzing survival in a group of respiratory patients it turns out that one of my variables (FV…
Margins plots curve lines other than straight lineAfter using "margins" command, I use "marginsplot" command to graph the margins plots. I get straigh…
Subscribe to:
Post Comments (Atom)
0 Response to Combining rows in stata
Post a Comment