[R] generating random numbers from the logit-normal distribution ?

From: Taka Matzmoto <sell_mirage_ne_at_hotmail.com>
Date: Fri 27 Jan 2006 - 15:52:48 EST


Hi R users

I like to generate random numbers from the logit-normal distribution.

Are there available simple commands I can use?

I used to generate using

exp(rnorm(1000,0,1))/(1+exp(rnorm(1000,0,1)))

I am looking for a simple command such as rnorm().

Thanks in advance

TM



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 Received on Fri Jan 27 15:59:11 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:14 EST