This is the same question so far as I can
see, so gets the same answer. Please study
my FAQ carefully and that of Kit Baum.
Nick
[email protected]
Danielle H Ferry
> Nick, Joseph - Thank you for your helpful comments. I stupidly did
> not put quotes around my strings. So that is why it was
> barking at me
> that they didn't exist. The suggestion below is good - I
> will try this.
>
> As for whether there is a better way to do what I want ... probably.
> I welcome any suggestions: I am reading in several datasets, each
> containing different economic series at the metropolitan
> level, but I
> want to keep data for only the top X metro areas. Metro areas are
> defined differently for different series' (i.e., Los Angeles
> could be
> represented as LAS or LAX depending on whether we are talking about
> MSA or CMSA). Rather than figure out which datasets use which
> definition for each metro area, I want it to be flexible - keep if
> msa==LAS | msa==LAX (except that I have a list of about 145
> MSA names
> is list). Is there a better way of doing this?
>
*
* 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/