Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: beta random variable


From   "Sergiy Radyakin" <[email protected]>
To   [email protected]
Subject   Re: st: beta random variable
Date   Tue, 25 Sep 2007 15:15:17 +0200

invibeta(a,b,p) returns the inverse cumulative Beta distribution.  If
ibeta(a,b,x) = p, then invibeta(a,b,p) = x.

uniform() returns uniformly distributed pseudorandom numbers on the
interval [0,1).  uniform() takes no arguments, but the parentheses
must be typed.


On 9/25/07, jia luo <[email protected]> wrote:
> Hi.  I want to generate a random variable from a u-shaped distribution such as beta distribution with a=0.5 and b=0.5.  Is there any way to do this in Stata?
>
> Jia
>
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index