Introduction to Unfolding

Slides:



Advertisements
Similar presentations
CHAPTER 8 More About Estimation. 8.1 Bayesian Estimation In this chapter we introduce the concepts related to estimation and begin this by considering.
Advertisements

Visual Recognition Tutorial
Statistical Data Analysis Stat 3: p-values, parameter estimation
G. Cowan RHUL Physics Profile likelihood for systematic uncertainties page 1 Use of profile likelihood to determine systematic uncertainties ATLAS Top.
Maximum likelihood (ML) and likelihood ratio (LR) test
G. Cowan Lectures on Statistical Data Analysis 1 Statistical Data Analysis: Lecture 10 1Probability, Bayes’ theorem, random variables, pdfs 2Functions.
Statistical Image Modelling and Particle Physics Comments on talk by D.M. Titterington Glen Cowan RHUL Physics PHYSTAT05 Glen Cowan Royal Holloway, University.
G. Cowan RHUL Physics Comment on use of LR for limits page 1 Comment on definition of likelihood ratio for limits ATLAS Statistics Forum CERN, 2 September,
G. Cowan Lectures on Statistical Data Analysis Lecture 12 page 1 Statistical Data Analysis: Lecture 12 1Probability, Bayes’ theorem 2Random variables and.
G. Cowan Lectures on Statistical Data Analysis 1 Statistical Data Analysis: Lecture 8 1Probability, Bayes’ theorem, random variables, pdfs 2Functions of.
7. Least squares 7.1 Method of least squares K. Desch – Statistical methods of data analysis SS10 Another important method to estimate parameters Connection.
G. Cowan 2011 CERN Summer Student Lectures on Statistics / Lecture 41 Introduction to Statistics − Day 4 Lecture 1 Probability Random variables, probability.
G. Cowan Lectures on Statistical Data Analysis Lecture 10 page 1 Statistical Data Analysis: Lecture 10 1Probability, Bayes’ theorem 2Random variables and.
Rao-Cramer-Frechet (RCF) bound of minimum variance (w/o proof) Variance of an estimator of single parameter is limited as: is called “efficient” when the.
Linear and generalised linear models Purpose of linear models Least-squares solution for linear models Analysis of diagnostics Exponential family and generalised.
G. Cowan Lectures on Statistical Data Analysis 1 Statistical Data Analysis: Lecture 7 1Probability, Bayes’ theorem, random variables, pdfs 2Functions of.
Maximum likelihood (ML)
Sampling Distributions & Point Estimation. Questions What is a sampling distribution? What is the standard error? What is the principle of maximum likelihood?
TOPLHCWG. Introduction The ATLAS+CMS combination of single-top production cross-section measurements in the t channel was performed using the BLUE (Best.
880.P20 Winter 2006 Richard Kass 1 Confidence Intervals and Upper Limits Confidence intervals (CI) are related to confidence limits (CL). To calculate.
Model Inference and Averaging
Prof. Dr. S. K. Bhattacharjee Department of Statistics University of Rajshahi.
G. Cowan 2009 CERN Summer Student Lectures on Statistics1 Introduction to Statistics − Day 4 Lecture 1 Probability Random variables, probability densities,
G. Cowan Lectures on Statistical Data Analysis Lecture 3 page 1 Lecture 3 1 Probability (90 min.) Definition, Bayes’ theorem, probability densities and.
ECE 8443 – Pattern Recognition ECE 8423 – Adaptive Signal Processing Objectives: Deterministic vs. Random Maximum A Posteriori Maximum Likelihood Minimum.
SUPA Advanced Data Analysis Course, Jan 6th – 7th 2009 Advanced Data Analysis for the Physical Sciences Dr Martin Hendry Dept of Physics and Astronomy.
G. Cowan, RHUL Physics Discussion on significance page 1 Discussion on significance ATLAS Statistics Forum CERN/Phone, 2 December, 2009 Glen Cowan Physics.
G. Cowan RHUL Physics LR test to determine number of parameters page 1 Likelihood ratio test to determine best number of parameters ATLAS Statistics Forum.
G. Cowan St. Andrews 2012 / Statistics for HEP / Lecture 31 Statistics for HEP Lecture 3: Further topics 69 th SUSSP LHC Physics St. Andrews August,
1 Introduction to Statistics − Day 4 Glen Cowan Lecture 1 Probability Random variables, probability densities, etc. Lecture 2 Brief catalogue of probability.
G. Cowan Lectures on Statistical Data Analysis Lecture 8 page 1 Statistical Data Analysis: Lecture 8 1Probability, Bayes’ theorem 2Random variables and.
1 Introduction to Statistics − Day 3 Glen Cowan Lecture 1 Probability Random variables, probability densities, etc. Brief catalogue of probability densities.
G. Cowan Lectures on Statistical Data Analysis Lecture 4 page 1 Lecture 4 1 Probability (90 min.) Definition, Bayes’ theorem, probability densities and.
G. Cowan Computing and Statistical Data Analysis / Stat 9 1 Computing and Statistical Data Analysis Stat 9: Parameter Estimation, Limits London Postgraduate.
8th December 2004Tim Adye1 Proposal for a general-purpose unfolding framework in ROOT Tim Adye Rutherford Appleton Laboratory BaBar Statistics Working.
G. Cowan Terascale Statistics School 2015 / Statistics for Run II1 Statistics for LHC Run II Terascale Statistics School DESY, Hamburg March 23-27, 2015.
G. Cowan CERN Academic Training 2012 / Statistics for HEP / Lecture 41 Statistics for HEP Lecture 4: Unfolding Academic Training Lectures CERN, 2–5 April,
G. Cowan Lectures on Statistical Data Analysis Lecture 9 page 1 Statistical Data Analysis: Lecture 9 1Probability, Bayes’ theorem 2Random variables and.
G. Cowan Lectures on Statistical Data Analysis Lecture 12 page 1 Statistical Data Analysis: Lecture 12 1Probability, Bayes’ theorem 2Random variables and.
G. Cowan Lectures on Statistical Data Analysis Lecture 10 page 1 Statistical Data Analysis: Lecture 10 1Probability, Bayes’ theorem 2Random variables and.
Learning Theory Reza Shadmehr Distribution of the ML estimates of model parameters Signal dependent noise models.
G. Cowan INFN School of Statistics, Vietri Sul Mare, 3-7 June Statistical Methods (Lectures 2.1, 2.2) INFN School of Statistics Vietri sul Mare,
Geology 5670/6670 Inverse Theory 6 Feb 2015 © A.R. Lowry 2015 Read for Mon 9 Feb: Menke Ch 5 (89-114) Last time: The Generalized Inverse; Damped LS The.
Discussion on significance
Statistical Estimation
Probability Theory and Parameter Estimation I
Model Inference and Averaging
Lecture 4 1 Probability (90 min.)
Unfolding Problem: A Machine Learning Approach
Graduierten-Kolleg RWTH Aachen February 2014 Glen Cowan
Statistical Methods: Parameter Estimation
Computing and Statistical Data Analysis / Stat 8
Where did we stop? The Bayes decision rule guarantees an optimal classification… … But it requires the knowledge of P(ci|x) (or p(x|ci) and P(ci)) We.
OVERVIEW OF LINEAR MODELS
Summarizing Data by Statistics
Lecture 3 1 Probability Definition, Bayes’ theorem, probability densities and their properties, catalogue of pdfs, Monte Carlo 2 Statistical tests general.
Terascale Statistics School DESY, February, 2018
OVERVIEW OF LINEAR MODELS
Lecture 4 1 Probability Definition, Bayes’ theorem, probability densities and their properties, catalogue of pdfs, Monte Carlo 2 Statistical tests general.
Statistics for Particle Physics Lecture 3: Parameter Estimation
Computing and Statistical Data Analysis / Stat 7
Statistical Methods for Particle Physics Lecture 4: unfolding
Mathematical Foundations of BME
Decomposition of Stat/Sys Errors
Parametric Methods Berlin Chen, 2005 References:
Introduction to Statistics − Day 4
Lecture 4 1 Probability Definition, Bayes’ theorem, probability densities and their properties, catalogue of pdfs, Monte Carlo 2 Statistical tests general.
Unfolding with system identification
Computing and Statistical Data Analysis / Stat 10
Applied Statistics and Probability for Engineers
Presentation transcript:

Introduction to Unfolding Lectures at LAL Orsay, 17-19 December, 2018 Glen Cowan Physics Department Royal Holloway, University of London g.cowan@rhul.ac.uk www.pp.rhul.ac.uk/~cowan G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

Unfolding: formulation of the problem Consider a random variable y, goal is to determine pdf f(y). If parameterization f(y;θ) known, find e.g. ML estimators . If no parameterization available, construct histogram: “true” histogram New goal: construct estimators for the μj (or pj). G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

Migration Effect of measurement errors: y = true value, x = observed value, migration of entries between bins, f(y) is ‘smeared out’, peaks broadened. discretize: data are response matrix Note μ, ν are constants; n subject to statistical fluctuations. G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

Efficiency, background Sometimes an event goes undetected: efficiency Sometimes an observed event is due to a background process: βi = expected number of background events in observed histogram. For now, assume the βi are known. G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

The basic ingredients “true” “observed” G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

Summary of ingredients ‘true’ histogram: probabilities: expectation values for observed histogram: observed histogram: response matrix: efficiencies: expected background: These are related by: G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

Maximum likelihood (ML) estimator from inverting the response matrix Assume can be inverted: Suppose data are independent Poisson: So the log-likelihood is ML estimator is G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

Example with ML solution Catastrophic failure??? G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

What went wrong? Suppose μ really had a lot of fine structure. Applying R washes this out, but leaves a residual structure: But we don’t have ν, only n. R-1 “thinks” fluctuations in n are the residual of original fine structure, puts this back into G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

ML solution revisited For Poisson data the ML estimators are unbiased: Their covariance is: (Recall these statistical errors were huge for the example shown.) G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

ML solution revisited (2) The information inequality gives for unbiased estimators the minimum (co)variance bound: invert → This is the same as the actual variance! I.e. ML solution gives smallest variance among all unbiased estimators, even though this variance was huge. In unfolding one must accept some bias in exchange for a (hopefully large) reduction in variance. G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

Correction factor method Often Ci ~ O(1) so statistical errors far smaller than for ML. Nonzero bias unless MC = Nature. G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

Reality check on the statistical errors Example from Bob Cousins Reality check on the statistical errors Suppose for some bin i we have: (10% stat. error) But according to the estimate, only 10 of the 100 events found in the bin belong there; the rest spilled in from outside. How can we have a 10% measurement if it is based on only 10 events that really carry information about the desired parameter? G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

Discussion of correction factor method As with all unfolding methods, we get a reduction in statistical error in exchange for a bias; here the bias is difficult to quantify (difficult also for many other unfolding methods). The bias should be small if the bin width is substantially larger than the resolution, so that there is not much bin migration. So if other uncertainties dominate in an analysis, correction factors may provide a quick and simple solution (a “first-look”). Still the method has important flaws and it would be best to avoid it. G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

Regularized unfolding G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

Regularized unfolding (2) G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

Tikhonov regularization Solution using Singular Value Decomposition (SVD). G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

SVD implementation of Tikhonov unfolding Hoecker, V. Kartvelishvili, NIM A372 (1996) 469; (TSVDUnfold in ROOT). Minimizes Numerical implementation using Singular Value Decomposition. Recommendations for setting regularization parameter τ: Transform variables so errors ~ Gauss(0,1); number of transformed values significantly different from zero gives prescription for τ; or base choice of τ on unfolding of test distributions. G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

SVD example G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

Regularization function based on entropy Can have Bayesian motivation: G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

Example of entropy-based unfolding G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

Estimating bias and variance G. Cowan, Statistical Data Analysis, OUP (1998) Ch. 11 Estimating bias and variance G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

Choosing the regularization parameter G. Cowan, Statistical Data Analysis, OUP (1998) Ch. 11 Choosing the regularization parameter G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

Choosing the regularization parameter (2) G. Cowan, Statistical Data Analysis, OUP (1998) Ch. 11 Choosing the regularization parameter (2) G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

Some examples with Tikhonov regularization G. Cowan, Statistical Data Analysis, OUP (1998) Ch. 11 Some examples with Tikhonov regularization G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

Some examples with entropy regularization G. Cowan, Statistical Data Analysis, OUP (1998) Ch. 11 Some examples with entropy regularization G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

Stat. and sys. errors of unfolded solution In general the statistical covariance matrix of the unfolded estimators is not diagonal; need to report full But unfolding necessarily introduces biases as well, corresponding to a systematic uncertainty (also correlated between bins). This is more difficult to estimate. Suppose, nevertheless, we manage to report both Ustat and Usys. To test a new theory depending on parameters θ, use e.g. Mixes frequentist and Bayesian elements; interpretation of result can be problematic, especially if Usys itself has large uncertainty. G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

Folding Suppose a theory predicts f(y) → μ (may depend on parameters θ). Given the response matrix R and expected background β, this predicts the expected numbers of observed events: From this we can get the likelihood, e.g., for Poisson data, And using this we can fit parameters and/or test, e.g., using the likelihood ratio statistic G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

Versus unfolding If we have an unfolded spectrum and full statistical and systematic covariance matrices, to compare this to a model μ compute likelihood where Complications because one needs estimate of systematic bias Usys. If we find a gain in sensitivity from the test using the unfolded distribution, e.g., through a decrease in statistical errors, then we are exploiting information inserted via the regularization (e.g., imposed smoothness). G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

ML solution again From the standpoint of testing a theory or estimating its parameters, the ML solution, despite catastrophically large errors, is equivalent to using the uncorrected data (same information content). There is no bias (at least from unfolding), so use The estimators of θ should have close to optimal properties: zero bias, minimum variance. The corresponding estimators from any unfolded solution cannot in general match this. Crucial point is to use full covariance, not just diagonal errors. G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

Unfolding discussion Unfolding can be a minefield and is not necessary if goal is to compare measured distribution with a model prediction. Even comparison of uncorrected distribution with future theories not a problem, as long as it is reported together with the expected background and response matrix. In practice complications because these ingredients have uncertainties, and they must be reported as well. Unfolding useful for getting an actual estimate of the distribution we think we’ve measured; can e.g. compare ATLAS/CMS. Model test using unfolded distribution should take account of the (correlated) bias introduced by the unfolding procedure. G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

Finally... Estimation of parameters is usually the “easy” part of statistics: Frequentist: maximize the likelihood. Bayesian: find posterior pdf and summarize (e.g. mode). Standard tools for quantifying precision of estimates: Variance of estimators, confidence intervals,... But there are many potential stumbling blocks: bias versus variance trade-off (how many parameters to fit?); goodness of fit (usually only for LS or binned data); choice of prior for Bayesian approach; unexpected behaviour in LS averages with correlations,... G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

Extra slides G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

Variance of estimators from information inequality The information inequality (RCF) sets a lower bound on the variance of any estimator (not only ML): Minimum Variance Bound (MVB) Often the bias b is small, and equality either holds exactly or is a good approximation (e.g. large data sample limit). Then, Estimate this using the 2nd derivative of ln L at its maximum: G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018

Information inequality for n parameters Suppose we have estimated n parameters The (inverse) minimum variance bound is given by the Fisher information matrix: The information inequality then states that V - I-1 is a positive semi-definite matrix, where Therefore Often use I-1 as an approximation for covariance matrix, estimate using e.g. matrix of 2nd derivatives at maximum of L. G. Cowan Introduction to Unfolding / Orsay, 17 Dec 2018