The variance of the DiceDistribution is wrong.
Correct is the following: 2.91 or (70/24).
You can verify the correct results also with a
UniformIntegerDistribution(1, 6).
Obviously the wrong variance was not noticed as the tests in this class
do not compute the inverseCumulativeProbability.
I
The variance of the DiceDistribution is wrong.
Correct is the following: 2.91 or (70/24).
You can verify the correct results also with a
UniformIntegerDistribution(1, 6).
Obviously the wrong variance was not noticed as the tests in this class
do not compute the inverseCumulativeProbability.
On 10/10/2014 10:24 PM, Ole Ersoy wrote:
> Hi,
>
> I ran the following assertions on the dice distribution in the
> AbstractIntegerDistributionTest:
>
> Assert.assertEquals(3,
> diceDistribution.inverseCumulativeProbability(0.7d/6d)); //Expecting 1
> Assert.assertEquals(3,
> dice
Hi,
I ran the following assertions on the dice distribution in the
AbstractIntegerDistributionTest:
Assert.assertEquals(3,
diceDistribution.inverseCumulativeProbability(0.7d/6d)); //Expecting 1
Assert.assertEquals(3,
diceDistribution.inverseCumulativeProbability(0.8d/6d)); /
Now that we have a "storeless" percentile estimator, we can add
quartile computation to SummaryStatistics. Any objections to my
adding this? I could optionally add a boolean constructor argument
to avoid the overhead of maintaining these stats. Or more
generally, add a bitfield encoding the exac
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The Apache Commons Team is pleased to announce the release of Apache
Commons Compress 1.9.
Version 1.9 adds support for raw DEFLATE streams without GZIP framing.
In addition it fixes bugs in the 7z and tar packages and may improve
checking for the pre