Code Monkey home page Code Monkey logo

extremestats.jl's People

Contributors

balinus avatar cgeoga avatar dependabot[bot] avatar eliascarv avatar github-actions[bot] avatar juliohm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

extremestats.jl's Issues

Implement method of moments

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

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Implement a heavy-tailed estimator

It would be good to have a function that implements a Hill estimator, for example. The Hill estimator is particularly useful in extreme value theory for analyzing the tail properties of a distribution. It focuses on the most extreme observations (the largest) in a sample to estimate the tail index, which informs about the heaviness of the tail.

MLE of GEV not converging to ground true values

MLE is not always converging to the ground truth:

using Distributions
using ExtremeStats

# make sure example is reproducible
srand(2018)

# sample data from a known distribution
true_gev = GeneralizedExtremeValue(1.,2.,0.1)
xs = rand(true_gev, 100000)

# MLE on block maxima
bm = BlockMaxima(xs, 1000)
mle_gev = fit(GeneralizedExtremeValue, bm)

display(true_gev)
display(mle_gev)
Distributions.GeneralizedExtremeValue{Float64}(μ=1.0, σ=2.0, ξ=0.1)
Distributions.GeneralizedExtremeValue{Float64}(μ=20.77381198318063, σ=3.4459184571273136, ξ=1.5852450471032418e-6)

My understanding is that it should converge to a set of parameters that is at least close. The parameters obtained are far off.

Fix visual tests

We should migrate to Makie recipes and fix the visual test infrastructure.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.