commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Otmar Ertl (JIRA)" <>
Subject [jira] [Commented] (MATH-1285) Description API ZipfDistribution
Date Tue, 27 Oct 2015 19:49:28 GMT


Otmar Ertl commented on MATH-1285:

Thanks for reporting this. I have changed the reference to Wikipedia's article about Zipf's
law. See's_law.
3.6: 5f03f0d702574a9c5655778ee28fe3e23d86a9b0
4.0: 8ed2209b1f8e2452d71ef8c3149f3ed3d89d4dfa

> Description API ZipfDistribution
> --------------------------------
>                 Key: MATH-1285
>                 URL:
>             Project: Commons Math
>          Issue Type: Improvement
>         Environment: All
>            Reporter: Pim van der Hoorn
>            Priority: Minor
>              Labels: easyfix
>   Original Estimate: 1h
>  Remaining Estimate: 1h
> The description of the constructors for the ZipfDistribution class specifies an argument
of type doule, called exponent. The documentation refers to a MathWorld page where the distribution
is defined. However, here the exponent p, is the exponent of the cdf, not of the pdf (which
is then p + 1). After running some test I found that the exponent in the constructor is the
one for the pdf. This can create confusion among users. Therefore I recommend specifying in
the documentation which exponent is meant.

This message was sent by Atlassian JIRA

View raw message