Skip to content
Prev 130621 / 398500 Next

normalised Voigt random numbers

Waterman, DG (David) wrote:
I spent a while with the wikipedia entry on the Voigt distribution, which
gives
an expression for the pdf that I don't understand ... but the answer to your
question appears very simple.

rvoight <- function(n,sigma,gamma) {
   rnorm(n,sd=sigma)+rcauchy(n,scale=1/gamma)
}

 at least according to the formulas on the wikipedia page.

  Ben Bolker