[R] generating loglogistic distribution in R
    Ben Bolker 
    bolker at zoo.ufl.edu
       
    Mon Sep  4 17:17:54 CEST 2006
    
    
  
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
    
    
More information about the R-help
mailing list