How to generate my custom copula data?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello!
When I calculate the copula using copulatif :
uu = ksdensity(x,x,'function','cdf');
vv = ksdensity(y,y,'function','cdf');
[Rho,nu] = copulafit('t',[uu vv],'Method','ApproximateML');
I can calculate a random correlated data set using copularnd:
r = copularnd('t',Rho,nu,3100);
uu1 = r(:,1);
vv1 = r(:,2);
Is there a way to calculate vv1 given new data?
After copulafit on my known data(uu) I want to use the copula to fit vv1 given uunew where :
uunew = ksdensity(xnew,xnew,'function','cdf');
instead of building a random sequence:
vv1=func('t',Rho,nu,uunew);
Thank!
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Copula Distributions and Correlated Samples finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!