Home Forums PeaksOverThreshold fitting error

Viewing 1 post (of 1 total)
  • Author
  • #2331

    Hi, i whant to instance a gdp distribution from a set of observation.
    When i use the function fit in a PeaksOverThreshold instance diden’t work.
    I suppose that this method is slow because is computationally very expensive, it’s correct?
    This is my code:
    PeaksOverThreshold pot = new eaksOverThreshold(threshold);
    EstimateByLogLikelihood parameterGDP = pot.fit(observed);
    double[] paramFittedGDP = prameterGDP.getFittedParameters().toArray();
    GDP =
    new generalizedParetoDistribution(paramFittedGDP[0],paramFittedGDP[1]);

    Thanks in advance!


Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.