SlideShare a Scribd company logo
1 of 29
Download to read offline
Stat310           Central limit theorem


                             Hadley Wickham
Thursday, 19 March 2009
1. Exam
                2. Recap
                3. Sums of normals cont.
                4. Chi-square distribution
                5. Central limit theorem



Thursday, 19 March 2009
Exam
                    Too soon?
                    Alternatives:
                          Take home over recess
                          Extra big homework
                          Add on to final (i.e. worth 30% instead of 20%)



Thursday, 19 March 2009
Recap

                    If X ~ Normal(50, 25), what is:
                    P(X < 50) ?
                    P(40 < X < 55) ?
                    P(X < x) = 0.8 ?




Thursday, 19 March 2009
Sums of normals

                               Normal(μi, σi
                    Let Xi ~                 2),   independent
                    Y = c1X1 + c2X2 + … + cnXn
                    What is the distribution of Y?
                    (What is the mean and variance of Y?)
                    How can we work it out?



Thursday, 19 March 2009
Example

                    If Z1, Z2, Z3 are independent standard
                    normals, what is the distribution of:
                    Z1 - Z3
                    Z1 + Z2 + Z3
                    (Z1 + Z2 + Z3)/3



Thursday, 19 March 2009
Data
                    If X1, X2, …, Xn are iid N(μ, σ2)
                    What is the distribution of the sample
                    average?
                    What is the distribution of the sample
                    variance?
                    How are they related?


Thursday, 19 March 2009
Another special
                             distribution
                    If X ~ Normal(μ, σ2), and
                    V = (X - μ)2 / σ2 = Z2
                    Then
                    V ~ χ2(1)




Thursday, 19 March 2009
Chi-squared

                    Skipped over it in Chapter 3
                    Special case of the gamma distribution,
                    when θ = 2 and α = r / 2 (r an integer)
                    Mean = r, Variance = 2r
                    r is called degrees of freedom



Thursday, 19 March 2009
http://en.wikipedia.org/wiki/Chi-square_distribution




Thursday, 19 March 2009
Sums

                    Let Z1, Z2, …, Zn be iid N(0, 1)
                    W=    Z12   + Z2 + … + Zn
                                   2         2


                    Then
                    W ~ χ2(n)




Thursday, 19 March 2009
Intro to CLT



Thursday, 19 March 2009
Casino simulation
                    Crude simulation of a game a casino.
                    Wheel of fortune - costs $10 to play, and
                    winnings are distributed like a binomial
                    with p = 0.2.
                    What do you average winnings look like if
                    you play it many times?



Thursday, 19 March 2009
3.0




    2.8




    2.6
 mean




    2.4




    2.2




                          50   100   150   200
                               n
Thursday, 19 March 2009
4.0




    3.5




    3.0
 mean




    2.5




    2.0


                          50   100   150   200
                               n
Thursday, 19 March 2009
2.4




    2.2




    2.0
 mean




    1.8




    1.6




                          50   100   150   200
                               n
Thursday, 19 March 2009
Thursday, 19 March 2009
Thursday, 19 March 2009
n=1
     250




     200




     150
 count




     100




         50




          0

                 0        2      4   6    8
                              mean
Thursday, 19 March 2009
n=2

     200




     150
 count




     100




         50




          0

                 0        1   2          3   4    5
                                  mean
Thursday, 19 March 2009
n=3

     150




     100
 count




         50




          0

                 0        1   2          3   4
                                  mean
Thursday, 19 March 2009
n=4
     150




     100
 count




         50




          0

                 0        1   2      3   4
                              mean
Thursday, 19 March 2009
n=5
     140



     120



     100



         80
 count




         60



         40



         20



          0

                    0.5   1.0   1.5   2.0     2.5   3.0   3.5    4.0
                                       mean
Thursday, 19 March 2009
n=10
     120




     100




         80
 count




         60




         40




         20




          0

                      1.0   1.5    2.0   2.5   3.0
                                  mean
Thursday, 19 March 2009
n=20
     140



     120



     100



         80
 count




         60



         40



         20



          0

                          1.5     2.0   2.5
                                mean
