10.07.2015 Views

Méthodes de Monte Carlo appliquées au pricing d ... - Maths-fi.com

Méthodes de Monte Carlo appliquées au pricing d ... - Maths-fi.com

Méthodes de Monte Carlo appliquées au pricing d ... - Maths-fi.com

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4.2. La métho<strong>de</strong> <strong>de</strong>s distributionsConsidérons maintenant la copule Stu<strong>de</strong>nt. Soit X un vecteur aléatoire dont la distribution estt ρ,ν . Nous avonsX = √ X⋆χ2 ν /νavec X ⋆ un vecteur aléatoire g<strong>au</strong>ssien <strong>de</strong> covariance ρ et χ 2 ν une variable aléatoire chi-<strong>de</strong>ux à ν<strong>de</strong>grés <strong>de</strong> libertés. Nous exploitons cette relation pour simuler cette copule.Co<strong>de</strong> GAUSS 4.3 – Simulation <strong>de</strong> la copule Stu<strong>de</strong>nt –/***> rndCopulaStu<strong>de</strong>nt***/proc (1) = rndCopulaStu<strong>de</strong>nt(rho,nu,ns);local u,n,chi2;if _CopulaSobol /= 0;u = rnduCopula(ns,1+rows(rho));n = cdfni(u[.,1:rows(rho)]);chi2 = cdfchii(u[.,1+rows(rho)],nu.*ones(ns,1));else;n = rndn(ns,rows(rho));chi2 = cdfchii(rndu(ns,1),nu.*ones(ns,1));endif;retp( cdft((n*chol(rho))./sqrt(chi2./nu),nu) );endp;/***> rndCopulaStu<strong>de</strong>nt2***/proc (2) = rndCopulaStu<strong>de</strong>nt2(rho,nu,ns);local u,n,chi2,n1,n2;if _CopulaSobol /= 0;u = rnduCopula(ns,3);n = cdfni(u[.,1:2]);chi2 = cdfchii(u[.,3],nu.*ones(ns,1));else;n = rndn(ns,2);chi2 = cdfchii(rndu(ns,1),nu.*ones(ns,1));endif;n1 = n[.,1].*ones(rows(rho),cols(rho));n2 = rho.*n[.,1]+sqrt(1-rho^2).*n[.,2];chi2 = sqrt(chi2./nu);retp( cdft(n1./chi2,nu),cdft(n2./chi2,nu) );endp;A titre d’illustration, nous reprenons les exemples <strong>de</strong> la copule Normale en utilisant désormaisla copule Stu<strong>de</strong>nt (graphiques 4.4 et 4.5). Le graphique 4.6 permet <strong>de</strong> <strong>com</strong>parer directement les49

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!