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/