# 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.

332 questions
13 views

### Normalizing two independent weights in order to produce output between 0 and 1

I have two scores, alpha and beta, ranging both between 0 and 1. I want to weight these with weight_one, weight_two in order to favour one of these scores over the other. Then, afterwards, I want to ...
124 views

### What is the $p$ in Bernoulli distribution?

In the Bayesian theory of probability, probability is our expression of knowledge about a certain thing, not a property of that thing. However, I always see people treat $p$ as a parameter that needs ...
8 views

### Can I improve an estimate of a coin-flip probability from a single trial using an imperfect oracle?

I have the following generative model: I have a unknown random variable $S\in[0,1]$ and samples $s_i \sim S$. I do not observe $s_i$ directly, but instead an imperfect oracle $q_i$, which might or ...
26 views

### Return Period and Probability

My question is simple: If I assume that the probability to be hit by a lightning strike for a person in this year was 0.5 percent would it mean that if I was able to live 200 years I would be hit by ...
52 views

### Correlated Bernoulli Trials

Suppose there are $n$ dependent Bernoulli trials, $X_{1}$,...,$X_{n}$ with $% X_{j}\in \{1,0\}$ and $\Pr (X_{j}=1)=q$ for all $j=1,...,n$. For any $% n\geqslant 2$ dependent Bernoulli trials, in the ...
12 views

### How do I update a Bernoulli prior parameter estimate after measuring additional covariates

I have a system that generates a probabilistic risk score, p0, for disease D0 from the results of an assay. The assay also generates several numeric features, f1, ..., fn, stored and available once ...
338 views

### Checking if a coin is fair

I was asked the following question by a friend. I could not help her out but I hope someone can explain it to me. I could not find any similar example.Thanks for any help and explanation. Q: Results ...
25 views

### Calculating the true error comprised of two probability distributions

Let $X$ = {0,1,2,3,4} and $Y$ = {0,1}. A probability distribution $D$ defined on $X\times Y$ such that $D_x$ = Binomial(4, 0.5) and $D_{y\mid x}$ = Bernoulli(0.5). Given the predictor: $h(x)$ = $0$ ...
14 views

### Other than linear transformations of any one Bernoulli distribution, what popular distributions only take two possible values?

I suspect that this may be a silly question, as some sort of isomorphism ought to exist between linear transformations of the Bernoulli distribution and any other distribution that can only take two ...
80 views

### What is the correct terminology for repeating groups of coin flips multiple times in a simulation?

I previously posted a question that is causing a lot of confusion because my terminology is incorrect. I decided to post this question to ensure I am starting my problem with the correct terminology. ...
36 views

### How to generate a Bernoulli distribution based on a given Bernoulli distribution? [closed]

We have a Bernoulli distribution which outputs 1 with probability C and outputs 0 with probability 1-C. C is unknown. Now we would like to generate a new Bernoulli distribution that outputs 1 with ...
44 views

### Sum of Bernoulli random variables with Gaussian noise

This relates to a question asked recently where (one of the edits of) the question asked what happens when a sum of Bernoulli random variables has some form of noise on the probability parameter. ...
76 views

### Summing Bernoulli distributions with noise [duplicate]

EDITED John is playing a game on $n$ days, each day being independent. On each day $i$, his probability of success is $p_i$. We have $\frac{1}{n} \sum_{i=1}^n p_i = p$, and typically, the standard ...
14 views

24 views

### Why is my version of naive bayes not working as well as the one from sklearn?

I've implemented my own version of the bernoulli naive bayes algorithm. However, its performance is not as good as the sklearn version. Could anyone explain how I can improve my code? ...
91 views

### Prove that the sum and the absolute difference of 2 Bernoulli(0.5) random variables are not independent

Let $X$ and $Y$ be independent $Bernoulli(0.5)$ random variables. Let $W = X + Y$ and $T = |X - Y|$. Show that $W$ and $T$ are not independent. I know that I have to show that $P(W, T)$ is not equal ...
12 views

### Find joint distribution for two different cases Kruskal Wallis

I'm a bit stuck with my homework in a subject called "Non-parametric Statistics". The task is related to Kruskal-Wallis test. The task is as follows: Let's look at the comparison of 3 independent ...
127 views

45 views

### Sum of independent binomially distributed variables (with different p's)?

The sum of independent variables each following binomial distributions $B(N_i,p_i)$ is also binomial if all $p_i = p$ are equal (in this case the sum follows $B(\sum_i N_i, p)$. If the $p_i$ are ...
79 views