mvnrnd and positive semidefinite covariance matrices
- From: "Frank Wu" <frank.z.wu@xxxxxxxxx>
- Date: Mon, 13 Mar 2006 14:03:32 -0500
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!
.
- Follow-Ups:
- Re: mvnrnd and positive semidefinite covariance matrices
- From: Roger Stafford
- Re: mvnrnd and positive semidefinite covariance matrices
- From: karvala
- Re: mvnrnd and positive semidefinite covariance matrices
- From: Peter Perkins
- Re: mvnrnd and positive semidefinite covariance matrices
- Prev by Date: Re: my RLS program.
- Next by Date: Re: Copying files from one folder to another using Matlab commands
- Previous by thread: Create random noise on signal
- Next by thread: Re: mvnrnd and positive semidefinite covariance matrices
- Index(es):
Relevant Pages
|