Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Maarten Buis <maartenlbuis@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: distribution test |
Date | Tue, 30 Aug 2011 13:52:37 +0200 |
On Tue, Aug 30, 2011 at 12:55 PM, Nick Cox <njcoxstata@gmail.com> wrote: > A minor curiosity is to note that although the individual results of > > runiform() > > and > > 1 - runiform() > > are only very exceptionally equal (when both are exactly 0.5) , the > underlying distributions are identical. So subtracting from 1 does no > harm but is not needed here statistically. That is correct. I used 1-runiform() because it comes directly from the quantile function of the exponential distribution, and would thus make it easier (for me, at least) to later see the logic I used when creating these random draws. -- 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/