Statistics
1. Methods of estimation
A statistic is a function of the sample; an estimator is a statistic used to guess .
Method of moments. Equate sample moments to population moments and solve: , , …
Maximum likelihood. Maximise , usually via and .
- Check the support. When the support depends on (Uniform, for ), is maximised at an endpoint, e.g. or , not at a zero of the derivative.
- Discrete parameter: compare with , or take the largest allowed value.
- Invariance: the MLE of is . (Median of Exp with mean : .)
Standard MLEs: Bernoulli ; Poisson ; Exp (rate) ; Normal , ; Uniform .
2. Properties of estimators
- Unbiased: . is unbiased for ; is not. For , is unbiased.
- Mean squared error: .
- Consistency: in probability. Unbiased with variance is enough.
- Fisher information: , and .
- Cramér–Rao bound: for unbiased of (regular families), .
3. Sufficiency, completeness, UMVUE
- Sufficient: is sufficient if the conditional law of the sample given does not depend on .
- Factorisation theorem: is sufficient iff . Indicators of the support count: for Uniform-type families the sufficient statistic is of the suitably shifted observations.
- A one-to-one function of a sufficient statistic is sufficient.
- Exponential family : is sufficient and (if ranges over an interval) complete. For : .
- Complete: for all forces . ( for is not complete: its mean is for every .)
- Minimal sufficient: iff does not depend on .
- Ancillary: a statistic whose distribution does not depend on . Basu: a complete sufficient statistic is independent of every ancillary statistic.
- Rao–Blackwell: for sufficient improves an unbiased .
- Lehmann–Scheffé: an unbiased function of a complete sufficient statistic is the unique UMVUE.
4. Confidence intervals
A confidence interval satisfies for every .
- Pivotal method: find whose distribution is free of , take its quantiles, and solve for .
- Normal mean, known: . Sample size for half-width : (with ).
- Normal mean, unknown: . Variance: .
- Exponential mean : .
- Location families like , : Exp, so gives intervals .
5. Hypothesis testing
- Errors: type I rejecting a true (probability , the size); type II accepting a false . Power .
- Test function: is the probability of rejecting; randomise on a boundary to hit the size exactly (needed for discrete data).
- Neyman–Pearson lemma: for simple vs , the most powerful size- test rejects when (randomising when ). In a table, order the points by and add them until the size is reached.
- Monotone likelihood ratio: if increases in for , then "reject when " is UMP for vs . (Exponential families with increasing .)
- Likelihood ratio test: reject when is small; for large .
- Standard tests: -test (known ), -test (unknown ), -test for variance, -test for two variances.
- p-value: the probability, under , of data at least as extreme as observed; reject when .