I have around 40,000 obs in my dataset and I wish to club 1-10 obs as code 1, 11-20 as code 2.. so on and so forth. Can anyone suggest a command for the same?
Related Posts with How to create a identifiers in Stata?
Oaxaca with instrumental variableDear all, I am trying to use an Oaxaca- Blinder decomposition to see if a variable of interest cont…
calculate score in StataHello, I gave variables like this: Array Which means: 0. Not using 1. Pill 2. IUD 3. Inje…
Export variance covariance matrix to csv fileFor example, sysuse auto, clear I want to export the variance - covariance of variable price mpg h…
reg2hdfespatialDear all, I want to use this link to install the user-written command -reg2hdfespatial-in Stata. ht…
Generating Quarters from date variableHi All, I want to generate quarters in my data set. I have my date variable in the D-M-Y format. I …
Subscribe to:
Post Comments (Atom)
0 Response to How to create a identifiers in Stata?
Post a Comment