Probability Overview
The probability section of this guide will likely never be fully completed, due to the fact that the Prob 140 textbook is such an excellent resource in probability theory. Go read it and do the problems!
Instead of a full write-up, the pages in this section will typically just link to relevant sections from the textbook. Personally, I found everything I needed to do well in CS70 probability (and much more) here, including examples that are very similar to problems you might see on the homework.
TL;DR donβt use this section of the guide, just read the 140 textbook.
Here is a running list of topics in this section:
- Countingprovides us an intuitive method of figuring out how many possible ways there are to do something.
Introduction If you're reading this, I think it's safe to assume you already know how to count... (1, 2, 3, whatever)...
- Discrete probability distributions, such as the Binomial or Geometric distributions, describe the probabilities of a finite set of outcomes.
Probability Basics http://prob140.org/textbook/content/Chapter\02/00\Calculating\_Chances.html Adding and subtracting probabilities -Multiplying probabilities: random draws without replacement, conditional probabilities Bayes' Rule Bayes' Rule is used to re-express...
- Continuous probability distributions, such as the Poisson or Normal distributions, help us model real values, like lifetime or height.
(Credit: Huiyi Zhang) All of the continuous probability distributions are deeply connected. Above is a chart describing some of their relationships. Below...
- Markov chainsmodel transitions between discrete states.
Markov Chains are a type of stochastic process (a collection of random variables that evolves over time) that satisfy the...
- Expectation and varianceare tools to describe the characteristics of a random variable or distribution.
The expectation of a random variable, , is the average of possible values weighted by their probabilities. Formally, it can...
- Concentration inequalitiesallow us to approximate bounds for random variables when we only know their expectation and/or variance.
Also see the Data 102 notes on this topic. Markov's Inequality: http://prob140.org/textbook/content/Chapter\18/04\Chi\Squared\Distributions.html Chebyshev's Inequality: http://prob140.org/textbook/content/Chapter\18/04\Chi\Squared\Distributions.html Chernoff Bound: http://prob140.org/textbook/content/Chapter\19/04\Chernoff\_Bound.html?highlight=chernoff ...
There is far more to explore in learning the basics of probability- not everything is included in this list!
Reference #
http://prob140.org/assets/final_reference_fa18.pdf
| Distribution | Values | Density | Expectation | Variance | Links |
|---|---|---|---|---|---|
| Uniform(m,n) | [m, n] | ||||
Bernoulli(p) Indicator | 0, 1 | P(X=1) = p P(X=0) = 1-p | |||
| Binomial(n,p) | [0, n] | ||||
| Poisson() | |||||
| Geometric(p) | |||||
| Hypergeom.(N,G,n) | [0, n] | ||||
| Uniform Continuous | (a, b) | ||||
| Beta(r,s) | (0, 1) | ||||
Exponential(\lambda) (Gamma(1, \lambda)) | |||||
| Gamma(r, ) | |||||
| Normal(0,1) | 0 | 1 |
Where and