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
Nick Cox <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: Thread-Index: Ac6az5j6o0o5lK2uQ4WEUAp2HLd+Sg==
Date
Fri, 16 Aug 2013 23:59:11 +0100
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/