Professional Documents
Culture Documents
Lectures On Probability Theory and Mathematical Statistics Second Edition
Lectures On Probability Theory and Mathematical Statistics Second Edition
Marco Taboga
ii
Contents
I Mathematical tools 1
1 Set theory 3
1.1 Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2 Set membership . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3 Set inclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.4 Union . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.5 Intersection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.6 Complement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.7 De Morgan’s Laws . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.8 Solved exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2 Permutations 9
2.1 Permutations without repetition . . . . . . . . . . . . . . . . . . . . 9
2.1.1 De…nition of permutation without repetition . . . . . . . . . 9
2.1.2 Number of permutations without repetition . . . . . . . . . . 10
2.2 Permutations with repetition . . . . . . . . . . . . . . . . . . . . . . 11
2.2.1 De…nition of permutation with repetition . . . . . . . . . . . 11
2.2.2 Number of permutations with repetition . . . . . . . . . . . . 11
2.3 Solved exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3 k-permutations 15
3.1 k-permutations without repetition . . . . . . . . . . . . . . . . . . . 15
3.1.1 De…nition of k-permutation without repetition . . . . . . . . 15
3.1.2 Number of k-permutations without repetition . . . . . . . . . 16
3.2 k-permutations with repetition . . . . . . . . . . . . . . . . . . . . . 17
3.2.1 De…nition of k-permutation with repetition . . . . . . . . . . 17
3.2.2 Number of k-permutations with repetition . . . . . . . . . . . 18
3.3 Solved exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4 Combinations 21
4.1 Combinations without repetition . . . . . . . . . . . . . . . . . . . . 21
4.1.1 De…nition of combination without repetition . . . . . . . . . 21
4.1.2 Number of combinations without repetition . . . . . . . . . . 22
4.2 Combinations with repetition . . . . . . . . . . . . . . . . . . . . . . 22
4.2.1 De…nition of combination with repetition . . . . . . . . . . . 23
4.2.2 Number of combinations with repetition . . . . . . . . . . . . 23
4.3 More details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
4.3.1 Binomial coe¢ cients and binomial expansions . . . . . . . . . 25
4.3.2 Recursive formula for binomial coe¢ cients . . . . . . . . . . . 25
iii
iv CONTENTS
9 Special functions 55
9.1 Gamma function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
9.1.1 De…nition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
9.1.2 Recursion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
9.1.3 Relation to the factorial function . . . . . . . . . . . . . . . . 56
9.1.4 Values of the Gamma function . . . . . . . . . . . . . . . . . 57
CONTENTS v
II Fundamentals of probability 67
10 Probability 69
10.1 Sample space, sample points and events . . . . . . . . . . . . . . . . 69
10.2 Probability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
10.3 Properties of probability . . . . . . . . . . . . . . . . . . . . . . . . . 71
10.3.1 Probability of the empty set . . . . . . . . . . . . . . . . . . . 71
10.3.2 Additivity and sigma-additivity . . . . . . . . . . . . . . . . . 72
10.3.3 Probability of the complement . . . . . . . . . . . . . . . . . 72
10.3.4 Probability of a union . . . . . . . . . . . . . . . . . . . . . . 73
10.3.5 Monotonicity of probability . . . . . . . . . . . . . . . . . . . 73
10.4 Interpretations of probability . . . . . . . . . . . . . . . . . . . . . . 74
10.4.1 Classical interpretation of probability . . . . . . . . . . . . . 74
10.4.2 Frequentist interpretation of probability . . . . . . . . . . . . 74
10.4.3 Subjectivist interpretation of probability . . . . . . . . . . . . 74
10.5 More rigorous de…nitions . . . . . . . . . . . . . . . . . . . . . . . . . 75
10.5.1 A more rigorous de…nition of event . . . . . . . . . . . . . . . 75
10.5.2 A more rigorous de…nition of probability . . . . . . . . . . . . 76
10.6 Solved exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
11 Zero-probability events 79
11.1 De…nition and discussion . . . . . . . . . . . . . . . . . . . . . . . . . 79
11.2 Almost sure and almost surely . . . . . . . . . . . . . . . . . . . . . 80
11.3 Almost sure events . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
11.4 Solved exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
12 Conditional probability 85
12.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
12.2 The case of equally likely sample points . . . . . . . . . . . . . . . . 85
12.3 A more general approach . . . . . . . . . . . . . . . . . . . . . . . . 87
12.4 Tackling division by zero . . . . . . . . . . . . . . . . . . . . . . . . . 90
12.5 More details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
12.5.1 The law of total probability . . . . . . . . . . . . . . . . . . . 90
12.6 Solved exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
13 Bayes’rule 95
13.1 Statement of Bayes’rule . . . . . . . . . . . . . . . . . . . . . . . . . 95
13.2 Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
13.3 Solved exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
vi CONTENTS
14 Independent events 99
14.1 De…nition of independent event . . . . . . . . . . . . . . . . . . . . . 99
14.2 Mutually independent events . . . . . . . . . . . . . . . . . . . . . . 100
14.3 Zero-probability events and independence . . . . . . . . . . . . . . . 101
14.4 Solved exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
20 Variance 155
20.1 De…nition of variance . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
20.2 Interpretation of variance . . . . . . . . . . . . . . . . . . . . . . . . 155
20.3 Computation of variance . . . . . . . . . . . . . . . . . . . . . . . . . 155
20.4 Variance formula . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
20.5 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
20.6 More details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
20.6.1 Variance and standard deviation . . . . . . . . . . . . . . . . 157
20.6.2 Addition to a constant . . . . . . . . . . . . . . . . . . . . . . 157
20.6.3 Multiplication by a constant . . . . . . . . . . . . . . . . . . 158
20.6.4 Linear transformations . . . . . . . . . . . . . . . . . . . . . . 158
20.6.5 Square integrability . . . . . . . . . . . . . . . . . . . . . . . 159
20.7 Solved exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
21 Covariance 163
21.1 De…nition of covariance . . . . . . . . . . . . . . . . . . . . . . . . . 163
21.2 Interpretation of covariance . . . . . . . . . . . . . . . . . . . . . . . 163
21.3 Covariance formula . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
21.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
21.5 More details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
21.5.1 Covariance of a random variable with itself . . . . . . . . . . 166
21.5.2 Symmetry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
21.5.3 Bilinearity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
21.5.4 Variance of the sum of two random variables . . . . . . . . . 167
21.5.5 Variance of the sum of n random variables . . . . . . . . . . . 168
21.6 Solved exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
viii CONTENTS
51 F distribution 421
51.1 De…nition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421
51.2 Relation to the Gamma distribution . . . . . . . . . . . . . . . . . . 422
51.3 Relation to the Chi-square distribution . . . . . . . . . . . . . . . . . 424
51.4 Expected value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 425
51.5 Variance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426
51.6 Higher moments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427
51.7 Moment generating function . . . . . . . . . . . . . . . . . . . . . . . 428
51.8 Characteristic function . . . . . . . . . . . . . . . . . . . . . . . . . . 428
51.9 Distribution function . . . . . . . . . . . . . . . . . . . . . . . . . . . 428
51.10Solved exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429