A pair of identically distributed random variables XX and YY is a pair of whose agree; equivalently, for every Borel set ARA\subseteq\mathbb R,

P(XA)=P(YA).\mathbb P(X\in A)=\mathbb P(Y\in A).
Remarks

Identical distribution compares only marginal behavior and does not impose . When the relevant moments exist, identically distributed variables have the same and the same .

Examples
  • If XX is the indicator of “heads” on the first fair coin toss and YY is the indicator of “heads” on the second toss, then XX and YY are identically distributed (both are Bernoulli(1/2)(1/2)).
  • If UU is uniform on [0,1][0,1] and Y=1UY=1-U on the same probability space, then UU and YY are identically distributed even though they are completely dependent.