Questions tagged [poisson-binomial-distribution]

A discrete probability distribution corresponding to the sum of independent Bernoulli trials that are not necessarily identically distributed.

A discrete probability distribution corresponding to the sum of independent Bernoulli trials that are not necessarily identically distributed.

The binomial distribution is a special case of the Poisson binomial distribution.

85 questions
41
votes
9 answers

How can I efficiently model the sum of Bernoulli random variables?

I am modeling a random variable ($Y$) which is the sum of some ~15-40k independent Bernoulli random variables ($X_i$), each with a different success probability ($p_i$). Formally, $Y=\sum X_i$ where $\Pr(X_i=1)=p_i$ and $\Pr(X_i=0)=1-p_i$. I am…
15
votes
2 answers

Sum of Bernoulli variables with different success probabilities

Let $x_i$ be independent Bernoulli random variables with success probabilities $p_i$. That is, $x_i=1$ with probability $p_i$ and $x_i=0$ with probability $1-p_i$. Is there a closed expression or an approximate formula for the distribution of the…
14
votes
2 answers

Success of Bernoulli trials with different probabilities

If 20 independent Bernoulli trials are carried out each with a different probability of success and therefore failure. What is the probability that exactly n of the 20 trials was successful? Is there a better way of calculating these probabilities…
10
votes
4 answers

What is the CDF of the sum of weighted Bernoulli random variables?

Let's say we have a random variable $Y$ defined as the sum of $N$ Bernoulli variables $X_i$, each with a different, success probability $p_i$ and a different (fixed) weight $w_i$. The weights are positive and between ~0.001-1,000 with a handful of…
8
votes
2 answers

Is the mode of a Poisson Binomial distribution next to the mean?

A Poisson-Binomial variable $X\sim PB(p_1, \dots, p_n)$ is the sum of $n$ independent, not necessarily identically distributed, Bernoulli variables $X_1, \dots, X_n$: $$ X=\sum_{i=1}^n X_i, $$ with $X_i\sim Ber(p_i)$. The Poisson-Binomial…
cangrejo
  • 2,121
  • 13
  • 22
8
votes
2 answers

Modified Poisson binomial distribution

In the Poisson binomial distribution each trial is either yes (1) or no (0). Is there a distribution where each trial is either yes (N) or no (0)? I'd like to model a situation where I have, for example, 10 workers. Each worker can produce $N$…
7
votes
1 answer

Logistic / multinomial regression as two / multiple Poisson regressions?

Can we instead of doing logistic or multinomial regression do two or multiple Poisson regressions and then combine Poisson predictions to get probabilistic predictions? If yes, how should we transform data for training?
5
votes
1 answer

Hypothesis testing on Poisson Binomial distribution

Imagine $N$ baskets each filled with a different number of products chosen from a set $P$. It is possible to have repeated products in the same basket. For instance: basket 1 = [A,B,B,C] basket 2 = [A,B,C,D,F,J] basket 3 = [C] ... basket N =…
5
votes
2 answers

Random number generator that returns unique 64-bit numbers in sorted order

(I have asked the question at stackoverflow.com here but maybe it's better to ask here for the statistical part. Feel free to correct my question, fix the tags, redirect me...) I need a generator for many (up to one trillion, $10^{12}$) unique,…
5
votes
1 answer

Poisson Binomial Distribution with Evenly Distributed Bernoulli Trial Probabilities

Consider the Poisson binomial distribution with $n$ coins and coin probabilities ${1 \over n}, {2\over n}, \dots, {n-1 \over n}, 1$. Do we know an asymptotic for this distribution? Le Cam's theorem says when the $p_i$ are small the distribution…
Chris Jones
  • 165
  • 4
5
votes
1 answer

Maximum likelihood estimation of a Poisson binomial distribution

According to Wikipedia, the Poisson binomial distribution is the discrete probability distribution of a sum of independent Bernoulli trials that are not necessarily identically distributed In other words, the Bernoulli trials have different…
5
votes
1 answer

Why is a binomial distribution bell-shaped?

I would expect there to be only be values between zero and one (with 0 => failure and 1 => success), but instead the values go up much higher. For example, if I search for "binomial distribution graph", this is the first image result I…
5
votes
1 answer

Variance of the Poisson Binomial Distribution

Consider a sequence of $n$ independent Bernoulli trials drawn from a list of biases $p_1,p_2,...,p_n\in[0,1]$, respectively. We set the random variable $X$ to be the sum of these trials. On wikipedia, the distribution of $X$ is called the Poisson…
5
votes
2 answers

Estimate accuracy of an estimation on Poisson binomial distribution

I manage a website that charges its customers using payment cards. Some transactions area approved, others are declined. I compute the approval rate of transactions for a interval (a calendar day) as the number of approved transactions (A) divided…
4
votes
1 answer

Probability mass function with variable probability?

I would like to calculate the probability of a certain result coming out at least 'x' times in 'n' attempts when the probability of result varies on every attempt; all attempts are independent events. I found that I can use PMF when I have the same…
Jorge Riv
  • 165
  • 3
1
2 3 4 5 6