Let $X_1$ and $X_2$ be two Bernoulli random variables, with $P(X_1=1)=p_1$ and $P(X_2=1)=p_2$. The following discussion showed how to generate a pair of correlated Bernoulli variables with correlation coefficient $\rho$. I want to do the same but for 3 variables $X_1$, $X_2$, $X_3$ with respective probability $p_1$, $p_2$ and $p_3$ and identical correlation coefficient $\rho>0$ between $X_1$ and $X_2$, $X_1$ and $X_3$ and $X_2$ and $X_3$. Intuitively, it seems that this has multiple solutions depending on the higher order association between $X_1$, $X_2$, $X_3$, which I would then fix to 0. Is there a way to generate such distributions of Bernoulli variables ? By "generate", I don't mean produce with the help of an algorithm that would converge towards the desired distribution, but I mean more how we can construct it, i.e. calculate the probability of each combinations of the three Bernoulli variables. If yes, can it be generalized to more than 3 variables (assuming null association between more than two variables)?
2026-03-28 01:12:55.1774660375
How to generate correlated Bernoulli variables?
904 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in PROBABILITY
- How to prove $\lim_{n \rightarrow\infty} e^{-n}\sum_{k=0}^{n}\frac{n^k}{k!} = \frac{1}{2}$?
- Is this a commonly known paradox?
- What's $P(A_1\cap A_2\cap A_3\cap A_4) $?
- Prove or disprove the following inequality
- Another application of the Central Limit Theorem
- Given is $2$ dimensional random variable $(X,Y)$ with table. Determine the correlation between $X$ and $Y$
- A random point $(a,b)$ is uniformly distributed in a unit square $K=[(u,v):0<u<1,0<v<1]$
- proving Kochen-Stone lemma...
- Solution Check. (Probability)
- Interpreting stationary distribution $P_{\infty}(X,V)$ of a random process
Related Questions in CORRELATION
- What is the name of concepts that are used to compare two values?
- Power spectrum of field over an arbitrarily-shaped country
- How to statistically estimate multiple linear coefficients?
- How do I calculate if 2 stocks are negatively correlated?
- A simple question on average correlation
- Two random variables generated with common random varibales
- Correlation of all zero rows and columns in matrix
- Calculating correlation matrix from covariance matrix - r>1
- Joint probability of (X+Z) $\land$ (Y+Z) for arbitrary distribution of X, Y, Z.
- Phase space: Uncorrelated Gaussian Summed With a Linearly Correlated Gaussian
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
To construct a measurable space let $\Omega=\left\{ 0,1\right\} ^{3}$ be equipped with its powerset as $\sigma$-algebra.
It is handsome to think of an outcome $\omega\in\Omega$ as a function $\left\{ 1,2,3\right\} \to\left\{ 0,1\right\} $.
For $i=1,2,3$ let $X_{i}:\Omega\to\mathbb{R}$ be prescribed by $\omega\mapsto\omega\left(i\right)$.
The outcome space has $2^{3}=8$ elements so that the $\sigma$-algebra contains $2^8$ events and we must find a probability measure $P$ on it that satisfies:
$p_{1}=P\left(X_{1}^{-1}\left(\left\{ 1\right\} \right)\right)$
$p_{2}=P\left(X_{2}^{-1}\left(\left\{ 1\right\} \right)\right)$
$p_{3}=P\left(X_{3}^{-1}\left(\left\{ 1\right\} \right)\right)$
$p_{1}p_{2}p_{3}=P\left(X_{1}^{-1}\left(\left\{ 1\right\} \right)\cap X_{2}^{-1}\left(\left\{ 1\right\} \right)\cap X_{3}^{-1}\left(\left\{ 1\right\} \right)\right)$
$\rho\sqrt{p_{1}\left(1-p_{1}\right)p_{2}\left(1-p_{2}\right)}+p_{1}p_{2}=P\left(X_{1}^{-1}\left(\left\{ 1\right\} \right)\cap X_{2}^{-1}\left(\left\{ 1\right\} \right)\right)$
$\rho\sqrt{p_{1}\left(1-p_{1}\right)p_{3}\left(1-p_{3}\right)}+p_{1}p_{3}=P\left(X_{1}^{-1}\left(\left\{ 1\right\} \right)\cap X_{3}^{-1}\left(\left\{ 1\right\} \right)\right)$
$\rho\sqrt{p_{2}\left(1-p_{2}\right)p_{3}\left(1-p_{3}\right)}+p_{2}p_{3}=P\left(X_{2}^{-1}\left(\left\{ 1\right\} \right)\cap X_{3}^{-1}\left(\left\{ 1\right\} \right)\right)$
where the last $3$ equalities are based on the equality: $$\rho\left(X_{i},X_{j}\right)\sqrt{p_{i}\left(1-p_{i}\right)p_{j}\left(1-p_{j}\right)}=\rho\left(X_{i},X_{j}\right)\sigma_{X_{i}}\sigma_{X_{j}}=\mathsf{Cov}\left(X_{i},X_{j}\right)=\mathbb{E}X_{i}X_{j}-\mathbb{E}X_{i}\mathbb{E}X_{j}=$$$$\mathbb{E}X_{i}X_{j}-p_{i}p_{j}$$
There are $8$ disjoint sets of shape $X_{1}^{-1}\left(\left\{ x\right\} \right)\cap X_{2}^{-1}\left(\left\{ y\right\} \right)\cap X_{3}^{-1}\left(\left\{ z\right\} \right)$ involved (where $x,y,z\in\{0,1\}$) that cover the outcome space and each of them has a probability. Giving these events a probability comes actually to the same as determining the probability measure.
Denoting these probabilities as $a,u,v,w,r,s,t,z$ we meet the following conditions:
$1=a+u+v+w+r+s+t+z$
$p_{1}=a+u+v+s=$
$p_{2}=a+u+w+r$
$p_{3}=a+v+w+t$
$p_{1}p_{2}p_{3}=a$
$\rho\sqrt{p_{1}\left(1-p_{1}\right)p_{2}\left(1-p_{2}\right)}+p_{1}p_{2}=a+u$
$\rho\sqrt{p_{1}\left(1-p_{1}\right)p_{3}\left(1-p_{3}\right)}+p_{1}p_{3}=a+v$
$\rho\sqrt{p_{2}\left(1-p_{2}\right)p_{3}\left(1-p_{3}\right)}+p_{2}p_{3}=a+w$
Here e.g. $a$ stands for the probability of $X_{1}^{-1}\left(\left\{ 1\right\} \right)\cap X_{2}^{-1}\left(\left\{ 1\right\} \right)\cap X_{3}^{-1}\left(\left\{ 1\right\} \right)$ and $u$ for the probability of $X_{1}^{-1}\left(\left\{ 1\right\} \right)\cap X_{2}^{-1}\left(\left\{ 1\right\} \right)\cap X_{3}^{-1}\left(\left\{ 0\right\} \right)$ and $s$ for the probability of $X_{1}^{-1}\left(\left\{ 1\right\} \right)\cap X_{2}^{-1}\left(\left\{ 0\right\} \right)\cap X_{3}^{-1}\left(\left\{ 0\right\} \right)$.
So we meet $8$ equalities on $8$ unknown variables. This however is not a guarantee that there is a proper solution because there are also constraints on base of inequalities. E.g. the probabilities cannot be negative.