random normal (0,1) correlated by copulas

Hi,
I created a simulation of random variables correlated by copulas in Matlab, using ksdensity function.
Now I am trying to simulate several N(0,1) distributions, but I want them to be intercorrelated by the same copulas.
How can I insert the copula parameter in normrnd function?
Thank you very much,

 채택된 답변

Tom Lane
Tom Lane 2015년 4월 15일

1 개 추천

The usual idea is that you apply your inverse probability distributions to the marginals (each column) of the copularnd results. In your case, if all variables are to have a standard normal distribution, you can just apply norminv to the entire array.

댓글 수: 1

Alexandra
Alexandra 2015년 4월 15일
Thank you Tom, I know what you mean. I am trying to build a Copula-GARCH model. I thought that was the way I had to do it. In GARCH, the stochastic part is N(0,1) in the variance equation. So I wanted the N(0,1) to be correlated with copulas to simulate random correlated variables. But I think I was wrong. I need to fit the copula to the residuals of the GARCH model and then multiply the random copulas with the variance equation of GARCH to obtain the correlated returns. I will attempt this.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Probability Distributions and Hypothesis Tests에 대해 자세히 알아보기

질문:

2015년 4월 13일

댓글:

2015년 4월 15일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by