Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down at the end of May, and its replacement, **statalist.org** is already up and running.

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

From |
Nick Cox <njcoxstata@gmail.com> |

To |
"statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |

Subject |
Re: st: Binning question |

Date |
Mon, 1 Aug 2011 16:15:08 +0100 |

Nick On 1 Aug 2011, at 12:35, mcross@exemail.com.au wrote:

Thanks Nick, I have some 300 size values that need binning for each of my 96 smpls.With so many categories - the equal-width bin method will end upsplittingcertain observations into separate bins (so for example; 39.27 mightendup in one bin, while 39.38 might end up in the next bin) depending on where the bin range ends. I was hoping for some code that might recognize certain size values as belonging to the same distribution and bin them as such. Hopefully someone might suggest some code to help me bin this data. Cheers, Mike. Much easier and clearer just to use equal-width bins. Nick On Sat, Jul 30, 2011 at 10:14 PM, <mcross@exemail.com.au> 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.94Size is normally distributed and the variance is small. I want tobin mysizes into categories (eg “39”, “45” and “49”), forfurther analysis.I’d like to define the range for each category by using the SD of each setof size observations - eg the SD of (39.38 and 39.27).

* * 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/

**Follow-Ups**:**RE: st: Binning question***From:*"David Radwin" <dradwin@mprinc.com>

**References**:**Re: st: Binning question***From:*mcross@exemail.com.au

- Prev by Date:
**RE: st: Standard error of the forecast** - Next by Date:
**Re: st: Binning question** - Previous by thread:
**Re: st: Binning question** - Next by thread:
**RE: st: Binning question** - Index(es):