Description Usage Arguments Value
Set sample size n and parameters of MixtNormal(mu,sigma,pi). By definition, dimension of mu, sigma and pi must be the same. In the function, parameter 'pi' is normalized.
1 | random_mixt_normal(n, mu, sigma, ratio)
|
n |
<int scalar> : sample size |
mu |
<double vector> : population means |
sigma |
<double vector> : population sds |
ratio |
<double vector> : mixtured ratio |
The output will be <double vector> of size n that you input.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.