Shape parameter negated in genextreme (relative to R, MATLAB, Wikipedia) (Trac #1325) #1851
Labels
defect
A clear bug or issue that prevents SciPy from being installed or used as expected
Migrated from Trac
scipy.stats
Milestone
Original ticket http://projects.scipy.org/scipy/ticket/1325 on 2010-11-05 by trac user hamishharvey, assigned to unknown.
The scipy implementation of genextreme appears to be defined in such a way that the shape parameter is the negated relative to its use in MATLAB and the R evd package. Compare the cumulative distribution function given in ticket 767:
with that given in Wikipedia and recent slides[1] by Stuart Coles (author of the book referred to in that ticket):
The latter is consistent with the results from R. Scipy is differing from the most readily available documentation on GEV here, and while it may not be wrong it tripped me up and it has taken me a while to work out what is going on. A warning note in the documentation regarding the difference would be invaluable.
.. [1] [http://www.google.co.uk/url?sa=t&source=web&cd=1&ved=0CBwQFjAA&url=http%3A%2F%2Fwww.cces.ethz.ch%2Fprojects%2Fhazri%2FEXTREMES%2Ftalks%2FcolesDavisonDavosJan08.pdf&rct=j&q=%22An%20Introduction%20to%20Statistical%20Modeling%20of%20Extreme%20Values%22%20coles%202000&ei=E0bUTM7vAqeR4gat0aidBA&usg=AFQjCNFaW81AT9W--MTyKsv7Aqpgel1KYw Statistical Modelling of Extreme Values (PDF)]
The text was updated successfully, but these errors were encountered: