statistical inference drawing conclusions (“to infer”) about a population based upon data from a...

41
Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Two types of inference: 1. Confidence intervals 2. Significance tests

Upload: melina-hancock

Post on 19-Jan-2016

220 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Statistical Inference

Drawing conclusions (“to infer”) about a population based upon data from a sample.

Two types of inference:

1. Confidence intervals

2. Significance tests

Page 2: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Confidence Intervals

estimate) theoferror ndardvalue)(sta(criticalestimate

Confidence intervals estimate the true value of the parameter where the parameter is thetrue mean , true proportion p, or true slope .

Page 3: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Confidence Intervals

1 2

1-sample t-interval for

2-sample t-interval for

Matched-pairs t-interval

1-proportion z-interval for p

2-proportion z-interval for p1 - p2

t-interval for slope

Page 4: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Confidence Intervals

•State•Plan

•Do•Conclude

= Parameter

= Assumptions (conditions)= Test name or formula

= Calculations= Statement to interpret the interval

Page 5: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Interpret the confidence level:

C% of all intervals produced using this method

will capture the true mean (difference in means), or proportion (difference in proportions), or slope.

(Describe the parameter in context!)

Page 6: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Interpret the confidence interval:

I am C% confident that the true parameter (insert context) is between ___ and ___ (insert units), based on this sample.

Page 7: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

(2000) Question 6

A random sample of 400 married couples was selected from a large population of married couples.• Heights of married men are approximately normally distributed

with a mean 70 inches and standard deviation 3 inches.• Heights of married women are approximately normally distributed

with mean 65 inches and standard deviation 2.5 inches.• There were 20 couples in which the wife was taller than her

husband, and there were 380 couples in which the wife was shorter than her husband.

(a) Find a 95 percent confidence interval for the proportion of married couples in the population for which the wife is taller than her husband. Interpret your interval in the context of this question.

Page 8: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Solution (2000 – Question 6, part a)

Assumption: large sample size since

ˆ ˆ20 10 (1 ) 380 10 np n p

1-proportion z-interval for p

p = true proportion of married couples in which the wife is taller than her husband

Parameter, Conditions, Test Name (or formula):

Random selection, Independent: Assume more than 4000Married couples.

Page 9: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Calculations:

Solution (2000 – Question 6, part a)

Page 10: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Interpret the interval:

I am 95% confident that the true proportion of couples in which the wife is taller than her husband is between .028 and .071, based on this sample.

Solution (2000 – Question 6, part a)

Page 11: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Significance Tests

Significance tests provide evidence for some claim using sample data.

test statistic =estimated value – hypothesized value

standard error of the estimate

Page 12: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Significance Tests

1-sample t-test for 2-sample t-test for Matched pairs t-test 1-proportion z-test for p 2-proportion z-test for p1 – p2

Chi-square goodness-of-fit test Chi-square test for homogeneity or

independence/association t-test for slope

1 2

Page 13: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Significance Tests

= Parameter

= Hypotheses

= Assumptions (conditions)

= Test name or formula

= Alpha

= Calculations

= Decision

= Statement of evidence

•State

•Plan

•Do•Conclude

Page 14: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

What is the P-value?

The P-value is the probability of getting an observation as extreme or even more extreme from value of the parameter by chance alone, assuming that the null hypothesis is true.

If the P-value is small (< alpha = .05), then we reject Ho.

If the P-value is large (> alpha = .05), then we fail to reject Ho .

Page 15: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Know your inference procedures

Helpful web site: http://www.ltcconline.net/greenl/java/Statistics/StatsMatch/StatsMatch.htm

Page 16: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

(2000) Question 4

Page 17: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Solution (2000) Question 4

Page 18: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Solution (2000) Question 4

Page 19: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Solution (2000) Question 4

Page 20: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Solution (2000) Question 4

Page 21: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Solution (2000) Question 4

Page 22: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Solution (2000) Question 4

Page 23: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Scoring (2000) Question 4

Page 24: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Scoring (2000) Question 4

Page 25: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

(2003) Question 5

Page 26: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Solution (2003) Question 5

Page 27: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Solution (2003) Question 5

Page 28: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Solution (2003) Question 5

Page 29: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Solution (2003) Question 5

Page 30: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Scoring (2003) Question 5

Page 31: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Type I, Type II Errors & Power

Type I Error:

Ho is true, but we reject Ho & conclude Ha Type II Error:

Ho is false, but we fail to reject Ho & fail to conclude Ha.

Power:

the probability of correctly rejecting Ho

Page 32: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Type I, Type II Errors & Power

Page 33: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

How to increase power:

Increase alpha (level of significance)

Increase the sample size, n

Decrease variability

Increase the magnitude of the effect (the difference in the hypothesized value of a parameter & its true value

Page 34: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

(2003) Question 2

Page 35: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Solution (2003) Question 2

Page 36: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Solution (2003) Question 2

Page 37: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Solution (2003) Question 2

Page 38: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Scoring (2003) Question 2

Page 39: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Scoring (2003) Question 2

Page 40: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Scoring (2003) Question 2

Page 41: Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population

Scoring (2003) Question 2