stats
stats copied to clipboard
Question: Sampling from Normal distribution
How one would sample from norma distribution using this package?
Thanks in advance.
There are two functions in norm.go that allow you to either use the inverse ppf function or Box muller transform to generate random samples from normal distributions. Look for "NormBoxMullerRvs" and "NormPpfRvs" thanks!