Statistics BI: Models of Random Outcomes. What Is A Model?
Statistics BI: Models of Random Outcomes. What Is A Model?
Probabilities
Transformations (simulations)
Estimation
Distributions (=probabilities)
– p. 1/22
Course Theme
– p. 2/22
Probability Themes
– p. 3/22
Discrete models
X
P (A) = p(x).
x∈A
– p. 4/22
Discrete models
Empirical estimator:
p̂(x) = n (x).
Ep̂(x) = p(x)
– p. 5/22
Continuous models
Z
P (A) = f (x)dx.
A
– p. 6/22
Continuous models
Empirical estimator:
P̂ (A) = n (A).
Ep̂(x) = P (A)
P (A)(1 − P (A))
Vp̂(x) =
n
– p. 7/22
Dependence and independence
P (A ∩ B)
P (A|B) =
P (B)
P (A ∩ B) = P (A)P (B).
– p. 9/22
R and standard distributions
– p. 10/22
Statistical themes
Empirical methods
Summeries of iid observations.
Simple/intuitive estimators to infer unknown quantities.
Parameterised models and estimators
Formulation of what is assumed (model assumptions) and what is
not (parameters).
Formulation of parametric dependencies and inference of the
parameters from data (no-iid assumption).
Maximum likelihood estimation
Choose the parameter that maximises how likely the
observations are.
A de facto standard with provable nice asymptotic properties
(large number of observations and small number of parameters).
Model control. Investigate the model assumptions.
– p. 11/22
Empirical methods/estimators
Histograms (hist),
n ([x, y])
' f (z), z ∈ [x, y].
y−x
Properties:
Properties :
n−1
Eσ˜2 = VX (biased estimator)
n
n
1 X
σˆ2 = (xi − µ̂)2 (bias correcte)
n−1 i=1
– p. 14/22
Summaries – covariance etc.
Important formulas
E(cX) = cEX
E(X + Y ) = EX + EY
V(cX) = c2 EX
V(X + Y ) = VX + VY + 2V(X, Y )
EXY = EXEY + V(X, Y )
– p. 16/22
Construction of estimators
Ad hoc estimators.
– p. 17/22
MLE
– p. 18/22
Practical MLE
– p. 19/22
Example - local alignment
log(Knm) 1
, .
λ λ
– p. 20/22
Model control
– p. 21/22
Confidence sets
Pθ (θ ∈ I(X)) ≥ 1 − α.
– p. 22/22