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
xtivreg postestimation commands for endogeneity, week instrument and over-identification testHi, I'm solving simultaneous equations with endogenous variable, hence choose 2sls. I've panel data…
cmogram problemDear StataList Users, I have attached a small and a relevant portion of my data. V010 stands for m…
Diagnostics for melogitI wonder if anyone can help me with the commands for diagnostics and model fitting for a multi level…
Time Series. Problem with sample size and ForecastingDear Stata Forum member, I hope you are having a good day. I am conducting research to analyze the …
Generating new variable as a function of most common observation in another variableHey everyone! I am trying to create a concentration index for occupation across States for different…
Subscribe to:
Post Comments (Atom)
0 Response to Combining rows in stata
Post a Comment