mvnrnd and positive semidefinite covariance matrices



Hi. Newbie question here.

Does anyone know why Matlab's mvnrnd function requires that the
covariance matrix be positive semidefinite? Is it possible to
generate random numbers from a multivariate normal distribution whose
covariance matrix is not positive semidefinite?

As context: I'm currently using the mvnrnd function to generate
random portfolio returns based off of random asset class
performances. Because the covariance matrix of the asset classes is
not positive semidefinite, I've had to use a conversion, which leads
to the portfolio not quite having the distribution that I expected.

Thanks!
.



Relevant Pages

  • Re: mvnrnd and positive semidefinite covariance matrices
    ... Does anyone know why Matlab's mvnrnd function requires that the ... generate random numbers from a multivariate normal distribution whose ... covariance matrix is not positive semidefinite? ...
    (comp.soft-sys.matlab)
  • Re: mvnrnd and positive semidefinite covariance matrices
    ... Does anyone know why Matlab's mvnrnd function requires that the ... covariance matrix is not positive semidefinite? ... It's also sometimes possible have a true cov matrix that is nearly singular, but end up with an estimate that has eigenvalues that are slightly negative due to small numerical errors -- that's an easy fix. ...
    (comp.soft-sys.matlab)
  • Re: mvnrnd and positive semidefinite covariance matrices
    ... covariance matrix is not positive semidefinite? ... to the portfolio not quite having the distribution that I expected. ... of real random variables must always be positive semidefinite! ...
    (comp.soft-sys.matlab)
  • Re: Bayes Decision Rule
    ... Multivariate Normal Distribution. ... becomes singular (there isn't inverse Covariance matrix). ... are those of the Statistics Department or of Purdue University. ... Herman Rubin, Department of Statistics, Purdue University ...
    (sci.stat.edu)
  • Re: Q: properties of covariance matrices
    ... >Let x and y be n-tuplets of normally distributed random variables, ... > C = covbe the nxn covariance matrix of x and y. ... every positive semidefinite matrix is the covariance matrix of some ...
    (sci.math)