From | "Jann Ben" <ben.jann@soz.gess.ethz.ch> |
To | <statalist@hsphsun2.harvard.edu> |
Subject | st: Nonuniform Random Variable Generation |
Date | Tue, 27 Sep 2005 00:24:30 +0200 |
Hi, I would like to generate random variables with the density f(x) = 1/2 * (2x^2 + 4x + 1) * exp(-2x), x>=0 Can anyone help me with this? Many thanks in advance, ben * * 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–2025 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |