Coder Social home page Coder Social logo

Comments (3)

georgebv avatar georgebv commented on July 18, 2024 1

Monte Carlo idea is really simple - you sample from your data (this way you have a "different" dataset), fit model to it, then repeat this process many times. In the end you have a large number of curves - one for each sample. To get 95% confidence interval you then take those curves and for each return period calculate return values and remove top and bottom 2.5% and then draw curves through those points.

from pyextremes.

georgebv avatar georgebv commented on July 18, 2024

The reason is in the choice of distribution - you use Gumbel distribution which is exponential and appears linear when plotted at logarithmic scale. Also, if it's so tight at 99.9% confidence, this means that your choice of model was correct and that you have good data.

from pyextremes.

TanguyRiou avatar TanguyRiou commented on July 18, 2024

Ok thanks for your answer. I think I am misunderstanding the confidence interval. In the book "An introduction to statistical modeling of extreme values" of S.Coles they give examples where confidence interval is computed based on a normal distribution. I saw in #36 that you are using a monte carlo method. If you have any details of this computation it would be amazing. I tried to dig in your source code but I admit that I did not understand everything.

from pyextremes.

Related Issues (20)

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.