Scott, Molly
>
> I'm having some issues trying to format variables--
> sometimes type-- i.e.
> long vs string etc.-- doesn't survive the stat-transfer
> process correctly.
> I know I can change string to essentially categorical
> variables with labels
> with encode, but does anyone know how to change the
> underlying storage type
> of the variable? The folks here are SAS people and don't
> know how to do
> such an operation in STATA.
I suggest that you check out help for -compress-,
-recast-, -destring-. Several chapters
of the User's guide [U] are also useful.
-destring- may need to be your first port of
call.
The FAQ
http://www.stata.com/support/faqs/data/newexcel.html
-- although explicitly about problems with
Excel -- touches on several details
which can cause misreadings of variables
so far as users are concerned.
Nick
[email protected]
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/