# Questions tagged [bernoulli-distribution]

The Bernoulli distribution is a discrete distribution parametrized by a single "success" probability. It is a special case of the binomial distribution.

510 questions
Filter by
Sorted by
Tagged with
105k views

### Test if two binomial distributions are statistically different from each other

I have three groups of data, each with a binomial distribution (i.e. each group has elements that are either success or failure). I do not have a predicted probability of success, but instead can ...
32k views

9k views

### Generating correlated binomial random variables

I was wondering if it might be possible to generate correlated random binomial variables following a linear transformation approach? Below, I tried something simple in ...
745 views

### K successes in Bernoulli trials, or George Lucas movie experiment

I'm reading "The Drunkard's Walk" now and cannot understand one story from it. Here it goes: Imagine that George Lucas makes a new Star Wars film and in one test market decides to perform a crazy ...
106k views

### Expected number of tosses till first head comes up

Suppose that a fair coin is tossed repeatedly until a head is obtained for the first time. What is the expected number of tosses that will be required? What is the expected number of tails that will ...
5k views

### Correlated Bernoulli trials, multivariate Bernoulli distribution?

I'm simplifying a research question that I have at work. Imagine that I have 5 coins and let's call heads a success. These are VERY biased coins with probability of success p=0.1. Now, if the coins ...
600 views

4k views

### 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 ...
3k views

### Simulate a Bernoulli variable with probability ${a\over b}$ using a biased coin

Can someone tell me how to simulate $\mathrm{Bernoulli}\left({a\over b}\right)$, where $a,b\in \mathbb{N}$, using a coin toss (as many times as you require) with $P(H)=p$ ? I was thinking of using ...
2k views

### Sum of Products of Rademacher random variables

Let $x_1 \ldots x_a,y_1 \ldots y_b$ be independent random variables taking values $+1$ or $-1$ with probability 0.5 each. Consider the sum $S = \sum_{i,j} x_i\times y_j$. I wish to upper bound the ...
171 views

### Having a hard time with the law of the iterated logarithm

Let's say you have infinitely many i.i.d. Bernouilli variables $X_1, X_2, \cdots$ of parameter $p=\frac{1}{2}$. For instance, the binary digits of a random number. Let $S_n = X_1 + \cdots X_n$. The ...
3k views

1k views

### Normal Approximation of the sum of correlated Bernoulli Random Variables

Hi I am looking for a result (if it exists !!!) in the direction of Normal approximation for sum of correlated Bernoulli random variables (edit : with the same parameter $p$) where correlation between ...
412 views

### Estimating successes while obtaining Bernoulli samples

I have a process which, after fixing the values of some parameters, generates samples from a Bernoulli distribution with unknown $p$. The value of $p$ is typically small, and what I want to do is to ...
1k views

### Should coin flips be modeled as Bernoulli or binomial draws in RJags?

What is the best way to model coin flips as a hierarchical model? Do you say coin draws are a series of draws from Bernoulli trials or as one draw from a binomial distribution? That is something like ...
386 views

### Why no variance term in Bayesian logistic regression?

I've read here that ... (Bayesian linear regression) is most similar to Bayesian inference in logistic regression, but in some ways logistic regression is even simpler, because there is no ...