Top Banner
Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample, statistic, parameter Statistical inference 68% 95% 99 .7%
40

Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Dec 13, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Last lecture summary• Which measures of central tendency do you know?• Which measures of variability do you know?• Empirical rule

• Population, census, sample, statistic, parameter• Statistical inference

68% 95% 99.7%

Page 2: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Statistical jargon

Population - parameterMean Standard deviation

Sample - statisticMean Standard deviation

Výběr - statistikaVýběrový průměr Výběrová směrodatná odchylka

population (census) vs. sampleparameter (population) vs. statistic (sample)

Page 3: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Sampling• Representative sample, random sample• Sampling with/without replacement• Bias

Page 4: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

New stuff

Page 5: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Bessel’s correction

𝑠=√∑ (𝑥𝑖−𝑥 )2

𝑛−1www.udacity.com – Statistics

Page 6: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Sample vs. population SD• We use sample standard deviation to approximate

population paramater

• But don’t get confused with the actual standard deviation of a small dataset.

• For example, let’s have this dataset: 5 2 1 0 7. Do you divide by or by ?

Page 7: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Median absolute deviation (MAD)• standard deviation is not robust• IQR is robust• mean absolute deviation MAD – a robust equivalent of the

standard deviation

• Take your data, find median, calculate absolute deviation from the median, find the median of absolutes deviations

Page 8: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Median absolute deviation (MAD)Data Median deviation Absolute deviation

5

10

30

20

30

5

15

10

15

Median:

MAD:

Page 9: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

NORMAL DISTRIBUTION

Page 10: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Playing chess• Pretend I am a chess player.• Which of the following tells you most about how good I

am:1. My rating is 1800.

2. 8110th place among world competitive chess players.

3. Ranked higher than 88% of competitive chess players.

Page 11: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Distribution

Distribution of scores in one particular year

We should use relative frequencies and convert all absolute frequencies to proportions.

Page 12: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Height data – absolute frequencies

http://wiki.stat.ucla.edu/socr/index.php/SOCR_Data_Dinov_020108_HeightsWeights

Page 13: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Height data – relative frequencies

Page 14: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,
Page 15: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Height data – relative frequencies

30%

What proportion of values is between 170 cm and 173.75 cm?

173.5

Page 16: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Height data – relative frequencies

What proportion of values is between 170 cm and 175 cm?

We can’t tell for certain.

Page 17: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

• How should we modify data/histogram to allow us a more detail?1. Adding more value to the dataset

2. Increasing the bin size

3. A smaller bin size

Page 18: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Height data – relative frequencies

What proportion of values is between 170 cm and 175 cm?

36%

Page 19: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Height data – relative frequencies

Page 20: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Height data – relative frequencies

Page 21: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Normal distribution

1

√2𝜎𝜋𝑒𝑥𝑝 {− (𝑥−𝜇)2

2𝜎2 }

recall the empirical rule

68-95-99.7

N(,)

Page 22: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

STANDARD NORMAL DISTRIBUTION

Page 23: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Who is more popular?

Page 24: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Who is more popular

s.d. = 36

s.d. = 60

Z = -3.53

Z = -2.57

Page 25: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Standardizing

Page 26: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Formula

Page 27: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Quiz• What does a negative Z-score mean?

1. The original value is negative.

2. The original value is less than mean.

3. The original value is less than 0.

4. The original value minus the mean is negative.

Page 28: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Quiz II• If we standardize a distribution by converting every value

to a Z-score, what will be the new mean of this standardized distribution?

• If we standardize a distribution by converting every value to a Z-score, what will be the new standard deviation of this standardized distribution?

Page 29: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Standard normal distribution

N(,)

Page 30: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Z

Z – number of standard deviations away from the mean

If the Z-value is +1, how many percent are less than that value?

cca 84 %

0 +1 +2 +3-1-2-3

Page 31: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Proportion of human heights

Page 32: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

+1-1-2 +20

Page 33: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Quiz• Approximately what proportion of people is smaller than

168 cm?

173 178 183168163

16%

Page 34: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Quiz• Approximately what proportion of people is higher than

183 cm?

173 178 183168163

2.5%

Page 35: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Quiz• Approximately what proportion of people is between 163

cm and 178 cm high?

173 178 183168163

81.5%

Page 36: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Quiz• Approximately what proportion of people is smaller than

180 cm?

173 178 183168163

ca 91.5%

Page 37: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Quiz• What is the probability of randomly selecting a height in

the sample that is >5 standard deviations above the mean?1. 0.01

2. 0.3

3. 0.8

4. 0.99

Page 38: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Quiz• What is the probability of randomly selecting a height in

the sample that is <5 standard deviations below the mean?1. 0.01

2. 0.3

3. 0.8

4. 0.99

Page 39: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Quiz• What proportion of the data is either below 2 standard

deviations or above 2 standard deviations from the mean for a normal distribution?

95%

2.5% 2.5%

Page 40: Last lecture summary Which measures of central tendency do you know? Which measures of variability do you know? Empirical rule Population, census, sample,

Z-tableWhat is the proportion less than the point with the Z-score -2,75?