# Lecture 15 – Bias and Variance

Presented by Fernando Perez and Ani Adhikari

Content by Fernando Perez, Ani Adhikari, Suraj Rampure

**Important:** The algebra behind the decomposition of model risk into observational variance, model variance, and bias, is not in the slides or video but is in the link above. You should read it **after** watching this lecture. Also, you may want to review Lecture 3 for a refresher on random variables.

The Quick Check for this lecture is due **Monday, October 26th at 11:59PM.** A random one of the following Google Forms will give you an alphanumeric code once you submit; you should take this code and enter it into the “Lecture 15” question in the “Quick Check Codes” assignment on Gradescope to get credit for submitting this Quick Check.

Video | Quick Check | |
---|---|---|

15.1 Variance of random variables. Walking through an alternate calculation of variance. Variance of a linear transformation. |
15.1 | |

15.2 Deriving the variance of a sum. Understanding covariance, correlation, and independence. |
15.2 | |

15.3 Variance of an i.i.d. sum. Variance of the Bernoulli and binomial distributions. |
15.3 | |

15.4 Variability of the sample mean. Reviewing inferential concepts from Data 8, but with the framework of random variables. |
15.4 | |

15.5 Introducing the data generating process and prediction error. Model risk. |
15.5 | |

15.6 Looking at different sources of error in our model – observation variance, model variance, and bias – and discussing how to mitigate them. |
15.6 | |

15.7 Decomposing model risk into the sum of observation variance, model variance, and the square of bias. |
15.7 |