Paretofit - threshold values as input?

2 visualizaciones (últimos 30 días)
Markus
Markus el 8 de Oct. de 2014
Respondida: andrea lorenzini el 14 de Jun. de 2019
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 comentarios
Kostas
Kostas el 13 de Oct. de 2014
Possible you could take a look in evim package, it contains tools for POT analysis and fitting the GPD.
Markus
Markus el 15 de Oct. de 2014
thx. i can of course fit the gdp tails separately and the kernel separately but is there any possibility to "link" these 3 segments to one distribution where i can simulate from?

Iniciar sesión para comentar.

Respuestas (1)

andrea lorenzini
andrea lorenzini el 14 de Jun. de 2019
hello! how did you find the mean excess plot?

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by