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: Tabulate frequencies
From
Ryan Stevens <[email protected]>
To
[email protected]
Subject
Re: st: Tabulate frequencies
Date
Fri, 21 Jun 2013 22:40:09 -0500
-inrange- is what you are looking for. So for 0 to 9, inclusive, you just use:
tab variable if inrange(variable,0,9)
Best,
Ryan
On Fri, Jun 21, 2013 at 9:54 PM, Betty Burton
<[email protected]> wrote:
> I am trying to get frequencies for a range of data, e.g. 0 to 4, etc.
>
> I was able to do:
>
> Tabulate variable if variable == 0
>
> But I need the interval 0 to 9, etc.
>
> Thanks
>
> Sent from my iPhone
>
> ________________________________
>
> UT Southwestern Medical Center
> The future of medicine, today.
>
>
> *
> * 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/