Function to generate multivariate normal distribution where each variable has a standard normal distribution N(0,1)
multiNormalDist(sample.size = 2500, ncol = 5)
Numeric. Indicating the sample size for distribution
Numeric. Indicating the number of columns
The multivariate normal distribution, multivariate Gaussian distribution, or joint normal distribution is a generalization of the one-dimensional (univariate) normal distribution to higher dimensions. It is a vector in multiple normally distributed variables, such that any linear combination of the variables is also normally distributed.
Shubhra Prakash <firstname.lastname@example.org>
multiNormalDist(2500,2) x=multiNormalDist(2500,2) hist(x[,1])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.