Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Re: variable value is asterisk


From   "Heather Gold" <[email protected]>
To   [email protected]
Subject   Re: st: Re: variable value is asterisk
Date   Fri, 28 May 2004 14:15:18 -0400

Thanks. I just found the error.
Heather

At 02:04 PM 5/28/2004, you wrote:
I have not been able to reproduce this behavior.  I find asterisks read just
fine in this way

Michael Blasnik
[email protected]

----- Original Message -----
From: "Heather Gold" <[email protected]>
To: <[email protected]>
Sent: Friday, May 28, 2004 1:04 PM
Subject: st: variable value is asterisk


> Dear Fellow Listers:
>
> I've searched the FAQs,etc, but haven't been able to find a way to convert
> an asterisk (*) in a raw data file to a meaningful dummy variable in
Stata.
> I'm using an -infix- command with dictionary, and use str in front of the
> variable name, but Stata doesn't read in the * and leaves the column
blank.
> The urban variables listed below have a value of * or blank, indicating
the
> metropolitan area is urban or not.
> ----
> infix dictionary using msbeaf_02.txt {
> str state 26-27
> str st_cnty_ssa 30-34
> str st_cnty 37-41
> str MSA83 43-46
> str urban1 47
> str MSA84 49-52
> str urban2 53
> str MSA_3 55-58
> str urban3 59
> str MSA88 61-64
> str urban4 65
> }
> -----
>
> Any help greatly appreciated (including an already-created crosswalk of US
> MSAs to state-counties and flag of whether urban!),
> Heather
>
> *
> *   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/


*
*   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/
*
*   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/



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