Thursday, 19 March 2009
n=100
     150




     100
 count




         50




          0

                          1.6   1.8          2.0   2.2      2.4
                                      mean
Thursday, 19 March 2009
n=200
     250




     200




     150
 count




     100




         50




          0

                          1.7   1.8   1.9          2.0   2.1   2.2      2.3
                                            mean
Thursday, 19 March 2009
Mathematically
                          If X1, X2, …, Xn, are iid, and

                                ¯n − µ
                               X
                          Wn =    √
                               σ/ n
                                      then

             lim Wn = Z ∼ Normal(0, 1)
        n→∞
Thursday, 19 March 2009
I know of scarcely anything so apt to impress the
       imagination as the wonderful form of cosmic order
       expressed by the “Law of Frequency of Error”. ... It
       reigns with serenity and in complete self-effacement,
       amidst the wildest confusion. The huger the mob, and
       the greater the apparent anarchy, the more perfect is
       its sway. It is the supreme law of Unreason. Whenever
       a large sample of chaotic elements are taken in hand
       and marshaled in the order of their magnitude, an
       unsuspected and most beautiful form of regularity
       proves to have been latent all along.
       — Sir Francis Galton (Natural Inheritance, 1889)


Thursday, 19 March 2009

More Related Content

What's hot (8)

日本無人島開発
  日本無人島開発  日本無人島開発
日本無人島開発
 
Statistics assignment 2.2
Statistics assignment 2.2Statistics assignment 2.2
Statistics assignment 2.2
 
True, Iffy, False 1
True, Iffy, False 1True, Iffy, False 1
True, Iffy, False 1
 
3 chap
3 chap3 chap
3 chap
 
Statistics assignment 8
Statistics assignment 8Statistics assignment 8
Statistics assignment 8
 
Stats
StatsStats
Stats
 
Prime numbers ok1296542459
Prime numbers  ok1296542459Prime numbers  ok1296542459
Prime numbers ok1296542459
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
 

Viewers also liked

preCalculus 205 Compositions and Inverse Functions!
preCalculus 205 Compositions and Inverse Functions!preCalculus 205 Compositions and Inverse Functions!
preCalculus 205 Compositions and Inverse Functions!
A Jorge Garcia
 
Frontend meetup 2014.06.25
Frontend meetup 2014.06.25Frontend meetup 2014.06.25
Frontend meetup 2014.06.25
EU Edge
 
Carrières de l'Informatique
Carrières de l'InformatiqueCarrières de l'Informatique
Carrières de l'Informatique
ChantalMary
 
Progression BA301
Progression BA301Progression BA301
Progression BA301
Nang Saruni
 
Presentación1.pptx
Presentación1.pptxPresentación1.pptx
Presentación1.pptx
Wenpal555
 
Out of depth evaluation
Out of depth evaluation Out of depth evaluation
Out of depth evaluation
amana151
 
Glosario la aventura de innovar
Glosario la aventura de innovarGlosario la aventura de innovar
Glosario la aventura de innovar
brendsruiz
 
Dental administrative assistant kpi
Dental administrative assistant kpiDental administrative assistant kpi
Dental administrative assistant kpi
werfuter
 
Answer solution with analysis aieee 2011 aakash
Answer solution with analysis aieee 2011 aakashAnswer solution with analysis aieee 2011 aakash
Answer solution with analysis aieee 2011 aakash
ermanojkhanna
 
Tabla de muestreo sistematico
Tabla de muestreo sistematicoTabla de muestreo sistematico
Tabla de muestreo sistematico
Anerol Mtz
 

Viewers also liked (20)

preCalculus 205 Compositions and Inverse Functions!
preCalculus 205 Compositions and Inverse Functions!preCalculus 205 Compositions and Inverse Functions!
preCalculus 205 Compositions and Inverse Functions!
 
Frontend meetup 2014.06.25
Frontend meetup 2014.06.25Frontend meetup 2014.06.25
Frontend meetup 2014.06.25
 
Figures
FiguresFigures
Figures
 
weblog
weblogweblog
weblog
 
