16
Doing an experiment à making measurements Measurements not perfect à imperfection quantified in resolution or error Welcome to Phys590 Error analysis and propagation of errors (II) Marzia Rosati Zaffarano A325

Welcome to Phys590 Error analysis and propagation of ...canfield.physics.iastate.edu/course/ErrorAnalysis-Lecture2.pdfThe CompoundPoisson distribution • Less known is the compound

  • Upload
    others

  • View
    10

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Welcome to Phys590 Error analysis and propagation of ...canfield.physics.iastate.edu/course/ErrorAnalysis-Lecture2.pdfThe CompoundPoisson distribution • Less known is the compound

Doing an experiment à making measurements

Measurements not perfect à imperfection quantified in resolution or error

Welcome to Phys590Error analysis and propagation of errors (II)

Marzia RosatiZaffarano A325

Page 2: Welcome to Phys590 Error analysis and propagation of ...canfield.physics.iastate.edu/course/ErrorAnalysis-Lecture2.pdfThe CompoundPoisson distribution • Less known is the compound

Properties of the Gaussian distribution

• Mean and Variance

• Integrals of Gaussian

ss

ssµµ

µsµ

=

=-=

==

ò

ò¥+

¥-

¥+

¥-

22 ),;()()(

),;(

dxxPxxV

dxxxPx

68.27% within 1s 90% à 1.645s95.43% within 2s 95% à 1.96s99.73% within 3s 99% à 2.58s

99.9% à 3.29s

22 2/)(

21),;( sµ

pssµ --= xexP

Page 3: Welcome to Phys590 Error analysis and propagation of ...canfield.physics.iastate.edu/course/ErrorAnalysis-Lecture2.pdfThe CompoundPoisson distribution • Less known is the compound

The Central Limit Theorem• Any Distribution that is the sum of many

SMALL effects, which are each due to some RANDOM DISTRIBUTION, will tend towards a Normal Distribution in the limit of large statistics, REGARDLESS of the nature of the individual random distributions!

• Example:– Take a uniform distribution

and 5000 numbers taken at random in [0,1]

– Mean = 1/2, Variance = 1/12

N=1

Page 4: Welcome to Phys590 Error analysis and propagation of ...canfield.physics.iastate.edu/course/ErrorAnalysis-Lecture2.pdfThe CompoundPoisson distribution • Less known is the compound

The Central Limit Theorem (II)– Now take that sum X = x1+x2

of 2 variables with a uniform distribution taken at random in [0,1]

– Same for 3 numbers, X = x1 + x2 + x3

– Same for 12 numbers, overlaid curve is exact Gaussian distribution

N=2

N=3

N=12

Page 5: Welcome to Phys590 Error analysis and propagation of ...canfield.physics.iastate.edu/course/ErrorAnalysis-Lecture2.pdfThe CompoundPoisson distribution • Less known is the compound

Systematic and Random Errors• Error: Defined as the difference between a

calculated or observed value and the �true� value

– Blunders: Usually apparent either as obviously incorrect data points or results that are not reasonably close to the expected value. Easy to detect.

– Systematic Errors: Errors that occur reproducibly from faulty calibration of equipment or observer bias. Statistical analysis in generally not useful, but rather corrections must be made based on experimental conditions.

– Random Errors: Errors that result from the fluctuations in observations. Requires that experiments be repeated a sufficient number of time to establish the precision of measurement.

Page 6: Welcome to Phys590 Error analysis and propagation of ...canfield.physics.iastate.edu/course/ErrorAnalysis-Lecture2.pdfThe CompoundPoisson distribution • Less known is the compound

• A “statistical uncertainty” represents the scatter in a parameter estimation caused by fluctuations in the values of random variables. Typically this decreases in proportion to 1/√N.

• A “systematic uncertainty” represents a constant (not random) but unknown error whose size is independent of N.

Page 7: Welcome to Phys590 Error analysis and propagation of ...canfield.physics.iastate.edu/course/ErrorAnalysis-Lecture2.pdfThe CompoundPoisson distribution • Less known is the compound

• A systematic uncertainty is a possible unknown variation in a measurement, or in a quantity derived from a set of measurements, that does not randomly vary from data point to data point

Page 8: Welcome to Phys590 Error analysis and propagation of ...canfield.physics.iastate.edu/course/ErrorAnalysis-Lecture2.pdfThe CompoundPoisson distribution • Less known is the compound

Error propagation – one variable• Suppose we have

• How do you calculate V(f) from V(x)?

– But only valid if linear approximation is good in range of error

baxxf +=)(

( ))(

22

)(

)(

2

222

22222

22

22

xVaxxa

bxabxabxabxa

baxbax

fffV

=-=

---++=

+-+=

-=

xf dxdf

xVdxdf

fV ss =÷øö

çèæ= ;)()(

2

ß i.e. sf = |a|sx

Page 9: Welcome to Phys590 Error analysis and propagation of ...canfield.physics.iastate.edu/course/ErrorAnalysis-Lecture2.pdfThe CompoundPoisson distribution • Less known is the compound

Covariance and Correlation Coefficient

Page 10: Welcome to Phys590 Error analysis and propagation of ...canfield.physics.iastate.edu/course/ErrorAnalysis-Lecture2.pdfThe CompoundPoisson distribution • Less known is the compound

Covariance and Correlation Coefficient (II)

Page 11: Welcome to Phys590 Error analysis and propagation of ...canfield.physics.iastate.edu/course/ErrorAnalysis-Lecture2.pdfThe CompoundPoisson distribution • Less known is the compound

Error Propagation – Summing 2 variablescbyaxf ++=

yxyxf dydf

dxdf

dydf

dxdf

yxdydf

dxdfyV

dydfxV

dxdffV

srssss ÷÷ø

öççè

æ÷øö

çèæ+÷÷

ø

öççè

æ+÷

øö

çèæ=

÷÷ø

öççè

æ÷øö

çèæ+÷÷

ø

öççè

æ+÷

øö

çèæ=

2

),cov(2)()()(

22

22

2

22

The correlation coefficient r [-1,+1] is 0 if x,y uncorrelated

( ) ( ) ( )),cov(2)()(

2)(22

222222

yxabyVbxVa

yxxyabyybxxafV

++=

-+-+-=

Familiar ‘add errors in quadrature’ only valid in absence of correlations, i.e. cov(x,y)=0

But only valid if linear approximation is good in range of error

Page 12: Welcome to Phys590 Error analysis and propagation of ...canfield.physics.iastate.edu/course/ErrorAnalysis-Lecture2.pdfThe CompoundPoisson distribution • Less known is the compound

The Poisson distribution

• The Poisson distribution is:

– The expectation value of a Poisson variable with mean µ is E(n) = µ

– its variance is V(n) = µ

The Poisson is a discrete distribution. It describes the probability of getting exactly n events in a given time, if these occur independently and randomly at constant rate (in that given time) µ

!);(

nenPn µµµ

-

=

Page 13: Welcome to Phys590 Error analysis and propagation of ...canfield.physics.iastate.edu/course/ErrorAnalysis-Lecture2.pdfThe CompoundPoisson distribution • Less known is the compound

The Compound Poisson distribution

• Less known is the compound Poisson distribution, which describes the sum of N Poisson variables, all of mean µ, when N is also a Poisson variable of mean l:

– Obviously the expectation value is E(n)=lµ– The variance is V(n) = lµ(1+µ)

• One seldom has to do with this distribution in practice. Yet I will make the point that it is necessary for a physicist to know it exists, and to recognize it is different from the simple Poisson distribution.

å¥

=

--

úû

ùêë

é=,

0 !!)();(

N

NNn

Ne

neNnP

lµ lµlµ

Page 14: Welcome to Phys590 Error analysis and propagation of ...canfield.physics.iastate.edu/course/ErrorAnalysis-Lecture2.pdfThe CompoundPoisson distribution • Less known is the compound

In 1968 McCusker and Cairns observed four tracks in a Wilson chamber whose apparent ionization was compatible with the one expected for particles of charge 2/3e. Successively, they published a paper where they showed a track which could not be anything but a fractionary charge particle!In fact, it produced 110 counted droplets per unit path length against an expectation of 229 (from the 55,000 observed tracks).

What is the probability to observe such a phenomenon ? We compute it in the following slide.

PRL 23, 658 (1969)

Page 15: Welcome to Phys590 Error analysis and propagation of ...canfield.physics.iastate.edu/course/ErrorAnalysis-Lecture2.pdfThe CompoundPoisson distribution • Less known is the compound

Significance of the observationCase A: single Poisson process, with µ=229:

Since they observed 55,000 tracks, seeing at least one track with P=1.6x10-18 has a chance of occurring of 1-(1-P)55000, or about 10-13

å=

--

´»=£110

0

18229

106.1!

229)110(i

i

ienP

5110

0 0107.4

!!)()110(' -

=

¥

=

--

´»úû

ùêë

é=£ ååi N

NNi

Ne

ieNnP

lµ lµ

Case B: compound Poisson process, with lµ=229, µ=4:One should rather compute

from which one gets that the probability of seeing at least one such track is rather 1-(1-P’)55000, or 92.5%. Ooops!

Page 16: Welcome to Phys590 Error analysis and propagation of ...canfield.physics.iastate.edu/course/ErrorAnalysis-Lecture2.pdfThe CompoundPoisson distribution • Less known is the compound

Resources

• “Statistical Analysis” by Cowan• “Introduction to Error Analysis” by Taylor • “Statistics: A Guide to the Use of Statistical Methods in

the Physical Sciences” by Barlow