+ All Categories
Home > Documents > A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas...

A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas...

Date post: 17-Jul-2020
Category:
Upload: others
View: 0 times
Download: 0 times
Share this document with a friend
61
1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re free to share or change it, so long as you provide attribution to Thomas Lotze. http://creativecommons.org/licenses/by/3.0/us
Transcript
Page 1: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

1/61

A Brief Tour of Statistics

This work by Thomas Lotze is licensed under a Creative Commons

Attribution 3.0 United States License. You’re free to share or change

it, so long as you provide attribution to Thomas Lotze.

http://creativecommons.org/licenses/by/3.0/us

Page 2: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

2/61

• What are Distributions?• Models

– Binomial– Poisson– Uniform– Gaussian (normal)

• Using Distributions to Answer Questions

• Distribution Parameters• Estimating Parameters

• Confidence Intervals and P-values• Why Gaussian?

• Regression

• Logistic Regression• Why Not Gaussian?

• Bootstrapping• Multiple Testing

• Useful Tools

Page 3: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

3/61Creative Commons licensed, from gr0don on flickr

Page 4: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

4/61Creative Commons licensed, from WxMom on flickr

Page 5: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

5/61Creative Commons licensed, from stringberd on flickr

Page 6: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

6/61Creative Commons licensed, from benchilada on flickr

Page 7: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

7/61Creative Commons licensed, from benchilada on flickr

Page 8: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

8/61

• What are Distributions?• Models

– Binomial– Poisson– Uniform– Gaussian (normal)

• Using Distributions to Answer Questions

• Distribution Parameters• Estimating Parameters

• Confidence Intervals and P-values• Why Gaussian?

• Regression

• Logistic Regression• Why Not Gaussian?

• Bootstrapping• Multiple Testing

• Useful Tools

Page 9: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

9/61Creative Commons licensed, from Jason Tromm on flickr

Page 10: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

10/61

Page 11: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

11/61

Page 12: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

12/61Creative Commons licensed, from Rickydavid on flickr

Page 13: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

13/61

Page 14: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

14/61Creative Commons licensed, from Antoine Taveneaux on Wikimedia Commons

Page 15: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

15/61

• What are Distributions?• Models

– Binomial– Poisson– Uniform– Gaussian (normal)

• Using Distributions to Answer Questions• Distribution Parameters• Estimating Parameters

• Confidence Intervals and P-values• Why Gaussian?

• Regression

• Logistic Regression• Why Not Gaussian?

• Bootstrapping• Multiple Testing

• Useful Tools

Page 16: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

16/61

Page 17: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

17/61

Page 18: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

18/61

Page 19: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

19/61

Page 20: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

20/61

• What are Distributions?• Models

– Binomial– Poisson– Uniform– Gaussian (normal)

• Using Distributions to Answer Questions

• Distribution Parameters• Estimating Parameters

• Confidence Intervals and P-values• Why Gaussian?

• Regression

• Logistic Regression• Why Not Gaussian?

• Bootstrapping• Multiple Testing

• Useful Tools

Page 21: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

21/61Creative Commons licensed, from gr0don on flickr

Page 22: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

22/61

• What are Distributions?• Models

– Binomial– Poisson– Uniform– Gaussian (normal)

• Using Distributions to Answer Questions

• Distribution Parameters• Estimating Parameters• Confidence Intervals and P-values• Why Gaussian?

• Regression

• Logistic Regression• Why Not Gaussian?

• Bootstrapping• Multiple Testing

• Useful Tools

Page 23: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

23/61

21/38

Page 24: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

24/61

Page 25: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

25/61

Page 26: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

26/61

• What are Distributions?• Models

– Binomial– Poisson– Uniform– Gaussian (normal)

• Using Distributions to Answer Questions

• Distribution Parameters• Estimating Parameters

• Confidence Intervals and P-values• Why Gaussian?

• Regression

• Logistic Regression• Why Not Gaussian?

• Bootstrapping• Multiple Testing

• Useful Tools

Page 27: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

27/61

Page 28: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

28/61

Page 29: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

29/61

Page 30: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

30/61

Page 31: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

31/610.10.44

0.050.41

0.010.34

0.0010.30

Probability of 21 or

more successes

Actual

Field

Goal Rate

Page 32: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

32/61

• What are Distributions?• Models

– Binomial– Poisson– Uniform– Gaussian (normal)

• Using Distributions to Answer Questions

• Distribution Parameters• Estimating Parameters

• Confidence Intervals and P-values• Why Gaussian?• Regression

• Logistic Regression• Why Not Gaussian?

• Bootstrapping• Multiple Testing

• Useful Tools

Page 33: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

33/61

Page 34: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

