Dear All,
I have a dataset with 52,145,974 observations and 93 variables. I want to create a unique id, so I executed the following command.
gen id = _n
However, this did not work. the generated variable id did not identify the observations uniquely.
Shoummo
Related Posts with Problem with gen id = _n
Coefficients of divided sample both smaller than coefficients in full sampleI'm running a simple regression and comparing results with certain exclusion criteria. For example, …
gsoundexI would like to use the old handwritten soundex command that allows to specify the length. To copied…
Creating variables with a sequence of numbers based on whether other variables stay the same (for case:control matching)Hello everyone. This is my first time posting here, and I do so because I haven't been able to find…
ivregress and country fixed effectsHi friends I am new to the use of STATA and Instrumental variables (IV) and using STATA 14.2 I am …
combined graphDear Stata users, Array Array I am wondering how can I combine the above 2 graphs and draw g…
Subscribe to:
Post Comments (Atom)
0 Response to Problem with gen id = _n
Post a Comment