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: Binning question


From   Nick Cox <[email protected]>
To   [email protected]
Subject   Re: st: Binning question
Date   Sun, 31 Jul 2011 09:12:14 +0100

Much easier and clearer just to use equal-width bins.

Nick

On Sat, Jul 30, 2011 at 10:14 PM,  <[email protected]> wrote:
> (Stata version 8)
>
> Statalisters,
>
> I’m collecting various size measurements from multiple samples…
>
> Smpl   Size
> 01   39.38
> 01   45.26
> 01   48.81
> 02   39.27
> 02   45.28
> 02   48.94
>
> Size is normally distributed and the variance is small. I want to bin my
> sizes into categories (eg “39”, “45” and “49”), for further analysis. I’d
> like to define the range for each category by using the SD of each set of
> size observations - eg the SD of (39.38 and 39.27).
>
> Hopefully someone might suggest a practical way to achieve this.

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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