Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
1 answer
135 views

Mean not working with Gamma convolution distribution

Using v 13.01 or 13.1: bug in integrate, see accepted answer below. First off, the distribution ...
Carl's user avatar
  • 801
5 votes
1 answer
128 views

Mean of TransformedDistribution returns wrong result

I want to compute the mean of this transformed distribution $10^{(25+5x+y)/5}$, where $x$ and $y$ are independent normal random variables. Here is my code ...
R.Y. Zhao's user avatar
6 votes
2 answers
253 views

Why is the conditional probability not working for `CategoricalDistribution`?

Bug introduced in 12.1 and fixed in 12.3 Consider the following simple example for demonstration: ...
user13892's user avatar
  • 9,751
2 votes
0 answers
151 views

Is Mathematica computing the conditional expectation correctly?

Given a simple case of say 2 independent trials each with probability of success 1/3. Consider a random variable that is gives the 3 times the total successes. We can define this random variable in ...
user13892's user avatar
  • 9,751
19 votes
1 answer
289 views

Possible bug in OrderDistribution? [Update: Confirmed by Wolfram Research and enqueued.]

Bug Introduced in 11.3 or earlier Initial testing indicates this has been addressed in 12.0 Observe: ...
ciao's user avatar
  • 26k
3 votes
1 answer
219 views

Log transformed histogram distribution

Bug introduced in 11.0.1 or earlier and persisting through 11.3.0 or later I try to get a Log transformed histogram data I get from a different program ...
Ruud3.1415's user avatar
6 votes
0 answers
264 views

Does DegreeGraphDistribution sample uniformly?

Bug introduced in 10.0 or earlier and persisting through 12.1 The first symptom (histogram below) is gone in 12.0. The second (fraction of connected graphs) persists, showing that the sampling is ...
Szabolcs's user avatar
  • 236k
7 votes
1 answer
164 views

Histogram not plotting RandomVariate of EmpiricalDistribution

Bug introduced in 11.1 or earlier and fixed in 11.2 I have a seemingly odd case in 11.1 where a sample from an EmpiricalDistribution is not being plotted by ...
Edmund's user avatar
  • 43.2k
5 votes
1 answer
151 views

PDF for MixtureDistribution fails in Dataset Query in 11.1

I have the results of a process involving FindDistribution as a Dataset of probability distributions. Attempting to plot the <...
Edmund's user avatar
  • 43.2k
6 votes
0 answers
73 views

Problem with Probability and MultivariateHypergeometricDistribution (bug?)

Using the input ...
ciao's user avatar
  • 26k
33 votes
2 answers
1k views

Huge bug involving MultinormalDistribution?

Bug introduced in 8.0 and fixed in 11.1 I found a strange behavior regarding the CDF of the bivariate Normal distribution ...
JHT's user avatar
  • 1,005
7 votes
0 answers
80 views

Problem/bug with `RandomVariate` and `FirstPassageTimeDistribution`?

...
ciao's user avatar
  • 26k
10 votes
1 answer
323 views

ProbabilityDistribution only accepts dx=1 for discrete distributions

Bug introduced in 10.4.1 or earlier and somewhat fixed in 12.0.0 This question maybe related to (95436) but neither its answer nor the documentation for ...
gwr's user avatar
  • 13.6k
7 votes
3 answers
148 views

Strange behavior of RandomVariate and PascalDistribution

Observe: ...
ciao's user avatar
  • 26k
4 votes
1 answer
274 views

Random Variate generating strange results when using ProbabilityDistribution

Bug introduced in 10.1 and fixed in 10.3 I have created a probability distribution that follows a general normal distribution, given by: $$ \frac{b *e^{-\left(\frac{\sqrt{(x-u )^2}}{a }\right)^{b }}}...
Fábio's user avatar
  • 133
10 votes
1 answer
163 views

FullSimplify on TransformedDistribution

Bug introduced in 8.0.0 and fixed in 10.3.0 Could someone check that I haven't gone mad? I would like to take the maximum of two $[0, 2 \pi]$ independent uniform random variables. ...
Patrick Stevens's user avatar
10 votes
2 answers
200 views

Possible bug in VonMisesDistribution?

Bug introduced in 10.2 or earlier and fixed in 10.3 Observe: ...
ciao's user avatar
  • 26k
5 votes
1 answer
199 views

Is DistributionFitTest broken for some cases of TransformedDistribution targets?

Observe: ...
ciao's user avatar
  • 26k
5 votes
1 answer
138 views

Is this behavior of DistributionFitTest together with StableDistribution a bug?

Bug introduced in 9.0 or earlier and persisting through 11.0.1 or later I have been using DistributionFitTest to fit the following data: ...
Mike Colacino's user avatar
9 votes
2 answers
176 views

Why are Binormal and Multinormal giving me different results when I use NExpectation?

fixed in 10.1 (windows) Binormal and Multinormal can both be used to represent normal random variables: ...
NickJ's user avatar
  • 193
4 votes
1 answer
182 views

Example from Mathematica documentation (ExtremeValueDistribution) seems to be evaluating "forever"

Bug introduced in 9.0.1 or earlier and persisting through 11.0.1 or later I am referring to this example at the reference page for the extreme value distribution: http://reference.wolfram.com/...
vonjd's user avatar
  • 1,605
8 votes
1 answer
196 views

AndersonDarlingTest and DistributionFitTest Leaking Memory

I believe AndersonDarlingTest and probably all other tests are keeping a copy of data somewhere and not freeing it: ...
Ajasja's user avatar
  • 13.8k
11 votes
1 answer
421 views

How does LocationTest choose its "AutomaticTest"?

Is there a way of determining how LocationTest chooses its "AutomaticTest"? Sometimes it's clear from the ...
Ronald Monson's user avatar
6 votes
4 answers
260 views

How do I emulate DiscreteUniformDistribution in Mathematica?

How do I define a function from scratch that emulates DiscreteUniformDistribution? As shown below, attempting to use ...
jp.rider63's user avatar
8 votes
1 answer
314 views

Expectation of CauchyDistribution

Bug introduced in 8.0 or earlier and persisting through 13.2.0 I've noticed this strange behavior and I'm wondering if it's a bug. I define a Cauchy distribution: ...
Niki Estner's user avatar
  • 36.4k
16 votes
1 answer
470 views

RandomVariate returns values outside the support of a PDF

Bug introduced in 8.0.1 and fixed in 10.2.0 Let $X$ be a random variable with pdf: dist = ProbabilityDistribution[1/(Abs[x]*Log[Abs[x]]^2), {x, -E^-2, E^-2}] ...
wolfies's user avatar
  • 8,762
16 votes
2 answers
2k views

How to compute the inverse CDF of HyperbolicDistribution properly?

Fixed in version 9. I want to compute the CDF and inverse CDF of the hyperbolic distribution: ...
AUK1939's user avatar
  • 1,503