Probability and Statistics — Short Notes
Summarize data and quantify uncertainty using probability rules, conditional events and random variables.
1. Data and summaries
- Categorical data are labels; numerical data are counts or measurements, and may be discrete or continuous.
- Mean uses all values; median is the middle after ordering; mode is the most frequent value.
- For grouped data, class midpoints give an approximation to the mean, not an exact raw-data mean.
- Choose a summary suited to the distribution; the median is less affected by extreme values.
2. Spread and distribution
- Range is maximum minus minimum; variance and standard deviation measure spread around the mean.
- Population variance divides squared deviations by N; sample variance commonly divides by n−1 to estimate population variance.
- A box plot shows median and quartiles; outliers can affect the mean and range strongly.
- Units of standard deviation match the data; variance has squared units.
3. Probability foundations
- For equally likely outcomes, P(A)=favorable outcomes/total outcomes; always 0≤P(A)≤1.
- Complement: P(A′)=1−P(A). Addition: P(A∪B)=P(A)+P(B)−P(A∩B).
- If A and B are mutually exclusive, P(A∩B)=0; this is different from independence.
- Use a sample space with outcomes that are exhaustive and non-overlapping.
4. Conditional probability and Bayes
- P(A|B)=P(A∩B)/P(B) when P(B)>0.
- A and B are independent when P(A∩B)=P(A)P(B); equivalently, conditioning on B does not change P(A).
- Law of total probability partitions the sample space into disjoint cases.
- Bayes’ rule reverses conditioning: P(A|B)=P(B|A)P(A)/P(B).
5. Random variables
- A random variable assigns a number to each outcome; a probability distribution lists possible values and probabilities.
- Expected value E(X)=ΣxP(X=x) for a discrete variable; it is a long-run average, not necessarily an attainable value.
- Variance is E[(X−μ)²]=E(X²)−μ²; standard deviation is its square root.
- For a binomial model, n fixed independent trials share success probability p; mean=np and variance=np(1−p).
6. Study and interpret
- A sample should represent the population; convenience samples can create bias.
- Association does not by itself establish causation; consider confounding variables and study design.
- A probability model depends on assumptions such as independence and equal likelihood; state them.
- Check totals: probabilities in a complete distribution add to 1 and frequencies add to the sample size.
Quick revision table
| Measure/rule | Formula | Use |
|---|---|---|
| Mean | Σx/n | Average level |
| Population variance | Σ(x−μ)²/N | Spread around population mean |
| Conditional probability | P(A∩B)/P(B) | Given B occurred |
| Binomial mean | np | Expected successes |
| Binomial variance | np(1−p) | Success-count variability |