|
From: | Muhali |
Subject: | [Octave-bug-tracker] [bug #54009] (statistics) incorrect result for gppdf |
Date: | Wed, 30 May 2018 07:20:59 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
URL: <http://savannah.gnu.org/bugs/?54009> Summary: (statistics) incorrect result for gppdf Project: GNU Octave Submitted by: muhali Submitted on: Wed 30 May 2018 04:20:57 AM PDT Category: Octave Forge Package Severity: 3 - Normal Priority: 5 - Normal Item Group: Incorrect Result Status: None Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: 4.4.0 Operating System: Any _______________________________________________________ Details: The Generalized Pareto function gppdf produces incorrect results. It misses a factor 1/sigma, which is evident if one compares the relevant line of code pdf(j) = (shape(j) .* z(j) + 1).^(-(shape(j) + 1) ./ shape(j)); with (e.g.) the corresponding Wikipedia entry <https://en.wikipedia.org/wiki/Generalized_Pareto_distribution>. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?54009> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |