• No results found

How To Understand The Correlation Between Weight And Height In Cui

N/A
N/A
Protected

Academic year: 2021

Share "How To Understand The Correlation Between Weight And Height In Cui"

Copied!
19
0
0

Loading.... (view fulltext now)

Full text

(1)

Physics  2150  

Experimental  Physics  2  

Dmitry  Reznik  

Lecture  6:    

Correla@on  and  covariance  con@nued   Poisson  Distribu@on  

FCQs        

(2)

Homework  Due  Oct  12,  5:00  pm  

hLp://www.colorado.edu/physics/phys2150/ phys2150_fa15/Homework.pdf  

(3)

Last  Time  

Zero  when  no  correla@ons  

Posi@ve  when  posi@ve  correla@on:  if                          then  

σ xy = 1 N i=1

(

xix

)

(

yiy

)

N

Covariance  

x

i

>

x

y

i

>

y

(4)

Coefficient  of  linear  correla@on  

r = σ xy σ xσ y = xix

(

)

(

yiy

)

i=1 N

xix

(

)

2 i=1 N

(

yiy

)

2 i=1 N

; 0 ≤ r ≤1

r  indicates  how  well  pairs  xi,yi  sa@sfy  a  linear  rela@on.  

(5)

Example:  Is  there  a  correla@on  

between  weight  and  square  of  height  

of  CU  students?  

Weight  (x)   height    

squared  (y)   What  is  the  degree  of  correla@on?  

σweightx =15.48 σ height squared = σ y = 0.75 covariance   σ xy = 1 N i=1

(

xix

)

(

yiy

)

N

= 8.19 75 3.80 60 2.56 101 3.61 55 2.89 58 2.72 67 3.24 72 3.92 50 1.96 87 4.41 68 2.56 r = σ xy σ xσ y = 0.76

High  degree  of  correla@on  

3.619272 5.650122 14.025982 3.968822 5.028952 ,0.166658 2.032722 23.305522 21.991542 0.789802 xix ( )(yiy)

(6)

Coun@ng  experiments  

6  

Examples:      

 coun@ng  radioac@ve  decay  events    birth  rates  

 rate  of  rare  diseases    car  accidents  

 failure  rate  of  oscilloscopes  in  the  Physics  1140  lab    traffic  flow  

 

Coun@ng  random  events  that  occur  at  a   well-­‐defined  average  rate  

(7)

Coun@ng  experiments  

Why  Gaussian  distribu@on  cannot  be  correct?  

a)  Because  randomness  in  the  case  of  coun@ng   experiments  is  not  really  random  

b)  Because  Gaussian  distribu@on  is  nonzero  for   nega@ve  values  

c)  Gaussian  distribu@on  does  not  work  for  large   numbers  of  counts.  

(8)

Poisson  Distribu@on  

P

µ

( )

n

=

e

−µ

µ

n

n

!

Probability  that  we  will  have  n  counts  provided  that  the   average  number  of  counts  is  µ

Average  number  of  counts  per  seconds:  1  

What  is  the  probability  of  gecng  zero  counts  in  two  seconds?  

a)  0   b)  e-­‐1       c)  e-­‐2=0.135..   d)  2e-­‐2   n=0   µ=2  counts/2  seconds   Pµ ( )n = e−2 2 0 0! = e −2

(9)

What  is  the  probability  of  gecng  -­‐1  

counts??  

(10)

2e−2 e−2 2 2 2! = 2e −2 e−2 2 3 6 = 4 3 e −2 e−2

P

µ

( )

n

=

e

−µ

µ

n

n

!

µ=2   n   P2

( )

n 0" 0.05" 0.1" 0.15" 0.2" 0.25" 0.3" (10" (5" 0" 5" 10" 15" Series1"

Poisson  distribu@on  for  µ=2  

(11)

0" 0.05" 0.1" 0.15" 0.2" 0.25" 0.3" (10" (5" 0" 5" 10" 15" Series1"

Poisson  Distribu@on  

Very  Asymmetric  for  small  µ

If  m  is  an  integer:  two  most  

probable  points  are       Pµ µ

(

−1

)

Pµ µ

( )

If  m  is  not  an  integer:  the   most  probable  point  is     n=Int  (µ)  (round  down  µ)  

(12)

Approaches  Gaussian  distribu@on  for  large  µ

LARGE-MEAN POISSON

(13)

How  to  Use  Poisson  Distribu@on  in  

Coun@ng  

Uncertainty:    σ ≡ 1 N νi 2 − µ2

(

)

i=1 N

= µ

For  large  µ  can  be  interpreted  similarly  to  Gaussian  σ

Also  add  in  quadrature  

Background  processes  may  be  contribu@ng  to  your   rate:  μ=μsignalbkg.  Ohen,  can  measure  μbkg  by  

turning  off  the  signal,  so  when  you  then  measure   μtotal  you  can  subtract  the  background  to  measure   your  signal  rate.  

(14)

An  Example  

Claim  to  have  160  accidents  in  a  10  year  period  at  the   intersec@on  of  Broadway  and  Table    Mesa  Drive.  

How  many  accidents  per  year?   a) 16  +/-­‐  0.4   b) 16  +/-­‐  4   c) 16  +/-­‐  1.26   10 years :160 ± 160 =160±12.6 1 year: 1 10 ∗10 years= 1 10 ∗

