G. Cowan Statistical Data Analysis / Stat 5 1 Statistical Data Analysis Stat 5: More on nuisance parameters, Bayesian methods London Postgraduate Lectures.

Slides:



Advertisements
Similar presentations
Using the Profile Likelihood in Searches for New Physics / PHYSTAT 2011 G. Cowan 1 Using the Profile Likelihood in Searches for New Physics arXiv:
Advertisements

1 Bayesian statistical methods for parton analyses Glen Cowan Royal Holloway, University of London DIS 2006.
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.
G. Cowan Lectures on Statistical Data Analysis 1 Statistical Data Analysis: Lecture 10 1Probability, Bayes’ theorem, random variables, pdfs 2Functions.
G. Cowan Statistics for HEP / NIKHEF, December 2011 / Lecture 3 1 Statistical Methods for Particle Physics Lecture 3: Limits for Poisson mean: Bayesian.
G. Cowan RHUL Physics Bayesian methods for HEP / DESY Terascale School page 1 Bayesian statistical methods for HEP Terascale Statistics School DESY, Hamburg.
1 Nuisance parameters and systematic uncertainties Glen Cowan Royal Holloway, University of London IoP Half.
G. Cowan Statistical methods for HEP / Birmingham 9 Nov Recent developments in statistical methods for particle physics Particle Physics Seminar.
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.
G. Cowan 2011 CERN Summer Student Lectures on Statistics / Lecture 41 Introduction to Statistics − Day 4 Lecture 1 Probability Random variables, probability.
G. Cowan RHUL Physics Statistical Methods for Particle Physics / 2007 CERN-FNAL HCP School page 1 Statistical Methods for Particle Physics (2) CERN-FNAL.
G. Cowan Statistics for HEP / NIKHEF, December 2011 / Lecture 2 1 Statistical Methods for Particle Physics Lecture 2: Tests based on likelihood ratios.
G. Cowan Lectures on Statistical Data Analysis Lecture 14 page 1 Statistical Data Analysis: Lecture 14 1Probability, Bayes’ theorem 2Random variables and.
G. Cowan Discovery and limits / DESY, 4-7 October 2011 / Lecture 2 1 Statistical Methods for Discovery and Limits Lecture 2: Tests based on likelihood.
G. Cowan Lectures on Statistical Data Analysis Lecture 13 page 1 Statistical Data Analysis: Lecture 13 1Probability, Bayes’ theorem 2Random variables and.
G. Cowan RHUL Physics Moriond QCD 2007 page 1 Bayesian analysis and problems with the frequentist approach Rencontres de Moriond (QCD) La Thuile,
Frequently Bayesian The role of probability in data analysis
G. Cowan Lectures on Statistical Data Analysis Lecture 10 page 1 Statistical Data Analysis: Lecture 10 1Probability, Bayes’ theorem 2Random variables and.
G. Cowan Lectures on Statistical Data Analysis 1 Statistical Data Analysis: Lecture 7 1Probability, Bayes’ theorem, random variables, pdfs 2Functions of.
G. Cowan Discovery and limits / DESY, 4-7 October 2011 / Lecture 3 1 Statistical Methods for Discovery and Limits Lecture 3: Limits for Poisson mean: Bayesian.
G. Cowan SUSSP65, St Andrews, August 2009 / Statistical Methods 1 page 1 Statistical Methods in Particle Physics Lecture 1: Bayesian methods SUSSP65.
880.P20 Winter 2006 Richard Kass 1 Confidence Intervals and Upper Limits Confidence intervals (CI) are related to confidence limits (CL). To calculate.
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.
1 Methods of Experimental Particle Physics Alexei Safonov Lecture #23.
G. Cowan Orsay 2014 / Discussion on Statistics1 Topics in Statistics for Particle Physics Discussion on Statistics LAL Orsay 16 June 2014 Glen Cowan Physics.
G. Cowan RHUL Physics Bayesian Higgs combination page 1 Bayesian Higgs combination based on event counts (follow-up from 11 May 07) ATLAS Statistics Forum.
G. Cowan Aachen 2014 / Statistics for Particle Physics, Lecture 51 Statistical Methods for Particle Physics Lecture 5: systematics, Bayesian methods Graduierten-Kolleg.
G. Cowan Weizmann Statistics Workshop, 2015 / GDC Lecture 31 Statistical Methods for Particle Physics Lecture 3: asymptotics I; Asimov data set Statistical.
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 Terascale Statistics School 2015 / Combination1 Statistical combinations, etc. Terascale Statistics School DESY, Hamburg March 23-27, 2015 Glen.
G. Cowan CERN Academic Training 2010 / Statistics for the LHC / Lecture 41 Statistics for the LHC Lecture 4: Bayesian methods and further topics Academic.
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.
G. Cowan Systematic uncertainties in statistical data analysis page 1 Systematic uncertainties in statistical data analysis for particle physics DESY Seminar.
G. Cowan Lectures on Statistical Data Analysis Lecture 9 page 1 Statistical Data Analysis: Lecture 9 1Probability, Bayes’ theorem 2Random variables and.
G. Cowan Statistical Methods in Particle Physics1 Statistical Methods in Particle Physics Day 5: Bayesian Methods 清华大学高能物理研究中心 2010 年 4 月 12—16 日 Glen.
G. Cowan Cargese 2012 / Statistics for HEP / Lecture 21 Statistics for HEP Lecture 2: Discovery and Limits International School Cargèse August 2012 Glen.
G. Cowan SUSSP65, St Andrews, August 2009 / Statistical Methods 1 page 1 Statistical Methods in Particle Physics Lecture 1: Bayesian methods SUSSP65.
G. Cowan Lectures on Statistical Data Analysis Lecture 12 page 1 Statistical Data Analysis: Lecture 12 1Probability, Bayes’ theorem 2Random variables and.
G. Cowan Statistical methods for HEP / Freiburg June 2011 / Lecture 2 1 Statistical Methods for Discovery and Limits in HEP Experiments Day 2: Discovery.
G. Cowan Lectures on Statistical Data Analysis Lecture 10 page 1 Statistical Data Analysis: Lecture 10 1Probability, Bayes’ theorem 2Random variables and.
G. Cowan Lectures on Statistical Data Analysis Lecture 5 page 1 Lecture 5 1 Probability Definition, Bayes’ theorem, probability densities and their properties,
G. Cowan IHEP seminar / 19 August Some Developments in Statistical Methods for Particle Physics Particle Physics Seminar IHEP, Beijing 19 August,
G. Cowan iSTEP 2014, Beijing / Statistics for Particle Physics / Lecture 31 Statistical Methods for Particle Physics Lecture 3: systematic uncertainties.
1 Nuisance parameters and systematic uncertainties Glen Cowan Royal Holloway, University of London IoP Half.
G. Cowan SOS 2010 / Statistical Tests and Limits -- lecture 31 Statistical Tests and Limits Lecture 3 IN2P3 School of Statistics Autrans, France 17—21.
G. Cowan SLAC Statistics Meeting / 4-6 June 2012 / Two Developments 1 Two developments in discovery tests: use of weighted Monte Carlo events and an improved.
G. Cowan Lectures on Statistical Data Analysis Lecture 5 page 1 Lecture 5 1 Probability Definition, Bayes’ theorem, probability densities and their properties,
Computing and Statistical Data Analysis / Stat 11
Lecture 4 1 Probability (90 min.)
Computing and Statistical Data Analysis / Stat 8
TAE 2017 / Statistics Lecture 3
Statistical Data Analysis / Stat 5
Lecture 3 1 Probability Definition, Bayes’ theorem, probability densities and their properties, catalogue of pdfs, Monte Carlo 2 Statistical tests general.
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
TAE 2018 / Statistics Lecture 4
Computing and Statistical Data Analysis / Stat 7
Lecture 4 1 Probability Definition, Bayes’ theorem, probability densities and their properties, catalogue of pdfs, Monte Carlo 2 Statistical tests general.
Computing and Statistical Data Analysis / Stat 10
Bayesian statistical methods for parton analyses
Presentation transcript:

G. Cowan Statistical Data Analysis / Stat 5 1 Statistical Data Analysis Stat 5: More on nuisance parameters, Bayesian methods London Postgraduate Lectures on Particle Physics; University of London MSci course PH4515 Glen Cowan Physics Department Royal Holloway, University of London Course web page:

G. Cowan Statistical Data Analysis / Stat 5 2 Systematic uncertainties and nuisance parameters In general our model of the data is not perfect: x L ( x | θ ) model: truth: Can improve model by including additional adjustable parameters. Nuisance parameter ↔ systematic uncertainty. Some point in the parameter space of the enlarged model should be “true”. Presence of nuisance parameter decreases sensitivity of analysis to the parameter of interest (e.g., increases variance of estimate).

G. Cowan Statistical Data Analysis / Stat 5 3 p-values in cases with nuisance parameters Suppose we have a statistic q θ that we use to test a hypothesized value of a parameter θ, such that the p-value of θ is But what values of ν to use for f (q θ |θ, ν)? Fundamentally we want to reject θ only if p θ < α for all ν. → “exact” confidence interval Recall that for statistics based on the profile likelihood ratio, the distribution f (q θ |θ, ν) becomes independent of the nuisance parameters in the large-sample limit. But in general for finite data samples this is not true; one may be unable to reject some θ values if all values of ν must be considered, even those strongly disfavoured by the data (resulting interval for θ “overcovers”).

G. Cowan Statistical Data Analysis / Stat 5 4 Profile construction (“hybrid resampling”) Approximate procedure is to reject θ if p θ ≤ α where the p-value is computed assuming the value of the nuisance parameter that best fits the data for the specified θ: “double hat” notation means value of parameter that maximizes likelihood for the given θ. The resulting confidence interval will have the correct coverage for the points. Elsewhere it may under- or overcover, but this is usually as good as we can do (check with MC if crucial or small sample problem).

G. Cowan Statistical Data Analysis / Stat 5 5 “Hybrid frequentist-Bayesian” method Alternatively, suppose uncertainty in ν is characterized by a Bayesian prior π(ν). Can use the marginal likelihood to model the data: This does not represent what the data distribution would be if we “really” repeated the experiment, since then ν would not change. But the procedure has the desired effect. The marginal likelihood effectively builds the uncertainty due to ν into the model. Use this now to compute (frequentist) p-values → the model being tested is in effect a weighted average of models.

G. Cowan Statistical Data Analysis / Stat 5 6 Example of treatment of nuisance parameters: fitting a straight line Data: Model: y i independent and all follow y i ~ Gauss(μ(x i ), σ i ) assume x i and  i known. Goal: estimate  0 Here suppose we don’t care about  1 (example of a “nuisance parameter”)

G. Cowan Statistical Data Analysis / Stat 5 7 Maximum likelihood fit with Gaussian data In this example, the y i are assumed independent, so the likelihood function is a product of Gaussians: Maximizing the likelihood is here equivalent to minimizing i.e., for Gaussian data, ML same as Method of Least Squares (LS)

G. Cowan Statistical Data Analysis / Stat 5 8  1 known a priori For Gaussian y i, ML same as LS Minimize  2 → estimator Come up one unit from to find

G. Cowan Statistical Data Analysis / Stat 5 9 Correlation between causes errors to increase. Standard deviations from tangent lines to contour ML (or LS) fit of  0 and  1

G. Cowan Statistical Data Analysis / Stat 5 10 The information on  1 improves accuracy of If we have a measurement t 1 ~ Gauss (  1, σ t 1 )

G. Cowan Statistical Data Analysis / Stat 5 11 Bayesian method We need to associate prior probabilities with  0 and  1, e.g., Putting this into Bayes’ theorem gives: posterior  likelihood  prior ← based on previous measurement ‘non-informative’, in any case much broader than

G. Cowan Statistical Data Analysis / Stat 5 12 Bayesian method (continued) Usually need numerical methods (e.g. Markov Chain Monte Carlo) to do integral. We then integrate (marginalize) p(  0,  1 | x) to find p(  0 | x): In this example we can do the integral (rare). We find

G. Cowan Statistical Data Analysis / Stat 5 13 Digression: marginalization with MCMC Bayesian computations involve integrals like often high dimensionality and impossible in closed form, also impossible with ‘normal’ acceptance-rejection Monte Carlo. Markov Chain Monte Carlo (MCMC) has revolutionized Bayesian computation. MCMC (e.g., Metropolis-Hastings algorithm) generates correlated sequence of random numbers: cannot use for many applications, e.g., detector MC; effective stat. error greater than if all values independent. Basic idea: sample multidimensional look, e.g., only at distribution of parameters of interest.

G. Cowan Statistical Data Analysis / Stat 5 14 MCMC basics: Metropolis-Hastings algorithm Goal: given an n-dimensional pdf generate a sequence of points 1) Start at some point 2) Generate Proposal density e.g. Gaussian centred about 3) Form Hastings test ratio 4) Generate 5) If else move to proposed point old point repeated 6) Iterate

G. Cowan Statistical Data Analysis / Stat 5 15 Metropolis-Hastings (continued) This rule produces a correlated sequence of points (note how each new point depends on the previous one). For our purposes this correlation is not fatal, but statistical errors larger than if points were independent. The proposal density can be (almost) anything, but choose so as to minimize autocorrelation. Often take proposal density symmetric: Test ratio is (Metropolis-Hastings): I.e. if the proposed step is to a point of higher, take it; if not, only take the step with probability If proposed step rejected, hop in place.

G. Cowan Statistical Data Analysis / Stat 5 16 Although numerical values of answer here same as in frequentist case, interpretation is different (sometimes unimportant?) Example: posterior pdf from MCMC Sample the posterior pdf from previous example with MCMC: Summarize pdf of parameter of interest with, e.g., mean, median, standard deviation, etc.

G. Cowan Statistical Data Analysis / Stat 5 17 Bayesian method with alternative priors Suppose we don’t have a previous measurement of  1 but rather, e.g., a theorist says it should be positive and not too much greater than 0.1 "or so", i.e., something like From this we obtain (numerically) the posterior pdf for  0 : This summarizes all knowledge about  0. Look also at result from variety of priors.

G. Cowan Statistical Data Analysis / Stat 5 18 A typical fitting problem Given measurements: and (usually) covariances: Predicted value: control variableparametersbias Often take: Minimize Equivalent to maximizing L(  ) ~ e  2 /2, i.e., least squares same as maximum likelihood using a Gaussian likelihood function. expectation value

G. Cowan Statistical Data Analysis / Stat 5 19 Its Bayesian equivalent and use Bayes’ theorem: To get desired probability for , integrate (marginalize) over b: → Posterior is Gaussian with mode same as least squares estimator,    same as from  2 =  2 min + 1. (Back where we started!) Take Joint probability for all parameters

G. Cowan Statistical Data Analysis / Stat 5 20 The error on the error Some systematic errors are well determined Error from finite Monte Carlo sample Some are less obvious Do analysis in n ‘equally valid’ ways and extract systematic error from ‘spread’ in results. Some are educated guesses Guess possible size of missing terms in perturbation series; vary renormalization scale Can we incorporate the ‘error on the error’? (cf. G. D’Agostini 1999; Dose & von der Linden 1999)

G. Cowan Statistical Data Analysis / Stat 5 21 Motivating a non-Gaussian prior  b (b) Suppose now the experiment is characterized by where s i is an (unreported) factor by which the systematic error is over/under-estimated. Assume correct error for a Gaussian  b (b) would be s i  i sys, so Width of  s (s i ) reflects ‘error on the error’.

G. Cowan Statistical Data Analysis / Stat 5 22 Error-on-error function  s (s) A simple unimodal probability density for 0 < s < 1 with adjustable mean and variance is the Gamma distribution: Want e.g. expectation value of 1 and adjustable standard Deviation  s, i.e., mean = b/a variance = b/a 2 In fact if we took  s (s) ~ inverse Gamma, we could integrate  b (b) in closed form (cf. D’Agostini, Dose, von Linden). But Gamma seems more natural & numerical treatment not too painful. s

G. Cowan Statistical Data Analysis / Stat 5 23 Prior for bias  b (b) now has longer tails Gaussian (σ s = 0) P(|b| > 4  sys ) = 6.3 × σ s = 0.5 P(|b| > 4  sys ) = 0.65% b

