Paretofit - threshold values as input?
Afficher commentaires plus anciens
Hey guys,
i have monthly return data and essentially i want to do exactly what the function paretotails does (a gpdfit in the left and in the right tail and a kernel in the center). Now i defined thresholds for my left and right tails using Mean-Excess Plots, (picked the threshold for which the ME function is appr. linear).
so lets say for my right tail the threshold is 5.324% and for my left tail my treshold is -4.327%
So i have my data and i have the thresholds but Matlab wants pl and pu as input (which are not the quantiles of my empirical data but from the fitted GPD). So what can i do?
my solution then should look like:
gpd fit for -infinite to -0.04327 kernel smoot for -0.04327 to 0.05324 gpd fit for 0.05324 to infinite
Is this possible with the paretotails function? And if not, how can i achieve it then?
thx in advance
5 commentaires
Bruno Pop-Stefanov
le 9 Oct 2014
Can you plot the cdf of the return data and see what lower and upper cumulative probabilities the thresholds correspond to?
Markus
le 10 Oct 2014
Markus
le 13 Oct 2014
Markus
le 15 Oct 2014
Réponses (1)
andrea lorenzini
le 14 Juin 2019
0 votes
hello! how did you find the mean excess plot?
Catégories
En savoir plus sur Generalized Pareto Distribution dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!