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.
Download Info
To download:
If you experience problems downloading a file, check if you have the
proper application to
view it first. Information about this may be contained
in the File-Format links below. In case of further problems read
the IDEAS help
page. Note that these files are not on the IDEAS
site. Please be patient as the files may be large.
Publisher Info
Software component provided by Boston College Department of Economics in its series Statistical Software Components with number
R940501.
Size: Programming language: RATS Requires: Date of creation: 05 Apr 1999 Date of revision: Handle: RePEc:boc:bocode:r940501
Contact details of provider: Postal: Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA Phone: 617-552-3670 Fax: +1-617-552-2308 Email: Web page: http://fmwww.bc.edu/EC/ More information through EDIRC