Independent and Identically Distributed
Study guide: Exam P-1
Random variables X_1, \ldots, X_n are Independent and Identically Distributed (i.i.d.) when they are independent and have the same distribution. If each has probability function or density f, their joint probability function or density is
f(x_1, \ldots, x_n) = f(x_1)\,f(x_2) \cdots f(x_n)
The product is the independence, and the same f in every factor is the identical distribution. I.i.d. random variables model a random sample or a book of similar, unrelated policies.
Each policy has 0, 1 or 2 claims with probabilities 0.50, 0.35 and 0.15, independently of the other policies. What is the probability that two policies have 2 claims in total?
- The totals of 2 are
(2, 0),(0, 2)and(1, 1).- Each joint probability is a product:
(0.15)(0.50),(0.50)(0.15)and(0.35)(0.35).- The probability is
0.075 + 0.075 + 0.1225, which is 0.2725.
Sums of i.i.d. random variables
If each X_i has mean \mu and variance \sigma^2, their sum S_n = X_1 + \cdots + X_n has
E[S_n] = n\mu
\text{Var}(S_n) = n\sigma^2
The average \bar{X} = S_n / n has mean \mu and variance \sigma^2 / n. For large n, the Central Limit Theorem makes S_n approximately normal.
For the policies above, what are the mean and standard deviation of the total number of claims on 100 policies?
- One policy has
\mu = 0.35 + 2(0.15) = 0.65.- Its second moment is
0.35 + 4(0.15) = 0.95, so\sigma^2 = 0.95 - 0.65^2 = 0.5275.- The total has mean
100(0.65) = 65.- Its variance is
100(0.5275) = 52.75, so its standard deviation is 7.26.
n\sigma^2orn^2\sigma^2A sum ofni.i.d. terms has variancen\sigma^2. A single term multiplied bynhas variancen^2\sigma^2. Two policies with independent claims are less risky than one policy written twice as large.
The largest and smallest of n
The largest of n i.i.d. random variables is at most x only if every one of them is, and the smallest is above x only if every one of them is:
P(X_{(n)} \le x) = F(x)^n
P(X_{(1)} > x) = \big(1 - F(x)\big)^n
Fis the common cumulative distribution function.X_{(n)}andX_{(1)}are the largest and smallest of theX_i, the extreme order statistics.
For three of the policies above, what is the probability that no policy has 2 claims?
- No policy has 2 claims exactly when the largest count is at most 1.
- Each policy has at most 1 claim with probability
F(1) = 0.85.- The probability is
0.85^3 = 0.6141.
Symmetry
Swapping two i.i.d. random variables doesn't change their joint distribution. So an event and its mirror image, with the roles of the variables swapped, have the same probability. For n i.i.d. continuous random variables, each is equally likely to be the smallest:
P\big(X_1 = X_{(1)}\big) = \frac{1}{n}
Three people have i.i.d. continuous future lifetimes. What is the probability that the first person dies first?
- The three lifetimes are i.i.d. and continuous, so ties have probability 0.
- Each of the three is equally likely to be the smallest.
- The probability is
\frac{1}{3}.
The symmetry holds after conditioning on an event G that treats the items alike, such as "at least one item is of a given type". Every item then has the same conditional probability of having a property. Writing the number of items with the property as a sum of indicators, linearity gives its conditional mean:
E[N \mid G] = n \cdot P(\text{item 1 has the property} \mid G)
Nis the number of thenitems with the property.