powered by
Creates a random Multivariate Normal when given number of obs, mean, and sigma.
rmvnorm(n, mu, S)
A matrix that is a Multivariate Normal distribution.
matrix
An integer, which gives the number of observations. (> 0)
integer
A vector length m that represents the means of the normals.
vector
A matrix with dimensions m x m that provides Sigma, the covariance matrix.
James Joseph Balamuta
TwoPLChoicemcmc() and probitHLM()
TwoPLChoicemcmc()
probitHLM()
# Call with the following data: rmvnorm(2, c(0,0), diag(2))
Run the code above in your browser using DataLab