Fórum de Líderes ABRH-RN
Fórum de Líderes ABRH-RNFórum de Líderes ABRH-RN
Fórum de Líderes ABRH-RN
 
Carrières de l'Informatique
Carrières de l'InformatiqueCarrières de l'Informatique
Carrières de l'Informatique
 
Derivative formula 02
Derivative formula 02Derivative formula 02
Derivative formula 02
 
Lesson 21: Curve Sketching (Section 041 slides)
Lesson 21: Curve Sketching (Section 041 slides)Lesson 21: Curve Sketching (Section 041 slides)
Lesson 21: Curve Sketching (Section 041 slides)
 
Progression BA301
Progression BA301Progression BA301
Progression BA301
 
Presentación1.pptx
Presentación1.pptxPresentación1.pptx
Presentación1.pptx
 
Advanced Techniques for Mobile Robotics
Advanced Techniques for Mobile RoboticsAdvanced Techniques for Mobile Robotics
Advanced Techniques for Mobile Robotics
 
Out of depth evaluation
Out of depth evaluation Out of depth evaluation
Out of depth evaluation
 
Glosario la aventura de innovar
Glosario la aventura de innovarGlosario la aventura de innovar
Glosario la aventura de innovar
 
Nephee Framework Design Ver2
Nephee Framework Design Ver2Nephee Framework Design Ver2
Nephee Framework Design Ver2
 
Common fixed point for two weakly compatible pairs ...
Common fixed point for two weakly compatible pairs                           ...Common fixed point for two weakly compatible pairs                           ...
Common fixed point for two weakly compatible pairs ...
 
Do Download
Do DownloadDo Download
Do Download
 
Dental administrative assistant kpi
Dental administrative assistant kpiDental administrative assistant kpi
Dental administrative assistant kpi
 
FFS y RBI en Reactor Polimerizador
FFS y RBI en Reactor PolimerizadorFFS y RBI en Reactor Polimerizador
FFS y RBI en Reactor Polimerizador
 
Answer solution with analysis aieee 2011 aakash
Answer solution with analysis aieee 2011 aakashAnswer solution with analysis aieee 2011 aakash
Answer solution with analysis aieee 2011 aakash
 
Tabla de muestreo sistematico
Tabla de muestreo sistematicoTabla de muestreo sistematico
Tabla de muestreo sistematico
 

More from Hadley Wickham (20)

27 development
27 development27 development
27 development
 
27 development
27 development27 development
27 development
 
24 modelling
24 modelling24 modelling
24 modelling
 
23 data-structures
23 data-structures23 data-structures
23 data-structures
 
Graphical inference
Graphical inferenceGraphical inference
Graphical inference
 
R packages
R packagesR packages
R packages
 
22 spam
22 spam22 spam
22 spam
 
21 spam
21 spam21 spam
21 spam
 
20 date-times
20 date-times20 date-times
20 date-times
 
19 tables
19 tables19 tables
19 tables
 
18 cleaning
18 cleaning18 cleaning
18 cleaning
 
17 polishing
17 polishing17 polishing
17 polishing
 
16 critique
16 critique16 critique
16 critique
 
15 time-space
15 time-space15 time-space
15 time-space
 
14 case-study
14 case-study14 case-study
14 case-study
 
13 case-study
13 case-study13 case-study
13 case-study
 
12 adv-manip
12 adv-manip12 adv-manip
12 adv-manip
 
11 adv-manip
11 adv-manip11 adv-manip
11 adv-manip
 
11 adv-manip
11 adv-manip11 adv-manip
11 adv-manip
 
10 simulation
10 simulation10 simulation
10 simulation
 

Recently uploaded

{Qatar{^🚀^(+971558539980**}})Abortion Pills for Sale in Dubai. .abu dhabi, sh...
{Qatar{^🚀^(+971558539980**}})Abortion Pills for Sale in Dubai. .abu dhabi, sh...{Qatar{^🚀^(+971558539980**}})Abortion Pills for Sale in Dubai. .abu dhabi, sh...
{Qatar{^🚀^(+971558539980**}})Abortion Pills for Sale in Dubai. .abu dhabi, sh...
hyt3577
 
