statistics presentation (sample)

24
Statistical Inference

Upload: vincentius-soesanto

Post on 27-Jan-2017

70 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Statistics Presentation (sample)

Statistical Inference

Page 2: Statistics Presentation (sample)

Concepts (Frequentist / Classical)

Population: Sample:

Constant parameters (unknown)

Random variables (known but depends on sample being drawn)

… used to infer …

Page 3: Statistics Presentation (sample)

Concepts

Population: Sample:

Want to test if is equal to ( is constant)

H 0 : μ=μ0 H 1 : μ≠μ0

Page 4: Statistics Presentation (sample)

ConceptsH 0 : μ=μ0

Rejected if is “very far” from μ0

μ0

More likely to reject H0More likely to reject H0

… as got closer to the corner

As got closer to the corner

… as the area to the corner decreases

… as the area to the corner decreases

X −μ0σ / √n

−X −μ0σ /√n

How “far” is “very far”?

P–value

Page 5: Statistics Presentation (sample)

If α is very large

… depends on the threshold, α

μ0 X −μ0σ / √n

−X −μ0σ /√n

Even something this close to μ0 is considered “far enough” to reject H0

Blue = αRed = P–value

Page 6: Statistics Presentation (sample)

If α is very small

… depends on the threshold, α

μ0 X −μ0σ / √n

−X −μ0σ /√n

Must be this far from μ0 to be considered “far enough” to reject H0

Blue = αRed = P–value

Page 7: Statistics Presentation (sample)

P–value

Concepts

α Set by the experimenter

Determined by the data / sample

Page 8: Statistics Presentation (sample)

Reject H0 only if

X −μ0σ / √n

−X −μ0σ /√n

μ0

You only have to go this far to reject H0

… but your data is even further away than that (i.e. more extreme) So, reject H0

Blue = αRed = P–value

Page 9: Statistics Presentation (sample)

H0 is considered plausible / is not rejected if

X −μ0σ / √n−

X −μ0σ /√n

μ0

You have to go this far to reject H0

… but your data is not as far as that (i.e. less extreme)

So, fail to reject H0

Blue = αRed = P–value

Page 10: Statistics Presentation (sample)

Want to test if is > ( is constant)

H 0 : μ≤ μ0 H 1 : μ>μ0

Concepts

Rejected if is “much larger” than μ0 μ0

Blue = αRed = P–value

Page 11: Statistics Presentation (sample)

Want to test if is < ( is constant)

H 0 : μ≥ μ0 H 1 : μ<μ0

Concepts

Rejected if is “much smaller” than μ0 μ0

Blue = αRed = P–value

Page 12: Statistics Presentation (sample)

Type I Error, Type II Error and power

μ0H 0 : μ≤ μ0 (specifically, ) μ1

max P (Type I error )=max P (reject∨H 0 istrue )=αmin P (Type II error )=min P ( fail¿ reject∨H 0is false )=minP ( fail¿reject∨H 1 istrue )=βmax power=max P (reject∨H 0 is false )=max P (reject∨H 1is true )=1− β

Page 13: Statistics Presentation (sample)

Statistical Testing in a NutshellThis is what is plotted on the distribution curve

Page 14: Statistics Presentation (sample)

Statistical Testing in a Nutshell

Page 15: Statistics Presentation (sample)

Testing population standard deviation

Want to test if is less than ( is constant)

H 0 : σ=σ0 H 1 :σ<σ 0

Rejected if is “much smaller” than σ0… or if

Page 16: Statistics Presentation (sample)

… or if

From the data / experiment

From table

Suppose and

Then

Page 17: Statistics Presentation (sample)

Want to test if is greater than ( is constant)

H 0 : σ=σ0 H 1 :σ>σ 0

Rejected if is “much larger” than σ0… or if

Suppose and

Then

Page 18: Statistics Presentation (sample)

1–way ANOVA

Page 19: Statistics Presentation (sample)

What is likely to come up in a closed–laptop exam?

Completing an ANOVA tableInterpreting an ANOVA table

Page 20: Statistics Presentation (sample)

1–way ANOVA

levels or treatments

replicates at EACH level / treatment

Goal:

Page 21: Statistics Presentation (sample)

1–way ANOVAAlways relative to MSE

Always SS divided by Degrees of Freedom (DOF)

Explained variation

Total variation

Page 22: Statistics Presentation (sample)

2–way ANOVA

levels or treatments for row factor (a)

replicates at EACH treatment combination (n) levels or treatments for column factor (b)

Page 23: Statistics Presentation (sample)

2–way ANOVA

Always relative to MSEExplained variation

Total variation

Page 24: Statistics Presentation (sample)

Reference

Navidi, William Cyrus. Statistics for engineers and scientists. Vol. 1. New York: McGraw-Hill, 2006