Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: Simple way to calculate modality of non-normal variables


From   "Austin Nichols" <[email protected]>
To   [email protected]
Subject   Re: st: RE: Simple way to calculate modality of non-normal variables
Date   Fri, 11 Jul 2008 12:16:49 -0400

Jordan Silberman--
Try also
ssc d eqprhistogram
forv i=1/10 {
 egen m`i'=mode(varname), nummode(`i')
}

On Fri, Jul 11, 2008 at 6:43 AM, Nick Cox <[email protected]> wrote:
I'll give a broader answer than I suspect you want or need in the hope
that might interest, or provoke, people other than yourself.
<list of 7 detailed points>
> Nick
> [email protected]
>
> Jordan Silberman
>
> I'm relatively new to Stata--I apologize in advance for my Stata
> naivety.
>
> I'm struggling to find a way to have Stata calculate the number of
> modes in a non-normally distributed variable.
>
> I've searched for a way to calculate this with procedures like the Dip-
> test, Silverman's test, Excess Mass test, etc., and I can't seem to
> find a straightforward way to simply calculate the number of modes in
> a single non-normal variable.
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index