G. Cowan Statistical Data Analysis / Stat 5 24 A simple test Suppose fit effectively averages four measurements. Take  sys =  stat = 0.1, uncorrelated. Case #1: data appear compatible Posterior p(  |y): Usually summarize posterior p(μ|y) with mode and standard deviation: experiment measurement 

G. Cowan Statistical Data Analysis / Stat 5 25 Simple test with inconsistent data Case #2: there is an outlier → Bayesian fit less sensitive to outlier. → Error now connected to goodness-of-fit. Posterior p(  |y): experiment measurement 

G. Cowan Statistical Data Analysis / Stat 5 26 Goodness-of-fit vs. size of error In LS fit, value of minimized  2 does not affect size of error on fitted parameter. In Bayesian analysis with non-Gaussian prior for systematics, a high  2 corresponds to a larger error (and vice versa) repetitions of experiment,  s = 0.5, here no actual bias. 22   from least squares post-erior

G. Cowan Statistical Data Analysis / Stat 5 27 Is this workable in practice? Should to generalize to include correlations Prior on correlation coefficients ~  (  ) (Myth:  = 1 is “conservative”) Can separate out different systematic for same measurement Some will have small  s, others larger. Remember the “if-then” nature of a Bayesian result: We can (should) vary priors and see what effect this has on the conclusions.

G. Cowan Statistical Data Analysis / Stat 5 28 Bayesian model selection (‘discovery’) no Higgs Higgs The probability of hypothesis H 0 relative to its complementary alternative H 1 is often given by the posterior odds: Bayes factor B 01 prior odds The Bayes factor is regarded as measuring the weight of evidence of the data in support of H 0 over H 1. Interchangeably use B 10 = 1/B 01

G. Cowan Statistical Data Analysis / Stat 5 29 Assessing Bayes factors One can use the Bayes factor much like a p-value (or Z value). The Jeffreys scale, analogous to HEP's 5  rule: B 10 Evidence against H to 3Not worth more than a bare mention 3 to 20Positive 20 to 150Strong > 150Very strong Kass and Raftery, Bayes Factors, J. Am Stat. Assoc 90 (1995) 773.

G. Cowan Statistical Data Analysis / Stat 5 30 Rewriting the Bayes factor Suppose we have models H i, i = 0, 1,..., each with a likelihood and a prior pdf for its internal parameters so that the full prior is where is the overall prior probability for H i. The Bayes factor comparing H i and H j can be written

G. Cowan Statistical Data Analysis / Stat 5 31 Bayes factors independent of P(H i ) For B ij we need the posterior probabilities marginalized over all of the internal parameters of the models: Use Bayes theorem So therefore the Bayes factor is The prior probabilities p i = P(H i ) cancel. Ratio of marginal likelihoods

G. Cowan Statistical Data Analysis / Stat 5 32 Numerical determination of Bayes factors Both numerator and denominator of B ij are of the form ‘marginal likelihood’ Various ways to compute these, e.g., using sampling of the posterior pdf (which we can do with MCMC). Harmonic Mean (and improvements) Importance sampling Parallel tempering (~thermodynamic integration) Nested Samplying (MultiNest),...

G. Cowan Statistical Data Analysis / Stat 5 33 Priors for Bayes factors Note that for Bayes factors (unlike Bayesian limits), the prior cannot be improper. If it is, the posterior is only defined up to an arbitrary constant, and so the Bayes factor is ill defined Possible exception allowed if both models contain same improper prior; but having same parameter name (or Greek letter) in both models does not fully justify this step. If improper prior is made proper e.g. by a cut-off, the Bayes factor will retain a dependence on this cut-off. In general or Bayes factors, all priors must reflect “meaningful” degrees of uncertainty about the parameters.

G. Cowan Statistical Data Analysis / Stat 5 34 Harmonic mean estimator E.g., consider only one model and write Bayes theorem as:  (  ) is normalized to unity so integrate both sides, Therefore sample  from the posterior via MCMC and estimate m with one over the average of 1/L (the harmonic mean of L). posterior expectation

