Collecting and summarizing data
From Data to Insight
- Dr. Çetinkaya-Rundel
July 8, 2016
Collecting and summarizing data From Data to Insight Dr. - - PowerPoint PPT Presentation
July 8, 2016
2
–Andrejs Dunkels
“It is easy to lie with statistics. It is hard to tell the truth without it.”
3
–H. G. Wells
“Statistical thinking will one day be as necessary for efficient
citizenship as the ability to read and write.”
4
5
6
5 10 15 20 5 10 15 20
age at first kiss
How old were you when you had your first kiss?
7
100 150 200
FB visits / day
How many times do you go on Facebook per day?
8
(a) salaries of a random sample of people from NC (b) weights of adult females (c) scores on an well-designed exam (d) last digits of phone numbers
9
(a) mean1 = mean2, median1 = median2 (b) mean1 < mean2, median1 = median2 (c) mean1 < mean2, median1 < median2 (d) mean1 > mean2, median1 < median2 (e) mean1 > mean2, median1 = median2
10
11
(a) (b)
12
13
14
15
found, this might also suggest a causation between the variables studied.
treatments
found, this does not also suggest a causation between the variables studied.
directly interfere with how the data arise (“observe”)
16
17
18
19
Study: Breakfast cereal keeps girls slim […] Girls who ate breakfast of any type had a lower average body mass index, a common obesity gauge, than those who said they didn't. The index was even lower for girls who said they ate cereal for breakfast, according to findings of the study conducted by the Maryland Medical Research Institute with funding from the National Institutes of Health (NIH) and cereal-maker General Mills. […] The results were gleaned from a larger NIH survey of 2,379 girls in California, Ohio, and Maryland who were tracked between the ages of 9 and 19. […] As part of the survey, the girls were asked once a year what they had eaten during the previous three days. […] Sept 8, 2005
20
21
healthy adults found that people are more likely to get muscle cramps when they’re stressed. The study also noted that people drink more coffee and sleep less when they’re stressed. What type of study is this?
relationship between increased stress and muscle cramps?
22
if increased stress causes muscle cramps:
different on younger and older people:
23
24
Source: http://www.tylervigen.com/spurious-correlations
25
Source: http://www.tylervigen.com/spurious-correlations
26
Source: http://www.tylervigen.com/spurious-correlations
27
Source: http://xkcd.com/552/
28
include everyone and “sample” the entire population, i.e. conduct a census?
locate or measure, and these people may be different from the rest of the population.
29
Source: http://www.npr.org/templates/story/story.php?storyId=125380052
spoonful you tasted isn’t salty enough, that’s exploratory analysis.
soup needs salt, that’s an inference.
tasted (the sample) needs to be representative of the entire pot (the population).
30
31
Landon vs. FDR 1936 (R) (D)