Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 72802

Keeping last two digits of integer values in large dataset

$
0
0
Dear Stata users,

I want to identify treatment group (here, these are sub-districts) of 2010 to match with the other two years (2005 and 2000). The sub-district coding system has been changed in 2010. To match with the earlier years, I need to keep only the last two digits of the identification code which is integer values. Can anyone tell me how to keep only the last two digits from an integer?

Cheers,
Azreen Karim.

Viewing all articles
Browse latest Browse all 72802

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>