# Material for Midterm

### Data140 Spring 2022

### A. Adhikari

The midterm is during the lecture time on Tuesday March 1. This is a summary of the material for the exam, grouped by main topic. Boldface has been reserved for topics that I consider to be core material for understanding the rest of the course.

The general techniques are in the sections Probability, Distribution, and Expectation. The next two sections consist of applications.

In several chapters, the book has sections called Examples. Please review those. Please also review all your homework, labs, quizzes, and exercises done in section.

### Probability

- Chapter 1: Spaces, events, basic counting, exponential approximation
**Chapter 2: The fundamentals: addition and multiplication rules, conditioning and Bayes’ rule**
- Chapter 5: Chances (or bounds on chances) of unions and intersections of several events, with major examples
- Section 9.1: Probabilities by conditioning and recursion

### Distribution

### Expectation

**Chapter 8: The main properties, including additivity, the method of indicators, and expectations of functions, as well as the tail sum formula for the expectation of a non-negative integer valued variable**
- Section 9.2, Section 9.3: Expectation by conditioning, applications to i.i.d. Bernoulli trials
- Chapter 12: Expected squared error (or variance), standard deviation, and some tail bounds.

### Random Counts

These distributions are fundamental elements of discrete probabilitistic modeling. **ALL of this section should be in bold.**

- Section 8.1: Bernoulli
- Section 8.1: Uniform on a, a+1, … , b
- Sections 6.1, 6.3, 8.5: Binomial, multinomial, expectation of the binomial
- Sections 5.4, 6.4, 8.5: Hypergeometric and its expectation
- Section 6.6, Lab 1, Chapter 7, Sections 8.2, 8.3, 8.4: Poisson and related expectations
- Sections 8.2, 9.3: Geometric, its right hand tail, and its expectation

### Markov Chains

- Sections 10.1, 10.2: Terminology and basics
- Sections 10.3, 10.4: The steady state distribution and its properties
- Section 11.1: Balance and detailed balance
- Sections 11.2, 11.3, Lab 3: Code Breaking and MCMC