Re: [R] generating loglogistic distribution in R

From: Ben Bolker <bolker_at_zoo.ufl.edu>
Date: Mon 04 Sep 2006 - 15:17:54 GMT

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



R-help@stat.math.ethz.ch 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. Received on Tue Sep 05 01:22:00 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 07 Sep 2006 - 07:51:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.