nmi13 <nmi13 <at> ext.canterbury.ac.nz> writes:

> 
> Hi Dear

   ???

> 
> Can someone please inform me on genreating random variables of Loglogistic, 
> and PERT beta distributions?
> 

loglogistic:

exp(n,rlogis(n,...))

I'm not sure about the PERT beta -- a few seconds of web browsing
suggests that it's a shifted, scaled version of the beta.  Hence

a + (b-a)*rbeta(n,shape1,shape2)

  cheers
    Ben Bolker

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to