34/61

Page 35: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

35/61

Page 36: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

36/61

• What are Distributions?• Models

– Binomial– Poisson– Uniform– Gaussian (normal)

• Using Distributions to Answer Questions

• Distribution Parameters• Estimating Parameters

• Confidence Intervals and P-values• Why Gaussian?

• Regression• Logistic Regression• Why Not Gaussian?

• Bootstrapping• Multiple Testing

• Useful Tools

Page 37: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

37/61

Page 38: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

38/61

Page 39: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

39/61

Page 40: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

40/61

Page 41: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

41/61

Page 42: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

42/61

Page 43: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

43/61

• What are Distributions?• Models

– Binomial– Poisson– Uniform– Gaussian (normal)

• Using Distributions to Answer Questions

• Distribution Parameters• Estimating Parameters

• Confidence Intervals and P-values• Why Gaussian?

• Regression

• Logistic Regression• Why Not Gaussian?

• Bootstrapping• Multiple Testing

• Useful Tools

Page 44: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

44/61

Page 45: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

45/61

Page 46: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

46/61

• What are Distributions?• Models

– Binomial– Poisson– Uniform– Gaussian (normal)

• Using Distributions to Answer Questions

• Distribution Parameters• Estimating Parameters

• Confidence Intervals and P-values• Why Gaussian?

• Regression

• Logistic Regression• Why Not Gaussian?• Bootstrapping• Multiple Testing

• Useful Tools

Page 47: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

47/61Creative Commons licensed, from Alan Vernon on flickr

Page 48: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

48/61

Page 49: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

49/61

Page 50: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

50/61

Page 51: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

51/61

Page 52: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

52/61

Page 53: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

53/61

• What are Distributions?• Models

– Binomial– Poisson– Uniform– Gaussian (normal)

• Using Distributions to Answer Questions

• Distribution Parameters• Estimating Parameters

• Confidence Intervals and P-values• Why Gaussian?

• Regression

• Logistic Regression• Why Not Gaussian?

• Bootstrapping• Multiple Testing

• Useful Tools

Page 54: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

54/61

• What are Distributions?• Models

– Binomial– Poisson– Uniform– Gaussian (normal)

• Using Distributions to Answer Questions

• Distribution Parameters• Estimating Parameters

• Confidence Intervals and P-values• Why Gaussian?

• Regression

• Logistic Regression• Why Not Gaussian?

• Bootstrapping• Multiple Testing• Useful Tools

Page 55: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

55/61Creative Commons licensed, from CharlotteKinzie on flickr

Page 56: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

56/61

Page 57: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

57/61

0.991000.05

0.40100.05

0.0510.05

0.631000.01

0.10100.01

0.0110.01

Probability of

False Detection (in at least 1 test)Number of Tests

Probability of

False Detection (per test)

Page 58: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

58/61

• What are Distributions?• Models

– Binomial– Poisson– Uniform– Gaussian (normal)

• Using Distributions to Answer Questions

• Distribution Parameters• Estimating Parameters

• Confidence Intervals and P-values• Why Gaussian?

• Regression

• Logistic Regression• Why Not Gaussian?

• Bootstrapping• Multiple Testing

• Useful Tools

Page 59: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

59/61

• R: http://cran.r-project.org/

• Casella & Berger, Statistical Inference

• Wikipedia: http://en.wikipedia.org/wiki/List_of_probability_distributions

• Salsburg, The Lady Tasting Tea

[email protected]

Page 60: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

60/61

1. Everything is a Distribution

2. Many Kinds of “Random” (many Distributions)

3. Estimated Parameters are RandomThey have Distributions!

4. Statistical Decisions come from Distribution Estimates

5. Be Skeptical of NormalityMean and Variance are not sufficient!

6. Be Skeptical of Multiple Testing

Page 61: A Brief Tour of Statistics - Noisebridge · 1/61 A Brief Tour of Statistics This work by Thomas Lotze is licensed under a Creative Commons Attribution 3.0 United States License. You’re

61/61

• Practical Take-home– Normality test– T-test– Wilcoxon rank-sum test

• Other Distributions– Student’s T– F– Lognormal– Geometric– Levy– Weibull– Benford

• Goodness of fit– Chi-squared test– Q-Q plots

• Distribution Connections• Multivariate Distributions

• Bias/Variance Tradeoff

•Nonparametric Distributions•Model Comparison:

Parameters and Fit (AIC, BIC)

•Bayesian Statistics•Bayes’ Law

•Cognitive Biases•Time series

•Counterintuitive Probability•Monty Haul

•Two Aces

•Poisson Waiting Times•Markov Chain Monte Carlo

•Extreme Value Statistics


Recommended