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/