(

160 ± 160

)

=16 ±1.26
(15)

An  Example  

The  City  of  Boulder  decides  to  install  a  turn-­‐only  lane.  Over   the  next  two  years  they  record  26  accidents  at  the  

intersec@on    

The  city  makes  the  claim  that  the  accident  rate  has  gone   down.  Can  they  jus@fy  their  claim  sta@s@cally?  

 

(16  +/-­‐  1.26)  per  year  -­‐  (13.0+/-­‐  2.55)  per  year  =  (3  +/-­‐  2.8  )   accidents  per  year  –  Yes  it  is  significant!  (but  barely)  

(16)

A  Science  Example:  Ficng  

Radioisotope  Life@me  

•  Measure  count  rate  (background)  with  no   radioac@ve  material  present  

•  Introduce  radioac@ve  material  

•  Count  the  number  of  decays  in  a  1-­‐second   period;  remeasure  every  30  seconds  

•  Subtract  the  background  rate  

(17)

Measuring  Background  

•  Background  rate  should  be  constant,  so  each   trial  is  a  remeasurement  of  the  same  thing  

•  Get  the  background  rate  by  taking  mean:  

402/10=40.2  (same  as  measuring  for  10  sec.  and   divifing  by  10)    

•  Uncertainty  in  the  rate:  √402/10=20.0/10=2.0  

•  Background  rate  is  40.2±2.0  counts/second  

MEASURING BACKGROUND

• Background rate should be constant, so each trial is a remeasurement of the same thing

• Get the background rate by taking mean:

402/10=40.2 (note that this is exactly equivalent to simply measuring for 10 seconds and dividing by 10 to find the rate).

• Uncertainty in the rate: total counts is 402± 402 • So in 10 seconds, mean = 402±20

• Divide by 10 to get rate in 1 sec: 40.2±2.0

(18)

Signal  Data  

SIGNAL DATA

• Are all the trials measuring the same rate? • What are the uncertainties in the number of

counts?

• What is the measured signal rate?

• Subtract background (40.2 cts/sec)

• Statistical error remains the square root of the total number of counts

• Also there is a systematic error (not shown) due to uncertainty in the

background

What  is  the  measured  signal  rate?   What  are  the  uncertain@es  in  the   number  of  counts?  

 

•  Subtract  background  (40.2  cts/sec)   •  Sta@s@cal  error  remains  the  square   root  of  the  total  number  of  counts  

•  Also  there  is  a  systema@c  error  (not   shown)  due  to  uncertainty  in  the  

(19)

Ficng  for  the  mean  life@me  

FITTING FOR THE MEAN

LIFE

• Plot the rate vs. seconds • To fit to a line, take the log:

• N(t) = N0 exp( t/ ) ln(N) = ln(N0) t/ • Linear fit: y= ln(N); x=t.

• What’s the uncertainty on y if uncertainty on N is N?

Plot  the  rate  vs.  seconds    

Linear  fit:  y=  ln(N);  x=t.    

To  fit  to  a  line,  take  the  log:   N(t)  =  N0exp(−t/τ)  ➠    

ln(N)  =  ln(N0)  −  t/τ    

1/τ  is  the  slope  of  the  line    

References

Related documents

Who will take them forward (name and contact details) Deadline for progressing Review date Develop ongoing communication plans Obtain information from Chronos 360 CRM

Sustainable Long Island, Director of Programs; Michele Gervat, American Heart Association, Regional Director, West End Gala’ Tina Graziose, YMCA of LI, Wellness Director;

We will briefly discuss the role plain radiography has had in establishing PsA as a distinct clinical entity, describe the radiographic features of peripheral and

10. The only personal information you need to let a chatter know about you is that you are a “trained staff or volunteer for your agency”. Occasionally one may want to know

The variation in real variables is explained mainly by nominal shocks: the monetary policy shock, the money demand shock, and the wage markup shock in particular.. The policy

In our empirical application, consider the case where we have four fresh retail meat products ordered as follows: fresh beef, fresh pork, fresh chicken and fresh seafood.. This

1) Background: Buffers in NoC routers are a necessary evil in packet-switched designs. They are required to prevent collisions of flits wishing to use the same output links, but

As is indicated in 9.1 above, the funding framework makes provision for a normative total of research outputs for the public higher education system to be calculated by