Questions tagged [probability-or-statistics]

Questions about systematic data collection and organization, or the application of probability theory to model the inherent patterns and properties of sampled data, underlying data distribution(s) or random processes.

1,653 questions
Filter by
Sorted by
Tagged with
135 views

Generating a set of random variates from Poisson distribution

Say I am not allowed to use built-in PoissonDistribution, which means I should generate 100 random numbers first, and then with these 100 random numbers to generate 100 random variates from Poisson ...
188 views

How to simulate the roll of 3 or more dice and ask for a sum of 3 or more?

How to simulate the throwing of 3 or more dice and ask for the sum of 3 or more and indicate the number of calves, or more that are produced. For example if you throw 3 dice, how many cases will add ...
181 views

Confirm and possibly simplify a 2009 result for a 2D constrained integration

This is a direct descendant of two other recent questions, 3D and Equivalence, both of which have been answered in skillful, interesting manners. (See also the comment [actually answer] of JimB to ...
49 views

Piecewise function inside ProbabilityDistribution causing errors

I'm using a complicated Piecewise function to create a probability distribution and draw random points from it. ...
55 views

How to emulate statistical command choice tab of this widget?-how to do what i ask?

I designed this little program, but I want you to be able to choose what I want to look for by choosing it as you do with the widget tab, please help me. widget Widget of internet my program ...
66 views

Probability distribution with random paremeters

Is it possible to set something like this? A probability distribution with random parameters ...
96 views

Turning a matrix matrix into a probability table

I want to build a probability table that is able to answer questions such as "if i roll 5, 4 sided dice what is the probability i get at least a 16?" My current code is: ...
193 views

Evaluate 3D- and 5D-constrained integrals for absolute separability probabilities

In a recent posting, TwoQubits user JimB, employing a change-of-transformations put forth by N. Tessore, was able to confirm a formula for the "two-qubit absolute separability Hilbert-Schmidt ...
46 views

Adding a module to teach Mathematica the Laplace transform of particular Mittag-Leffler functions

Mathematica 11.3 is not aware of a useful Laplace transform LaplaceTransform[t^(-a) MittagLefflerE[a, a, t^a], t, s] which for ...
81 views

Ideas to speed up an order statistic calculation?

A toy example: {n, top} = {25, 100}; mxs = RandomReal[{0, top}, n]; dist = UniformDistribution[Thread[{0, mxs}]]; result = Mean[OrderDistribution[dist, n]] With ...
197 views

Simplifying the code to calculate probability of tossing 4 unfair dice

Four identical unfair dice are tossed once. Find the probability of events in which the sum of numbers (facing up) is 18. Given the probability of face 6 is $1/2$ and that of each other face is $1/10$....
86 views

Concatenation of Distributions

I would like to calculate mean, variance, ... of a concatenation of distributions (is this the correct technical term?). For an easy example I am trying to calculate the mean of a PoissonDistribution ...
33 views

...
89 views

Total Variation Distance(between Gaussians)

I am interested in a tool that calculates the total variation distance between two multivariate Normal distributions. Any help will be much appreciated as I am a complete beginner.(So far, I have ...
170 views

164 views

Can this probability function speed be improved?

I have a process that as part of it requires a certain probability query, specifically, given a multinomial distribution with f equiprobable categories and r trials, some specific category has a given ...
80 views

110 views

Confidence interval

With data = {{0.002, 2.51053}, {0.004, 2.54217}, {0.006, 2.55543}, {0.008, 2.54247}}; I obtain a linear fit 2.51038 + 5.454 x; ...
552 views

Multivariate linear regression

Say I have a 4-dimensional data set with two independent variables x1, x2, and two dependent variables y1, y2, i.e. each row is <...
94 views

Why doesn't this function TransformedDistribution work?

According to the information in this post, we know that ${\displaystyle z={\sqrt {-2\ln U_{1}}}\cos(2\pi U_{2})}$ follows a normal distribution, and the datas generated supports this view. ...
254 views

How to use MMA to simulate the German tank problem

In the statistical theory of estimation, the German tank problem consists of estimating the maximum of a discrete uniform distribution from sampling without replacement. In simple terms, suppose there ...
112 views

How to find the expectation $\mathbb{E}\left[ a \mathcal{Q} \left( \sqrt{b } \gamma \right) \right]$?

I'm trying to find the following expectation $$\mathbb{E}\left[ a \mathcal{Q} \left( \sqrt{b } \gamma \right) \right],$$ where $a$ and $b$ are constant values, $\mathcal{Q}$ is the Gaussian Q-function,...
We consider a two-dimensional dicrete probability distribution on $\mathcal{X} \times \mathcal{Y}$ with $|\mathcal{X}|\cdot |\mathcal{Y}| = r \cdot q$ distinct values with corresponding probabilities \$...