




























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























Sta 101 - Spring 2016
Duke University, Department of Statistical Science
Dr. Çetinkaya-Rundel Slides posted at http://bit.ly/sta101_s
Outline
Outline
Announcements
▶ PS 1 is assigned on the course website, start working on it
2
Outline
From a past Sta 101 survey...
Do you see anything out of the ordinary?
0
5
10
15
20
0 5 10 15 20 age at first kiss
How old were you when you had your first kiss?
3
From a past Sta 101 survey...
How are people reporting lower vs. higher values of FB visits?
ll
ll
ll
ll
ll
ll
ll
ll
ll
ll
ll
ll
l
ll
ll
ll
ll
ll
ll
ll
l
ll
ll
ll
ll
ll
ll
ll
ll
ll
ll
ll ll
ll
ll ll
ll
l ll^ l 0 50 100 150 200 FB visits / day
How many times do you go on Facebook per day?
4
From a past Sta 101 survey...
How are people reporting lower vs. higher values of FB visits?
ll
ll
ll
ll
ll
ll
ll
ll
ll
ll
ll
ll
l
ll
ll
ll
ll
ll
ll
ll
l
ll
ll
ll
ll
ll
ll
ll
ll
ll
ll
ll ll
ll
ll ll
ll
l ll^ l 0 50 100 150 200 FB visits / day
How many times do you go on Facebook per day?
Finer scale for lower numbers. 4
What is missing in this visualization?
http://spark.rstudio.com/jkatz/SurveyMaps
6
Outline
Clicker question Which of these is most likely to have a roughly symmetric distribution?
(a) salaries of a random sample of people from North Carolina
(b) weights of adult females
(c) scores on an well-designed exam
(d) last digits of phone numbers
8
Clicker question Which of these is most likely to have a roughly symmetric distribution?
(a) salaries of a random sample of people from North Carolina
(b) weights of adult females
(c) scores on an well-designed exam
(d) last digits of phone numbers
8
Mean vs. median
Clicker question How do the mean and median of the following two datasets compare?
Dataset 1: 30, 50, 70, 90 Dataset 2: 30, 50, 70, 1000
(a) ¯ x 1 = ¯ x 2 , median 1 = median 2
(b) ¯ x 1 < ¯ x 2 , median 1 = median 2
(c) ¯ x 1 < ¯ x 2 , median 1 < median 2
(d) ¯ x 1 > ¯ x 2 , median 1 < median 2
(e) ¯ x 1 > ¯ x 2 , median 1 = median 2
9
Standard deviation and variance
▶ Most commonly used measure of variability is the standard deviation , which roughly measures the average deviation from the mean
▶ Calculating the standard deviation, for a population (rarely, if ever) and for a sample:
σ =
i =1( xi^ −^ μ) 2 n
s =
n i =1( xi^ −^ ¯ x ) 2 n − 1
▶ Square of the standard deviation is called the variance.
10