kolmogorov-smirnov test with paretotails
Show older comments
hey guys,
i fitted data using the paretotails command. Now i have a piecewise distribution X (3 segments: tails GDP, center kernel).
I want to know how got my empirical data fits this distribution i made. x = empirical data y = output of the paretotails command
h = kstest(x,'CDF',y)
does not work.
thx in advance
5 Comments
Siddharth Sundar
on 14 Oct 2014
When you say the kstest function 'does not work', do you mean that it rejects the null hypothesis at the Alpha significance level or does it throw an error? What is the output of the kstest function?
It might be helpful if you were to give us your code and data if possible.
Markus
on 15 Oct 2014
Siddharth Sundar
on 15 Oct 2014
Edited: Siddharth Sundar
on 15 Oct 2014
Could you save your variables 'x' and 'y' in a MAT file and attach it here? I might be able to take a look at it and identify the issue.
Markus
on 16 Oct 2014
Siddharth Sundar
on 28 Oct 2014
I don't see the MAT file attached to the comment. Could you try attaching it again?
Answers (0)
Categories
Find more on Noncentral t Distribution 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!