Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: keeping first digits in number


From   Juan Julio Gutierrez <juanju@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: keeping first digits in number
Date   Thu, 21 May 2009 13:56:42 -0700 (PDT)

Hello all

I am working with ISIC codes at the four digit level, but want to perform descriptives at the two digit level.

Ideas on how to create a variable that delete the last 2 digits of the 4 digit categories but keeps the first two?

Thank you

JJ


      
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index