Powerful Love Spells in Phoenix, AZ (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Phoenix, AZ (310) 882-6330 Bring Back Lost LoverPowerful Love Spells in Phoenix, AZ (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Phoenix, AZ (310) 882-6330 Bring Back Lost Lover
PsychicRuben LoveSpells
 
THE OBSTACLES THAT IMPEDE THE DEVELOPMENT OF BRAZIL IN THE CONTEMPORARY ERA A...
THE OBSTACLES THAT IMPEDE THE DEVELOPMENT OF BRAZIL IN THE CONTEMPORARY ERA A...THE OBSTACLES THAT IMPEDE THE DEVELOPMENT OF BRAZIL IN THE CONTEMPORARY ERA A...
THE OBSTACLES THAT IMPEDE THE DEVELOPMENT OF BRAZIL IN THE CONTEMPORARY ERA A...
Faga1939
 

Recently uploaded (20)

Gujarat-SEBCs.pdf pfpkoopapriorjfperjreie
Gujarat-SEBCs.pdf pfpkoopapriorjfperjreieGujarat-SEBCs.pdf pfpkoopapriorjfperjreie
Gujarat-SEBCs.pdf pfpkoopapriorjfperjreie
 
China's soft power in 21st century .pptx
China's soft power in 21st century   .pptxChina's soft power in 21st century   .pptx
China's soft power in 21st century .pptx
 
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort ServiceBusty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
 
Embed-4.pdf lkdiinlajeklhndklheduhuekjdh
Embed-4.pdf lkdiinlajeklhndklheduhuekjdhEmbed-4.pdf lkdiinlajeklhndklheduhuekjdh
Embed-4.pdf lkdiinlajeklhndklheduhuekjdh
 
Nara Chandrababu Naidu's Visionary Policies For Andhra Pradesh's Development
Nara Chandrababu Naidu's Visionary Policies For Andhra Pradesh's DevelopmentNara Chandrababu Naidu's Visionary Policies For Andhra Pradesh's Development
Nara Chandrababu Naidu's Visionary Policies For Andhra Pradesh's Development
 
declarationleaders_sd_re_greens_theleft_5.pdf
declarationleaders_sd_re_greens_theleft_5.pdfdeclarationleaders_sd_re_greens_theleft_5.pdf
declarationleaders_sd_re_greens_theleft_5.pdf
 
Enjoy Night ≽ 8448380779 ≼ Call Girls In Gurgaon Sector 48 (Gurgaon)
Enjoy Night ≽ 8448380779 ≼ Call Girls In Gurgaon Sector 48 (Gurgaon)Enjoy Night ≽ 8448380779 ≼ Call Girls In Gurgaon Sector 48 (Gurgaon)
Enjoy Night ≽ 8448380779 ≼ Call Girls In Gurgaon Sector 48 (Gurgaon)
 
{Qatar{^🚀^(+971558539980**}})Abortion Pills for Sale in Dubai. .abu dhabi, sh...
{Qatar{^🚀^(+971558539980**}})Abortion Pills for Sale in Dubai. .abu dhabi, sh...{Qatar{^🚀^(+971558539980**}})Abortion Pills for Sale in Dubai. .abu dhabi, sh...
{Qatar{^🚀^(+971558539980**}})Abortion Pills for Sale in Dubai. .abu dhabi, sh...
 
Enjoy Night ≽ 8448380779 ≼ Call Girls In Gurgaon Sector 46 (Gurgaon)
Enjoy Night ≽ 8448380779 ≼ Call Girls In Gurgaon Sector 46 (Gurgaon)Enjoy Night ≽ 8448380779 ≼ Call Girls In Gurgaon Sector 46 (Gurgaon)
Enjoy Night ≽ 8448380779 ≼ Call Girls In Gurgaon Sector 46 (Gurgaon)
 
America Is the Target; Israel Is the Front Line _ Andy Blumenthal _ The Blogs...
America Is the Target; Israel Is the Front Line _ Andy Blumenthal _ The Blogs...America Is the Target; Israel Is the Front Line _ Andy Blumenthal _ The Blogs...
America Is the Target; Israel Is the Front Line _ Andy Blumenthal _ The Blogs...
 
Powerful Love Spells in Phoenix, AZ (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Phoenix, AZ (310) 882-6330 Bring Back Lost LoverPowerful Love Spells in Phoenix, AZ (310) 882-6330 Bring Back Lost Lover
Powerful Love Spells in Phoenix, AZ (310) 882-6330 Bring Back Lost Lover
 
422524114-Patriarchy-Kamla-Bhasin gg.pdf
422524114-Patriarchy-Kamla-Bhasin gg.pdf422524114-Patriarchy-Kamla-Bhasin gg.pdf
422524114-Patriarchy-Kamla-Bhasin gg.pdf
 
05052024_First India Newspaper Jaipur.pdf
05052024_First India Newspaper Jaipur.pdf05052024_First India Newspaper Jaipur.pdf
05052024_First India Newspaper Jaipur.pdf
 
THE OBSTACLES THAT IMPEDE THE DEVELOPMENT OF BRAZIL IN THE CONTEMPORARY ERA A...
THE OBSTACLES THAT IMPEDE THE DEVELOPMENT OF BRAZIL IN THE CONTEMPORARY ERA A...THE OBSTACLES THAT IMPEDE THE DEVELOPMENT OF BRAZIL IN THE CONTEMPORARY ERA A...
THE OBSTACLES THAT IMPEDE THE DEVELOPMENT OF BRAZIL IN THE CONTEMPORARY ERA A...
 
Busty Desi⚡Call Girls in Sector 62 Noida Escorts >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Sector 62 Noida Escorts >༒8448380779 Escort ServiceBusty Desi⚡Call Girls in Sector 62 Noida Escorts >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Sector 62 Noida Escorts >༒8448380779 Escort Service
 
Group_5_US-China Trade War to understand the trade
Group_5_US-China Trade War to understand the tradeGroup_5_US-China Trade War to understand the trade
Group_5_US-China Trade War to understand the trade
 
KING VISHNU BHAGWANON KA BHAGWAN PARAMATMONKA PARATOMIC PARAMANU KASARVAMANVA...
KING VISHNU BHAGWANON KA BHAGWAN PARAMATMONKA PARATOMIC PARAMANU KASARVAMANVA...KING VISHNU BHAGWANON KA BHAGWAN PARAMATMONKA PARATOMIC PARAMANU KASARVAMANVA...
KING VISHNU BHAGWANON KA BHAGWAN PARAMATMONKA PARATOMIC PARAMANU KASARVAMANVA...
 
Politician uddhav thackeray biography- Full Details
Politician uddhav thackeray biography- Full DetailsPolitician uddhav thackeray biography- Full Details
Politician uddhav thackeray biography- Full Details
 
Embed-2 (1).pdfb[k[k[[k[kkkpkdpokkdpkopko
Embed-2 (1).pdfb[k[k[[k[kkkpkdpokkdpkopkoEmbed-2 (1).pdfb[k[k[[k[kkkpkdpokkdpkopko
Embed-2 (1).pdfb[k[k[[k[kkkpkdpokkdpkopko
 
Enjoy Night ≽ 8448380779 ≼ Call Girls In Gurgaon Sector 47 (Gurgaon)
Enjoy Night ≽ 8448380779 ≼ Call Girls In Gurgaon Sector 47 (Gurgaon)Enjoy Night ≽ 8448380779 ≼ Call Girls In Gurgaon Sector 47 (Gurgaon)
Enjoy Night ≽ 8448380779 ≼ Call Girls In Gurgaon Sector 47 (Gurgaon)
 

19 Clt

  • 1. Stat310 Central limit theorem Hadley Wickham Thursday, 19 March 2009
  • 2. 1. Exam 2. Recap 3. Sums of normals cont. 4. Chi-square distribution 5. Central limit theorem Thursday, 19 March 2009
  • 3. Exam Too soon? Alternatives: Take home over recess Extra big homework Add on to final (i.e. worth 30% instead of 20%) Thursday, 19 March 2009
  • 4. Recap If X ~ Normal(50, 25), what is: P(X < 50) ? P(40 < X < 55) ? P(X < x) = 0.8 ? Thursday, 19 March 2009
  • 5. Sums of normals Normal(μi, σi Let Xi ~ 2), independent Y = c1X1 + c2X2 + … + cnXn What is the distribution of Y? (What is the mean and variance of Y?) How can we work it out? Thursday, 19 March 2009
  • 6. Example If Z1, Z2, Z3 are independent standard normals, what is the distribution of: Z1 - Z3 Z1 + Z2 + Z3 (Z1 + Z2 + Z3)/3 Thursday, 19 March 2009
  • 7. Data If X1, X2, …, Xn are iid N(μ, σ2) What is the distribution of the sample average? What is the distribution of the sample variance? How are they related? Thursday, 19 March 2009
  • 8. Another special distribution If X ~ Normal(μ, σ2), and V = (X - μ)2 / σ2 = Z2 Then V ~ χ2(1) Thursday, 19 March 2009
  • 9. Chi-squared Skipped over it in Chapter 3 Special case of the gamma distribution, when θ = 2 and α = r / 2 (r an integer) Mean = r, Variance = 2r r is called degrees of freedom Thursday, 19 March 2009
  • 11. Sums Let Z1, Z2, …, Zn be iid N(0, 1) W= Z12 + Z2 + … + Zn 2 2 Then W ~ χ2(n) Thursday, 19 March 2009
  • 12. Intro to CLT Thursday, 19 March 2009
  • 13. Casino simulation Crude simulation of a game a casino. Wheel of fortune - costs $10 to play, and winnings are distributed like a binomial with p = 0.2. What do you average winnings look like if you play it many times? Thursday, 19 March 2009
  • 14. 3.0 2.8 2.6 mean 2.4 2.2 50 100 150 200 n Thursday, 19 March 2009
  • 15. 4.0 3.5 3.0 mean 2.5 2.0 50 100 150 200 n Thursday, 19 March 2009
  • 16. 2.4 2.2 2.0 mean 1.8 1.6 50 100 150 200 n Thursday, 19 March 2009
  • 19. n=1 250 200 150 count 100 50 0 0 2 4 6 8 mean Thursday, 19 March 2009
  • 20. n=2 200 150 count 100 50 0 0 1 2 3 4 5 mean Thursday, 19 March 2009
  • 21. n=3 150 100 count 50 0 0 1 2 3 4 mean Thursday, 19 March 2009
  • 22. n=4 150 100 count 50 0 0 1 2 3 4 mean Thursday, 19 March 2009
  • 23. n=5 140 120 100 80 count 60 40 20 0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 mean Thursday, 19 March 2009
  • 24. n=10 120 100 80 count 60 40 20 0 1.0 1.5 2.0 2.5 3.0 mean Thursday, 19 March 2009
  • 25. n=20 140 120 100 80 count 60 40 20 0 1.5 2.0 2.5 mean Thursday, 19 March 2009
  • 26. n=100 150 100 count 50 0 1.6 1.8 2.0 2.2 2.4 mean Thursday, 19 March 2009
  • 27. n=200 250 200 150 count 100 50 0 1.7 1.8 1.9 2.0 2.1 2.2 2.3 mean Thursday, 19 March 2009
  • 28. Mathematically If X1, X2, …, Xn, are iid, and ¯n − µ X Wn = √ σ/ n then lim Wn = Z ∼ Normal(0, 1) n→∞ Thursday, 19 March 2009
  • 29. I know of scarcely anything so apt to impress the imagination as the wonderful form of cosmic order expressed by the “Law of Frequency of Error”. ... It reigns with serenity and in complete self-effacement, amidst the wildest confusion. The huger the mob, and the greater the apparent anarchy, the more perfect is its sway. It is the supreme law of Unreason. Whenever a large sample of chaotic elements are taken in hand and marshaled in the order of their magnitude, an unsuspected and most beautiful form of regularity proves to have been latent all along. — Sir Francis Galton (Natural Inheritance, 1889) Thursday, 19 March 2009