Docsity

Statistical Methods for Analysis, Slides of Probability and Statistics

Partial preview of the text

Download Statistical Methods for Analysis and more Slides Probability and Statistics in PDF only on Docsity!

Statistical Methods for

Analysis

IceCube Bootcamp Summer 2020

Alex Pizzuto & Austin Schneider

Outline

โ— A quick probability review โ— Statistical inference in general โ—‹ Bayesian methods โ—‹ Frequentist methods โ— Examples!

โ— Consider a coin. โ— The probability of landing on heads or tails is 50% โ— Suppose the value C depends on the outcome of the coin toss, then C is a random variable โ— The random variable C is governed by a probability distribution, which we call T and can be written as T(w) โ— Where T(w) represents the weighted coin distribution and is parameterized by w

Probability

โ— The T(w) distribution in the previous slide also goes by another name, the Bernoulli distribution, and is used to describe the discrete probability of a binary result (0/1 or heads/tails)

โ— Bernoulli processes are rare in nature. A more common process is one governed by the Poisson distribution, which describes the probability of seeing X events in a given period of time.

โ— In this case if we examine an interval t with an event rate r , then we expect ฮป=rt events in the interval.

Discrete Distributions

Poisson Distribution

Continuous Distributions

Discrete distributions defined over countable sets. Continuous distributions are defined on uncountably infinite sets, usually the set of real numbers

Our normalization condition is thus

where if x has units of L, then p(x) has units of 1/L.

The most common example is the normal distribution

Joint and Conditional, contโ€™d.

If X and Y are correlated, we can decompose the joint into a product of different distributions, one separate and one conditional

The first term on the left is read as probability of X = x given that Y = y.

We can now treat the parameter of a distribution as a random variable, for example, if

then we can write the probability distribution as

As this notation is cumbersome, we often just write

Inference:

Bayesianism and Frequentism

Many Measurements

โ— Independent measurements โ†’ product of probabilities

โ— Notationally we can simplify this

Bayesian Methods

Posterior Distribution

โ— The posterior distribution provide us with a picture of

the parameters combining prior information and our

observations

โ— However, there are two issues

โ—‹ We donโ€™t know the normalizing constant โ—‹ We may not care about all the parameters

โ— Solution to both these problems is the same

โ— Integration!

โ— Normalization is achieved by integrating over all

parameters

โ— Nuisance parameters ฮท are integrated out

โ— This produces the marginal posterior distribution

Priors

โ— Say we donโ€™t have any good external

measurements for a prior

โ— Consider the integral on the right โ†’

โ— We donโ€™t want to be โ€œbiasedโ€

โ— Maybe we choose a uniform prior (1/L) to

do this

โ— Problem: what is uniform in one variable is

not uniform in another

โ— The same prior is now not uniform

Credibility Regions

โ— Better to report an interval where most of the probability lies

โ— Want an interval C(๐œถ ) that contains a fraction ๐œถ of the probability

โ— Many ways to construct the interval C(๐œถ )

โ— Highest Posterior Density (HPD) is one way

โ— Choose only points above a threshold

โ— In this example ๐œถ=68.3%

Model Tests

โ— Recall from Bayes theorem โ†’ โ— Compare models by ratio of probabilities

โ— The ratio of P(d|M) is called the Bayes factor โ— P(d|M) is the โ€œevidenceโ€ โ— The evidence is the integral of the posterior over all parameters