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
"David Radwin" <[email protected]>
To
<[email protected]>
Subject
RE: st: Binning question
Date
Mon, 01 Aug 2011 08:59:35 -0700 (PDT)
Mike, please see this thread:
http://www.stata.com/statalist/archive/2011-05/msg00743.html
David
--
David Radwin
Research Associate
MPR Associates, Inc.
2150 Shattuck Ave., Suite 800
Berkeley, CA 94704
Phone: 510-849-4942
Fax: 510-849-0794
www.mprinc.com
> -----Original Message-----
> From: [email protected] [mailto:owner-
> [email protected]] On Behalf Of Nick Cox
> Sent: Monday, August 01, 2011 8:15 AM
> To: [email protected]
> Subject: Re: st: Binning question
>
> That is true of any binning method. My prejudices aside, I don't think
> what you are seeking is clearly specified in statistical terms.
>
> Nick
>
> On 1 Aug 2011, at 12:35, [email protected] 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 up
> > splitting
> > certain observations into separate bins (so for example; 39.27 might
> > end
> > up 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, <[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 ea
> > ch set
> > of 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/