G. Cowan Statistical Data Analysis / Stat 5 35 Improvements to harmonic mean estimator The harmonic mean estimator is numerically very unstable; formally infinite variance (!). Gelfand & Dey propose variant: Rearrange Bayes thm; multiply both sides by arbitrary pdf f(  ): Integrate over  : Improved convergence if tails of f(  ) fall off faster than L(x|  )  (  ) Note harmonic mean estimator is special case f(  ) =  (  )..

G. Cowan Statistical Data Analysis / Stat 5 36 Importance sampling Need pdf f(  ) which we can evaluate at arbitrary  and also sample with MC. The marginal likelihood can be written Best convergence when f(  ) approximates shape of L(x|  )  (  ). Use for f(  ) e.g. multivariate Gaussian with mean and covariance estimated from posterior (e.g. with MINUIT).

37 G. Cowan K. Cranmer/R. Trotta PHYSTAT 2011 Statistical Data Analysis / Stat 5

G. Cowan Statistical Data Analysis / Stat 5 38 Extra slides

G. Cowan Statistical Data Analysis / Stat 5 39 The Look-Elsewhere Effect Gross and Vitells, EPJC 70: ,2010, arXiv: Suppose a model for a mass distribution allows for a peak at a mass m with amplitude  The data show a bump at a mass m 0. How consistent is this with the no-bump (  = 0) hypothesis?

G. Cowan Statistical Data Analysis / Stat 5 40 Local p-value First, suppose the mass m 0 of the peak was specified a priori. Test consistency of bump with the no-signal (  = 0) hypothesis with e.g. likelihood ratio where “fix” indicates that the mass of the peak is fixed to m 0. The resulting p-value gives the probability to find a value of t fix at least as great as observed at the specific mass m 0 and is called the local p-value.

G. Cowan Statistical Data Analysis / Stat 5 41 Global p-value But suppose we did not know where in the distribution to expect a peak. What we want is the probability to find a peak at least as significant as the one observed anywhere in the distribution. Include the mass as an adjustable parameter in the fit, test significance of peak using (Note m does not appear in the  = 0 model.)

G. Cowan Statistical Data Analysis / Stat 5 42 Distributions of t fix, t float For a sufficiently large data sample, t fix ~chi-square for 1 degree of freedom (Wilks’ theorem). For t float there are two adjustable parameters,  and m, and naively Wilks theorem says t float ~ chi-square for 2 d.o.f. In fact Wilks’ theorem does not hold in the floating mass case because on of the parameters (m) is not-defined in the  = 0 model. So getting t float distribution is more difficult. Gross and Vitells

G. Cowan Statistical Data Analysis / Stat 5 43 Approximate correction for LEE We would like to be able to relate the p-values for the fixed and floating mass analyses (at least approximately). Gross and Vitells show the p-values are approximately related by where 〈 N(c) 〉 is the mean number “upcrossings” of t fix =  2ln λ in the fit range based on a threshold and where Z local = Φ  1 (1 –  p local ) is the local significance. So we can either carry out the full floating-mass analysis (e.g. use MC to get p-value), or do fixed mass analysis and apply a correction factor (much faster than MC). Gross and Vitells

G. Cowan Statistical Data Analysis / Stat 5 44 Upcrossings of  2lnL 〈 N(c) 〉 can be estimated from MC (or the real data) using a much lower threshold c 0 : Gross and Vitells The Gross-Vitells formula for the trials factor requires 〈 N(c) 〉, the mean number “upcrossings” of t fix =  2ln λ in the fit range based on a threshold c = t fix = Z fix 2. In this way 〈 N(c) 〉 can be estimated without need of large MC samples, even if the the threshold c is quite high.

G. Cowan Statistical Data Analysis / Stat 5 45 Multidimensional look-elsewhere effect Generalization to multiple dimensions: number of upcrossings replaced by expectation of Euler characteristic: Applications: astrophysics (coordinates on sky), search for resonance of unknown mass and width,... Vitells and Gross, Astropart. Phys. 35 (2011) ; arXiv:

