If your criteria are no more than bounded support and negative skew,
then a beta distribution is indeed one solution.
See -help rbeta()-.
Nick
On Mon, Mar 18, 2013 at 2:55 PM, Gwinyai Masukume
<parturitions@gmail.com> wrote:
> I'm using version 12.1.
>
> I'd like to generate synthetic data with a ? negatively skewed
> distribution.
>
> gen x =3D int(1964+(1999-1964)*runiform())
>
> I would for example like a peak of events at say 1983, with more events
> between 1983 and 1999 (with fewer events between 1964 and 1983).
>
> I suspect that drawing from a beta distribution may work?
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/