I find when use gsort var, when var has some duplicates of obervation, the order after gsorting are not stable. How to make it stable?
Related Posts with gosrt are not stable when identifiers are the same, how to make it the order stable?
Stata 16: Is it not possible to have BOTH the 'Variables' and 'History' windows be visible?It's a minor inconvenience--and perhaps I'll get used to it--but I still like how earlier versions o…
Handling duplicatesHello, This is my first post here and I am generally new to Stata, but I'll try to formulate my con…
Number format which does not add zeros to natural numbersI want Stata to show decimals only for numbers which are not natural. For instance - I want the numb…
Date formatHello, In the dataset, the date is in format : Code: 2015 - 07 - 01 00:00:00 2016 - 01 - 01 00:00…
Rename after reshape long to wideHi, I changed the data format from long to wide (variable 'binary') and the data is in form: Code…
Subscribe to:
Post Comments (Atom)
0 Response to gosrt are not stable when identifiers are the same, how to make it the order stable?
Post a Comment