powered by
random generation function for the inverse Gaussian distribution: Mu and lambda are the parameters of this distribution.
rInvGaus(n, mu, lambda)
Number of observations
Non-negative parameters of the inverse Gaussian distribution (mean and shape)
RV <- rInvGaus(n = 100, mu = 10, lambda = 2)
Run the code above in your browser using DataLab