Hello everyone. Hope you all are doing fine. I need some help regarding Stata commands. I want to deal with duplicates in my dataset. I have two rows with unique information belonging to one LSS-ID. Now I want to convert the second row data of the LSS ID into colums and append it. Next to row 1 columns as columns. Please help.
For example:
I want row 92 observations in front of row 91 last column so that there is only one row for one LSS ID
Array
Related Posts with Converting row wise data into columns of Duplicate IDs
Suest command with more than 300 modelsHi all, I'm estimating arond 1000 models where the only thing that changes is the dependent variabl…
Nested loop question (index changes for every loop)Hi, Thanks very much in advance for your time. I want make the following commands into the nested lo…
Restrict AxisI would like to restrict the x and y axis of a graph that was made using the following command; sca…
Wildcards with noccurHi there, Can I use wildcards with the egen function noccur? If not, is there another way to use wi…
qreg converges in Stata/IC 15.0 (& gives reasonable standard errors), but fails to converge in Stata/MP 17.0Dear All, I have a household-level dataset of 511,877 observations, and run a quantile regression o…
Subscribe to:
Post Comments (Atom)
0 Response to Converting row wise data into columns of Duplicate IDs
Post a Comment