Thread Subject: Generate correlated random vectors

Subject: Generate correlated random vectors

From: Thomas

Date: 2 Nov, 2009 12:52:03

Message: 1 of 2

Hi!

I'd like to generate correlated random vectors. But anything I found regarding this topic, stated that the two original vectors (out of which I generate the correlated third one) are normally distributed.

Now my question is: What happens if my distribution is e.g. uniform in a certain interval, i.e. the first vector should be in e.g. [0,5] and the second in [0,10]. A perfect correlation (i.e. rho=1) would yield pairs like (0,0), (2.5,5), (5,10) and so on.

Could anybode please give me a hint on how to proceed here?

Many thanks in advance!

Thomas

Subject: Generate correlated random vectors

From: Peter Perkins

Date: 2 Nov, 2009 13:32:11

Message: 2 of 2

Thomas wrote:

> I'd like to generate correlated random vectors. But anything I found regarding this topic, stated that the two original vectors (out of which I generate the correlated third one) are normally distributed.
>
> Now my question is: What happens if my distribution is e.g. uniform in a certain interval, i.e. the first vector should be in e.g. [0,5] and the second in [0,10]. A perfect correlation (i.e. rho=1) would yield pairs like (0,0), (2.5,5), (5,10) and so on.
>
> Could anybode please give me a hint on how to proceed here?

One possibility:

<http://www.mathworks.com/products/statistics/demos.html?file=/products/demos/shipping/stats/copulademo.html>

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com