I was just bitten by unexpected behavior: I have so many unique combinations on two ID variables, that -egen newid = group(id1 id2)- produced a float variable with 5.60e+07 as its maximum, which doesn't have enough precision to make the whole exercise useful (i.e. different newid values will be rounded together). I hope -egen long newid=…- will fix this, but I am at a loss why this is left for the user to take care of. In any case, here I flagged this for other users, otherwise I did not find a trace of this on the web.
-
Login or Register
- Log in with
Comment