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
Help with changing reference category when doing a cox regressionHello, I am doing a cox regression and have a variable socioeconomic status 'ses' which I have label…
xtlogit does not converge (not concave)Dear Statalist I'm having difficulties trying estimate the following model working with panel data …
how to use color to differentiate the two groups? Code: set scheme s2mono * Example generated by -dataex-. To install: ssc install dataex clear inp…
Append/ merge datasetsI am using survey data which i was able to download for each year directly into stata. However i wan…
Collapse commandHello In my dataset, I have two string variables. I am trying to summarize the number of implements…
Subscribe to:
Post Comments (Atom)
0 Response to Problem with gen id = _n
Post a Comment