Abstract:
multnorm.src generates a sample from a multivariate normal population. the user specifies the number of variables (ncol), the sample size (nrow), and the correlation matrix (cormat). the user also designates the matrix (mn) where the sample is to be stored. both cormat and mn should be declared in the program that calls multnorm.src; for example: dec symm cormat(ncol,ncol) dec rect mn(nrow,ncol) since cormat is symmetric, only the elements on and below the main diagonal must be specified. a correlation matrix must be positive definite. before invoking multnorm.src, the user may want to verify that cormat is in fact positive definite by computing its eigenvalues with the RATS instruction eigen. the elements of mn are standard normal variables. after mn has been generated, the user can easily change the means and standard deviations.
More software in Statistical Software Components from Boston College Department of Economics Address: Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA Contact information at EDIRC. Series data maintained by Christopher F Baum ().
This site is part of RePEc
and all the data displayed here is part of the RePEc data set.
Is your work missing from RePEc? Here is how to
contribute.
Questions or problems? Check the EconPapers FAQ or send mail to .