Numerically Stable Generation of Correlation Matrices and Their Factors

被引:0
|
作者
Philip I. Davies
Nicholas J. Higham
机构
[1] University of Manchester,Department of Mathematics
[2] University of Manchester,Department of Mathematics
来源
BIT Numerical Mathematics | 2000年 / 40卷
关键词
Random correlation matrix; Bendel-Mickey algorithm; eigenvalues; singular value decomposition; test matrices; forward error bounds; relative error bounds; IMSL; NAG Library; Jacobi method;
D O I
暂无
中图分类号
学科分类号
摘要
Correlation matrices—symmetric positive semidefinite matrices with unit diagonal—are important in statistics and in numerical linear algebra. For simulation and testing it is desirable to be able to generate random correlation matrices with specified eigenvalues (which must be nonnegative and sum to the dimension of the matrix). A popular algorithm of Bendel and Mickey takes a matrix having the specified eigenvalues and uses a finite sequence of Givens rotations to introduce 1s on the diagonal. We give improved formulae for computing the rotations and prove that the resulting algorithm is numerically stable. We show by example that the formulae originally proposed, which are used in certain existing Fortran implementations, can lead to serious instability. We also show how to modify the algorithm to generate a rectangular matrix with columns of unit 2-norm. Such a matrix represents a correlation matrix in factored form, which can be preferable to representing the matrix itself, for example when the correlation matrix is nearly singular to working precision.
引用
收藏
页码:640 / 651
页数:11
相关论文
共 50 条