G. Cowan Statistical Data Analysis / Stat 5 46 Remember the Look-Elsewhere Effect is when we test a single model (e.g., SM) with multiple observations, i..e, in mulitple places. Note there is no look-elsewhere effect when considering exclusion limits. There we test specific signal models (typically once) and say whether each is excluded. With exclusion there is, however, the analogous issue of testing many signal models (or parameter values) and thus excluding some even in the absence of signal (“spurious exclusion”) Approximate correction for LEE should be sufficient, and one should also report the uncorrected significance. “There's no sense in being precise when you don't even know what you're talking about.” –– John von Neumann Summary on Look-Elsewhere Effect

G. Cowan Statistical Data Analysis / Stat 5 47 Common practice in HEP has been to claim a discovery if the p-value of the no-signal hypothesis is below 2.9 × 10  7, corresponding to a significance Z = Φ  1 (1 – p) = 5 (a 5σ effect). There a number of reasons why one may want to require such a high threshold for discovery: The “cost” of announcing a false discovery is high. Unsure about systematics. Unsure about look-elsewhere effect. The implied signal may be a priori highly improbable (e.g., violation of Lorentz invariance). Why 5 sigma?

G. Cowan Statistical Data Analysis / Stat 5 48 But the primary role of the p-value is to quantify the probability that the background-only model gives a statistical fluctuation as big as the one seen or bigger. It is not intended as a means to protect against hidden systematics or the high standard required for a claim of an important discovery. In the processes of establishing a discovery there comes a point where it is clear that the observation is not simply a fluctuation, but an “effect”, and the focus shifts to whether this is new physics or a systematic. Providing LEE is dealt with, that threshold is probably closer to 3σ than 5σ. Why 5 sigma (cont.)?

To estimate a parameter we have various tools such as maximum likelihood, least squares, etc. Usually one also needs to know the variance (or the full sampling distribution) of the estimator – this can be more difficult. Often use asymptotic properties, e.g., sampling distribution of ML estimators becomes Gaussian in large sample limit; std. dev. from curvature of log-likelihood at maximum. The jackknife and bootstrap are examples of “resampling” methods used to estimate the sampling distribution of statistics. In HEP we often do this implicitly by using Toy MC to determine sampling properties of statistics (e.g., Brazil plot for 1σ, 2σ bands of limits). G. Cowan Statistical Data Analysis / Stat 5 49 Jackknife, bootstrap, etc.

Invented by Quenouille (1949) and Tukey (1958). Suppose data sample consists of n events: x = (x 1,... x n ). We have an estimator θ(x) for a parameter θ. Idea is to produce pseudo data samples x  i = (x 1,..., x i  1, x i  1,... x n ) by leaving out the ith event. Let θ  be the estimator obtained from the data sample x  i. Suppose the estimator has a nonzero bias: The jackknife estimator of the bias is ˆ G. Cowan Statistical Data Analysis / Stat 5 50 The Jackknife ˆ See, e.g., Notes on Jackknife and Bootstrap by G. J. Babu: JBabu_JackknifeBootstrap_notes.pdf

G. Cowan Statistical Data Analysis / Stat 5 51 The Bootstrap (Efron, 1979) Idea is to produce a set of “bootstrapped” data samples of same size as the original (real) one by sampling from some distribution that approximates the true (unknown) one. By evaluating a statistic (such as an estimator for a parameter θ) with the bootstrapped-samples, properties of its sampling distribution (often its variance) can be estimated. If the data consist of n events, one way to produce the bootstrapped samples is to randomly select from the original sample n events with replacement (the non-parametric bootstrap). That is, some events might get used multiple times, others might not get used at all. In other cases could generate the bootstrapped samples from a parametric MC model, using parameter values estimated from real data in the MC (parametric bootstrap).

G. Cowan Statistical Data Analysis / Stat 5 52 The Bootstrap (cont.) Call the data sample x = (x 1,... x n ), observed data are x obs, and the bootstrapped samples are x 1 *, x 2 *,... Idea is to use the distribution of as an approximation for the distribution of In the first quantity everything is known from the observed data plus bootstrapped samples, so we can use its distribution to estimate bias, variance, etc. of the estimator θ. ˆ