Question
Random number generation of Beta distribution on [Z1,Z2] (not [0,1])
Hi,
I am interested in generating random numbers from a Beta distribution with parameters a and b, where the generated numbers are distributed on the interval [Z1,Z2] and not [0,1]. I know the latter can be obtained by using rbeta(n,a,b).
Thanks
Hussein

