-lookup- still works fine, but 
as from Stata 6.0, it has been superseded 
by -search-. 
Nick 
[email protected] 
[email protected]
 
> 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.
*
*   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/