Bookmark and Share

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]

RE: st: How to test whether data follows Exp distribution?


From   "Lachenbruch, Peter" <Peter.Lachenbruch@oregonstate.edu>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   RE: st: How to test whether data follows Exp distribution?
Date   Wed, 7 Jul 2010 11:01:23 -0700

If I recall my basic math stat, log(Y) should be uniform if Y is exponential.  So you could check it that way.  A very simple idea would be to bin the logs and do a chi-squared gof test.

Tony

Peter A. Lachenbruch
Department of Public Health
Oregon State University
Corvallis, OR 97330
Phone: 541-737-3832
FAX: 541-737-4001


-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Maarten buis
Sent: Tuesday, July 06, 2010 11:39 PM
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: How to test whether data follows Exp distribution?

--- On Wed, 7/7/10, Jabr, Wael M wrote:
> I am trying to find if the variable I
> have follows an exponential distribution.

You can use -hangroot- to check an empirical
distribution against, among others, an
exponential distribution. To install it type
in Stata -ssc install hangroot-.

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------


      

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

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index