73
Statistical Inference Bayes Impact 2014 arranged by Daniel Korenblum

2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Statistical InferenceBayes Impact2014

arranged by Daniel Korenblum

Page 2: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

The Inference Problem

is estimation of an unknown quantity

Page 3: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Problem Solution / Method Algorithm / Statistic

Point Estimation Maximum Likelihood (ML) Gradient Descent

Minimum-Variance Unbiased (MVU) Estimator Least Squares

Maximum Posterior (MAP/GMLE) Gradient Descent

Posterior Mean (PM) Markov-chain Monte Carlo (MCMC)

Error Bars / Confidence(Estimator Error)

Confidence Interval / Region Covariance/Information, Resampling

Credibility Interval / Region Evidentiary Credible Region (2014)

Classification and Clustering(Pattern Recognition)

Unsupervised Learning Cluster Analysis

(Semi) Supervised Learning Discriminant, Generative, SVM, kNN, trees

Feature Selection Ranking, Filtering, Greedy, Sparse

Model Selection Hypothesis Testing Significance Tests (Holy Trinity)

Model Evidence Marginal Likelihood

Inference/Estimation Subject Areas

1. Frequentist inference as an optimization problem: maximize the likelihood over all observations2. Bayesian inference as distribution estimation: the posterior distribution estimate is “the inference”3. Decision theory can be used to derive estimates from posteriors by minimizing decision risk/loss

Page 4: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Scope and Outline

1. Likelihood models and model comparison2. Frequentist and Bayesian approaches

2.1. Frequentist Inference2.1.1. Analytic - set the derivative of sample log-likelihood equal to zero and solve2.1.2. Numerical - use local or global optimization algorithms (e.g. steepest descent)

2.2. Bayesian Inference2.2.1. Choose a prior distribution2.2.2. Product of likelihood and prior yields unnormalized posterior distribution2.2.3. Select an objective / risk / loss and minimize its expected value over the posterior

3. Statistics and algorithms3.1. Regression: using the noise distribution to choose appropriate objective / risk / loss3.2. Estimator error: bias-variance trade-off, small bias can reduce variance and MSE3.3. Classification: choosing between generative, discriminative, or discriminant approaches

Topics covered

Topics not covered1. Stochastic process models / methods (e.g. Markov models)2. Time series analysis / 1-D signal processing, multidimensional signal processing3. Black/gray box models (e.g. artificial neural networks, decision trees, ensembles)4. Information theoretic approaches (maximum entropy, mutual information, K-L divergence)5. Control theory, duality theory, convex analysis, global optimization

Page 5: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Introduction to Statistical Inference

Page 6: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Frequentist Inference

Likelihood theory (Fisher ~1920)

Page 7: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Likelihood Theory

Likelihood functions are not probability density functions. The integral of a likelihood function is not in general 1.

variablefixed

fixed

variable

variable

Page 8: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Frequentist Inference & Decision Theory

Frequentist Risk/Loss Function:

Page 9: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Frequentist Risk Example: Squared Error

Page 10: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Frequentist Decision Theoretic Objective

Page 11: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Bayesian Inference

posterior distribution & minimum risk/loss

Page 12: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Bayesian Conditional Distributions

Page 13: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Bayesian Update, Inverse Problems

Page 14: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Prior Function and Regularization Term

Page 15: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Bayesian Posterior Loss

When the prior is improper, an estimator which minimizes the posterior expected loss is referred to as a generalized Bayes estimator.

Page 16: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Risk/Loss and Regularization Functions

Page 17: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Risk/Loss Functions and Derivatives

http://dl.acm.org.oca.ucsc.edu/citation.cfm?id=1281270

Page 18: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Point Estimation

maximum likelihood, least squares

Page 19: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Maximum Likelihood Estimation (MLE)

Page 20: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Linear Regression / Least Squares

Page 21: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Orthogonal Projections & Least Squares

http://en.wikipedia.org/wiki/Linear_least_squares_(mathematics)#Properties_of_the_least-squares_estimators

Page 22: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Nonlinear Regression / Least Squares

Page 23: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Generalized Linear Models

Page 24: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Maximum Likelihood Noise Dependence

Page 25: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

MLE Estimator: Gamma Distribution

Page 26: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

MVU Estimator: Mean of Uniform Noise

Page 27: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Posterior Mean and Maximum Posterior

Page 28: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Median Posterior Density

Page 29: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Example: Changepoint Detection

Page 30: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Example: Changepoint Detection

Page 31: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

PM Example: Bayesian Prediction

Page 32: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Error Bars / Uncertainty

Fisher information, confidence regions

Page 33: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Negative Log-Likelihood & Uncertainty

Page 34: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Likelihood Geometry and Contours

Page 35: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Score Function & Fisher Information

Page 36: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Fisher Information / Precision

Page 37: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Estimator Error

proof of Cramer-Rao Lower-Bound:

http://ens.ewi.tudelft.nl/Education/courses/et4386/Slides/01.estimation.pdf

Page 38: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Bayesian Mean Squared Error

Page 39: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Bayesian Minimum Mean Squared Error

Page 40: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Classification

cluster analysis, supervised learning

Page 41: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Bayesian Classification

Page 42: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Bayes Classifier Risk/Loss

Page 43: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Bayesian Classifier Decision Error

Page 44: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Bayesian Classifier Posterior Density

Page 45: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Example: Support Vector Machine

Page 46: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Classifier Comparison Example

Page 47: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Feature Selection

ranking, filtering, greedy, sparse, hybrid

Page 48: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Introduction to Feature Selection

Page 49: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Feature Selection Approaches

Page 50: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Filtering / Subset Selection Algorithms

Page 51: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Exhaustive Search & Zero-norm Penalty

Page 52: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Basis Pursuit / LASSO / Elastic Net

Page 53: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Cluster Analysis

also known as unsupervised learning

Page 54: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Introduction to Cluster Analysis

Page 55: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Cluster Analysis Algorithm CategoriesHierarchical Non-hierarchical

Crisp

Fuzzy

k-means

spectral clustering, fuzzy k-means

agglomerative clustering

Hierarchical unsupervised fuzzy clustering (Geva 1999)

Page 56: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Hierarchical Agglomerative Clustering

Page 57: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Clustering Algorithm Comparisons

Page 58: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Model Selection

Cross-Validation, LR, ICs, model evidence

Page 59: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Parsimony and Occam’s Razor

Page 60: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Cross-Validation

Page 61: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Likelihood Ratio Test for Nested Models

Page 62: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Aikake & Bayesian Information Criteria

Page 63: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Deviance Information Criterion

Page 64: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Model Selection Discussion

Page 65: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Bayesian Model Selection

Page 66: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Bayes Factors & Bias-Variance Tradeoffs

Page 67: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Bayesian Model Selection Example

Page 68: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

interpretations, debates, and paradoxes

Philosophy

Page 69: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Bertrand Paradox

Page 70: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Bertrand Paradox: Jaynes’ Solution

Page 71: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

Bertrand Paradox: Disambiguation

Page 72: 2014 arranged by Daniel Korenblum Bayes Impact · 2014-10-27 · References Lecture Notes 2004 Figueiredo, Lecture Notes on Bayesian Estimation and Classification Martinez et al.,

References