Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: Unexpected errors using levelsof


From   Austin Nichols <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: Unexpected errors using levelsof
Date   Wed, 28 Aug 2013 14:14:10 -0400

Jose <[email protected]>:
So
display `j'
or
loc i: display `j'
display "`i'"
etc.

On Wed, Aug 28, 2013 at 2:06 PM, Morales Arilla, Jose
<[email protected]> wrote:
> This is good, since it doesn't bounce an error. However, it's not
> producing the exact name in the database. For instance:
>
> . levelsof countryname if iso=="BRA", local(j)
> `"Brazil"'
>
> . display `"`j'"'
> `"Brazil"'
>
> This also happens when I run the graph. I'm aiming at the output: Brazil
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index