Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: question about generating distributions (cauchy, poisson, chisq, etc)


From   Jhilbe@aol.com
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: question about generating distributions (cauchy, poisson, chisq, etc)
Date   Mon, 28 Feb 2005 13:55:57 EST

I really like stata, but find it very difficult  to generate variables
from various distributions except for the simple ones  like the normal
and uniform.

I've consulted the reference manual, but  it too isnt that helpful. I'd
be interested in generating chi square, poison,  and cauchy densities.
Are there any programs or examples of do files that can  do this?

Or is there a way to program in pdfs and then get distrubtions  from that?

Type -lookup rnd- , You can generate a variety of  distributions, with 
specified parameters.


Joe Hilbe  

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