Thread Subject: How to generate non-normal correlated random vars

Subject: How to generate non-normal correlated random vars

From: dandas

Date: 7 Nov, 2009 14:17:01

Message: 1 of 3

Hi,

In the past, I used choleskey with correlation matrix to generate correlated random numbers for 12 distributions.

Now I have historical data that fit into arbitrary distributions (similar to generalized pareto). How do I generate correlated random numbers? what information do I need?

Thanks,
dandas

Subject: How to generate non-normal correlated random vars

From: Peter Perkins

Date: 11 Nov, 2009 15:06:44

Message: 2 of 3

dandas wrote:

> Now I have historical data that fit into arbitrary distributions (similar to generalized pareto). How do I generate correlated random numbers? what information do I need?

One possibility is to use the functions in the Statistics Toolbox for copulas. This demo

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

gives the basic ideas behind those functions, while this documentation

<http://www.mathworks.com/access/helpdesk/help/toolbox/stats/brklrj3.html#bqttfgl-1>

goes a little deeper into the details of the functions themselves.

This demo

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

might also be of interest.

Hope this helps.

Subject: How to generate non-normal correlated random vars

From: dandas

Date: 13 Nov, 2009 23:03:17

Message: 3 of 3

Thanks a lot for saving me a lot of time.

Peter Perkins <Peter.Perkins@MathRemoveThisWorks.com> wrote in message <hdeju4$ism$1@fred.mathworks.com>...
> dandas wrote:
>
> > Now I have historical data that fit into arbitrary distributions (similar to generalized pareto). How do I generate correlated random numbers? what information do I need?
>
> One possibility is to use the functions in the Statistics Toolbox for copulas. This demo
>
> <http://www.mathworks.com/products/statistics/demos.html?file=/products/demos/shipping/stats/copulademo.html>
>
> gives the basic ideas behind those functions, while this documentation
>
> <http://www.mathworks.com/access/helpdesk/help/toolbox/stats/brklrj3.html#bqttfgl-1>
>
> goes a little deeper into the details of the functions themselves.
>
> This demo
>
> <http://www.mathworks.com/products/statistics/demos.html?file=/products/demos/shipping/stats/nonparametricCDFdemo.html>
>
> might also be of interest.
>
> Hope this helps.

Tags for this Thread

Everyone's Tags:

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.

Tag Activity for This Thread
Tag Applied By Date/Time
correlated dandas 7 Nov, 2009 13:15:29
rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com