Lecture 17
Statistics
DATA 8
Spring 2017
Slides created by John DeNero (denero@berkeley.edu) and Ani Adhikari (adhikari@berkeley.edu)
Announcements
Probability & Simulation (Review)
(Demo)
Statistics
Why sample?
Probability
Statistics
Sampling
Estimation
Statistical Inference:
Making conclusions based on data in random samples
Example:
Use the data to guess the value of an unknown number
Create an estimate of the unknown quantity
fixed
depends on the random sample
Terminology
Parameter
A number associated with the population
Statistic
A number calculated from the sample
A statistic can be used as an estimate of a parameter
(Demo)
Attendance
Estimation
How many enemy planes?
Assumptions
The main assumption
Discussion question
If you saw these serial numbers, what would be your estimate of N?
170 271 285 290 48
235 24 90 291 19
One idea: 291. Just go with the largest one.
The largest number observed
Option 1. We could try to calculate the probabilities and draw a probability histogram.
Option 2. We could simulate and draw an empirical histogram.
(Demo)
Verdict on the estimate
Another idea for an estimate:
Average of the serial numbers observed ~ N/2
New estimate: 2 times the average
(Demo)