Skip to content
Prev 85141 / 398500 Next

generating random numbers from the logit-normal distribution ?

Selon Taka Matzmoto <sell_mirage_ne at hotmail.com>:
Hi,



Consider writing a function, you can even learn how to use ...

rlogitnormal <- function(...){
  x <- exp(rnorm(...))
  x / (1+x)
}

then

rlogitnormal(1000, 0, 1)

Romain