How to fit the Copula to the data beased on parametric marginal distribution?
Show older comments
Dear Sir/Madam
I am trying to fit the Copula to the data, regarding to the parametric marginal distribution. As I found the way that you introduced in MathWorks is Nonparametric based on finding Kernel;
u = ksdensity(x,x,'function','cdf'); v = ksdensity(y,y,'function','cdf');
But I already found the best distribution of my variables and going to fit with copula. for example my data is as follow:
x = [98.67 310.02 578.90 281.36 134.95 76.9 109.343 79.055 204.417 141.965 263.037 120.186 278.257 539.315 549.6 301.118 363.301 204.276 173.175 511.985 105.95 255.875 724.734 86.8 166.181 165.053 231.291 186.729 140.248 226.472 234.605 361.213 90.186 135.494];
y = [408 552 312 384 360 144 384 168 312 456 360 216 360 384 240 480 192 192 216 264 576 432 192 312 480 600 192 480 240 504 480 360 336 312];
and with the mathematical solution I found the best fitted distribution for X variable is Gen. Pareto and for Y variable is Gen. Extreme Value. So how to joint these two variables with the mentioned best fit distribution and after fit copula .
Regards Mohsen
Accepted Answer
More Answers (0)
Categories
Find more on Copula Distributions and Correlated Samples in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!