Description Usage Arguments Value Examples
This function returns a normal random variable with mean 'mean' and standard deviation 'sd'. The Poisson (lambda) distribution can be considered as an approximation of N(lambda, lambda). Using this we first generate 'a',a Poisson random variable with parameter lambda ( we take advantage of the 'pogen' function for this stage). This is almost equivalent to a normal random variable with mean lambda and standard deviation lambda. So ('a'-lambda)/lambda is a standard random variable, and ('a' * 'sd') + mean is the required random variable, which is returned.
1 | nogen(x)
|
mean: mean of the normal distrubution sd: standard deviation of the normal distrubution
Returns a normal random variable with mean 'mean' and standard deviation 'sd'.
1 | nogen(10, 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.