where mu is the mean of the distribution and sigma the standard deviation.
The domain of the distribution can be truncated to the interval (lb,ub).
Returns
An object of class "unuran.cont".
See Also
unuran.cont.
References
N.L. Johnson, S. Kotz, and N. Balakrishnan (1994): Continuous Univariate Distributions, Volume 1. 2nd edition, John Wiley & Sons, Inc., New York. Chap. 13, p. 80.
## Create distribution object for standard normal distributiondistr <- udnorm()## Generate generator object; use method PINV (inversion)gen <- pinvd.new(distr)## Draw a sample of size 100x <- ur(gen,100)## Create distribution object for positive normal distributiondistr <- udnorm(lb=0, ub=Inf)## ... and draw a samplegen <- pinvd.new(distr)x <- ur(gen,100)