Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement method of moments #2

Open
juliohm opened this issue Jun 24, 2018 · 9 comments
Open

Implement method of moments #2

juliohm opened this issue Jun 24, 2018 · 9 comments
Labels
enhancement New feature or request

Comments

@juliohm
Copy link
Member

juliohm commented Jun 24, 2018

Maximum likelihood fits aren't very robust with GEV distributions. It would be nice to implement the method of moments as an alternative.

@juliohm juliohm added the enhancement New feature or request label Jun 24, 2018
@davidanthoff
Copy link

Are there similar problems with the GP distribution, or is that part more robust?

@juliohm
Copy link
Member Author

juliohm commented Mar 12, 2020

Hi @davidanthoff,

I'd have to investigate the theory more carefully to answer it properly. Are you having issues with the GP estimation as well?

@davidanthoff
Copy link

No, I'm just starting to play with this, and was wondering whether there was a known problem or not :)

Also, there is https://github.com/jojal5/Extremes.jl, which seems to have MM and some bayesian estimator already? Are there any efforts to merge the two packages? They really seem to do the same thing, right?

@juliohm
Copy link
Member Author

juliohm commented Mar 12, 2020

Thank you for sharing the package. Will ask if the author is interested in joining efforts here.

@davidanthoff
Copy link

I did try the fit for the GP in both packages, got exactly the same results, so I guess that is a good sign :)

@juliohm
Copy link
Member Author

juliohm commented Mar 13, 2020

That is promising at least :)

I hope to get back to extreme value theory at some point. Currently, my research is too focused on GeoStats.jl, and that is demanding a great amount of ⌛

@Datseris
Copy link

Datseris commented Jul 24, 2023

In this library, I have implemented method of moments and probability weighted moments as ways to fit a GPD to data produced using the Peak over Threshold approach:

https://github.com/JuliaDynamics/FractalDimensions.jl/blob/main/src/extremes_based/gpd.jl#L33-L47

The implementations come from the paper: Chaos 33, 073143 (2023) https://doi.org/10.1063/5.0152370

You are interested in section V.A. of the paper, starting at page 6. It shows efficacy of estimators from data sampled directly from a GPD. It shows that maximum likelyhood methods are surprisingly not very good. However the method you have here probably has nothing to do with the method the authors use as "maximum likelyhood".

@Datseris
Copy link

(p.s. i'll probably add a method using your package in our FractalDimensions.jl package)

@juliohm
Copy link
Member Author

juliohm commented Jul 24, 2023

It would be awesome to add the method of moments here as well @Datseris so that it reaches a broader audience ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants