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
Power calculation for sensitivity of a diagnostic testHi, I want to test the sensitivity of a rapid test & need to calculate the desired sample size.…
Lagged response modelDear Statalisters, I am using a longitudinall dataset in which my main outcome is "QI score" (measu…
npregress series: How can I fit an additively seperable model with more than one variable per additive function?Hey, Im trying to fit a semiparametric model with npregress series. The model I want to fit should …
Using xtreg, error "Panels are not nested in clusters"Dear users, I would like to find out how shocks affect household consumption. I have a balanced pane…
Margins postHi all, I have the following problem: using the margins plot command to look at the graph between my…
Subscribe to:
Post Comments (Atom)
0 Response to Combining rows in stata
Post a Comment