Generate Random Inverse Gaussian in R
Needed to generate draws from an inverse Gaussian today, so I wrote the following Rcpp code: It seems to be faster than existing implementations such as rig from mgcv and rinvgauss from statmod packages. rename rrinvgauss as desired.
The post Generate Random Inverse Gaussian in R appeared first on Lindons ... [Read more...]