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: Thread-Index: Ac6az5j6o0o5lK2uQ4WEUAp2HLd+Sg==


From   "Lachenbruch, Peter" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   RE: st: Thread-Index: Ac6az5j6o0o5lK2uQ4WEUAp2HLd+Sg==
Date   Sun, 18 Aug 2013 00:47:54 +0000

Last I heard, Canada was not a state...:)

Peter A. Lachenbruch,
Professor (retired)
________________________________________
From: [email protected] [[email protected]] on behalf of Nick Cox [[email protected]]
Sent: Friday, August 16, 2013 3:59 PM
To: [email protected]
Subject: Re: st: Thread-Index: Ac6az5j6o0o5lK2uQ4WEUAp2HLd+Sg==

su id if state == "Texas", meanonly
di r(min)

52? Puerto Rico? Canada?
Nick
[email protected]


On 16 August 2013 23:30, Md Alauddin Majumder <[email protected]> wrote:
> Dear Statalist,
> I have a data set like the following:
>
> ID number                        State
>    1                             Alabama
>    2                               Alaska
>    ..                                 ....
>    ..                                 ....
>    ..                                 ....
>   52                            Wyoming
>
> I am looking for how to code in Stata to find ID number of a particular state. Any help will be greatly appreciated. Thanks in advance.
>
>
> Regards
> Majumder
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *
> *   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/
*
*   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/
*
*   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