stats icon indicating copy to clipboard operation
stats copied to clipboard

Question: Sampling from Normal distribution

Open elbek opened this issue 4 years ago • 1 comments

How one would sample from norma distribution using this package?

Thanks in advance.

elbek avatar Apr 10 '21 14:04 elbek

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!

rvchess avatar Jun 14 '21 00:06 rvchess