I am using a very large dataset and this technique for generating a unique id for each observation doesn't work because _n caps out somewhere in the +e8 range. Is there a quick and easy alternative or a way to correct this?
Thanks.
Related Posts with Too many observations for gen id = _n
Multilevel Panel Data with CPS DataGood evening, Using the below Census Population Survey variables, I need to figure out the change i…
Identification of Treatment and Control GroupRespected members, I am trying to employ DID as a means of analysis. In my dataset of 287 firms bet…
Removing NA Across varI have data in string as shown below data1 data2 NA NA NA NA NA NA NA 8415739 NA 10024002 N 1205788…
Generate var using sequential variables namesHi everyone, p1_1 p1_2 p1_3 p2_1 p2_2 p2_3 p3_1 p3_2 p3_3 1 1 1 2 2 2 3 3 3 1 1 1 2 2 2 3 3 3 1 1 …
Generate sum of variables with sequential variables namesHi everyone, I have a data with these sequential variable names. p1_1_1_1 p1_1_1_2 p1_1_1_3 p1_1…
Subscribe to:
Post Comments (Atom)
0 Response to Too many observations for gen id = _n
Post a Comment