Skip to content

How to get PPF for minima? #90

Answered by georgebv
nucflash asked this question in Q&A
Aug 3, 2024 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

eva.model.distribution points to instance of class Distribution specific to pyextremes. eva.model.distribution.distribution points to scipy.rv_continuous distribution which has default values for its fit parameters (shapes, loc, scale). These are different classes from different libraries with different interfaces.

eva.model.cdf(x) and eva.model.distribution.get_prop('cdf', x, eva.model.fit_parameters) would give the same result.

Because of that, in your example you are calling the same default scipy distribution with default parameters so results are always going to be the same. data is irrelevant here.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@nucflash
Comment options

@georgebv
Comment options

@georgebv
Comment options

@georgebv
Comment options

Answer selected by nucflash
@nucflash
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants