Canonical: https://knowlpedia.com/probability/iid-sequence/

# i.i.d. sequence

A sequence of random variables that are independent and identically distributed.

A **sequence of i.i.d. random variables** is a [sequence](https://knowlpedia.com/shared-foundations/sequence/) \((X_n)_{n\ge 1}\) of [random variables](https://knowlpedia.com/probability/random-variable/) on a common [probability space](https://knowlpedia.com/probability/probability-space/) such that the family \((X_n)_{n\ge 1}\) is [independent](https://knowlpedia.com/probability/independence-random-variables/) and the variables are [identically distributed](https://knowlpedia.com/probability/identically-distributed/) (equivalently, each \(X_n\) has the same [distribution law](https://knowlpedia.com/probability/distribution-law/) as \(X_1\)).

## Remarks

i.i.d. sequences formalize repeated sampling and are the basic setting for the [weak law of large numbers](https://knowlpedia.com/probability/weak-law-large-numbers/), the [strong law of large numbers](https://knowlpedia.com/probability/strong-law-large-numbers/), and the [central limit theorem](https://knowlpedia.com/probability/central-limit-theorem/).

## Examples

- Let \(X_n\) be the indicator that the \(n\)th fair coin toss is heads. Then \((X_n)_{n\ge 1}\) is i.i.d. Bernoulli\((1/2)\).
- Let \(X_1,X_2,\dots\) be independent samples from a [normal distribution](https://knowlpedia.com/probability/normal-distribution/) \(N(0,1)\). Then \((X_n)_{n\ge 1}\) is an i.i.d. sequence with that common law.
