Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

# Questions tagged [distributions]

For questions about distributions built-in in Mathematica, and functions that operate on them. Also includes questions about defining your own distributions.

71 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
69 views

...
179 views

### Does DegreeGraphDistribution sample uniformly?

Bug introduced in 10.0 or earlier and persisting through 12.0 The first symptom (histogram below) is gone in 12.0. The second (fraction of connected graphs) persists, showing that the sampling is ...
57 views

### Problem with Probability and MultivariateHypergeometricDistribution (bug?)

Using the input ...
856 views

### When are If, Piecewise, Switch, and Which interchangeable and when are they not?

Experimenting with joint dependent distributions via the TransformedDistribution function, I used the following to derive a distribution where the second variate is ...
62 views

### TransformedDistribution using $k$ iid random variables, but $k$ not fixed

Can I create a TransformedDistribution that uses $k$ independent identically distributed (i.i.d.) random variables where $k$ is not fixed? This question is closely ...
72 views

### How to pass a custom method to a particular option?

In an answer to my question More efficient method to compute moments of the Johnson $S_B$ distribution, J. M. has come up with a method to compute the moments of the Johnson $S_B$ distribution, which ...
60 views

### Why is ProbabilityDistribution 100x slower than ExtremeValueDistribution?

The two distributions are the same, except the ProbabilityDistribution cuts out below x=0. The wolfram documentation on ProbabilityDistribution says nothing about speed. A search of this site gave no ...
306 views

### Goodness of Fit of Copula Distribution

I am trying to find out goodness of fit of copula distribution, but Mathematica 10 gives me the same answer for each copula type. e.g ...
132 views

36 views

### Can LearnDistribution Train and Generate Images Without Defaulting To 256x256?

In spite of anything I try it seems the ConformImages[] function nested in the LearnDistribution[] function resizes images to 256x256. If I convert an image into its "Data" representation before ...
40 views

### Getting a PDF from a NonlinearFitModel

With the help of @JimB, I could fit some experimental data with a CDF using NonLinearFitModel. The set of data is the following: ...
51 views

### Why is this parallel notebook not maxing out the available memory and processors?

I've searched many questions about parallel processing here, and they are either specialized or over my head. I run the following parallel notebook on an 8 core EC2 instance. The average memory usage ...
319 views

### A simple/fast way to estimate distribution modality?

Is there a simple and performant way to estimate whether an empirical distribution generated from a list of data is unimodal and if not (or is reasonably uniform and doesn't have modality at all), to ...
58 views

### Calculating mass density using kernel density estimation

I have a data set comprising of three columns: Column A: Position in $x$ direction ($x_p$) Column B: Position in $y$ direction ($y_p$) Column C: Mass ($m_p$) at position $(x_p,y_p)$ I am trying to ...
52 views

### Plotting NormalDistributions with different means and standard deviations

I've been using the Mathematica reference code to create normal distributions: ...
52 views

### Finding parameters of custom distribution with no analytical function

I need to shift one distribution to another using a simple positional correction parameter. For illustrative purposes, I will create a "double hump" or "twin peaks" distribution here, but my actual ...
175 views

### Inverse Fourier Transform of Poisson Characteristic Function?

The follow line is returning without evaluation: InverseFourierTransform[ CharacteristicFunction[PoissonDistribution, t], t, w] It is meant to output ...
93 views

### Mathematica cannot generate the random variables for a given Probability Distribution

I need to generate a large number of random variables from the distribution generated by the following code. Distribution is given by DistributionF. The code is ...
47 views

### Efficient computation of density of ratio of two normal random variables

I want to manipulate the density of the ratio of two normal random variables. One way to do this is: ...
208 views

235 views

### Comparing heavy tailed and non-heavy tailed distribution using Mathematica

I have data from a heavy tailed distribution (see picture 1) and a non-heavy tailed distribution (see picture 2) and want to compare it using a histogram on log-scale. However the picture 3 does not ...
43 views

### FisherHypergeometricDistribution and WalleniusHypergeometricDistribution, how to specify boundary conditions

I'm trying to write a function that consists of a noncentral hypergeometric distribution. When I'm passing a set of parameters to the function, the following boundary problems occur: ...
57 views

### Why does integration of a radical times HeavisideTheta give a conditional expression?

If I want to compute an integral over x^p HeavisideTheta[y-x] where p is some fraction, I do not get the desired result, but ...
342 views

### Is this the correct method in using bootstrapping to determine a lower confidence bound?

Quite often in industry, due to cost and schedule constraints, decisions must be made on small sample size data. I have 4 cycles-to-failure values resulting from running samples to failure in a ...