1 / 57

# Statistics - PowerPoint PPT Presentation

Statistics. Inferences About Population Variances. Contents. Inference about a Population Variance. Inferences about the Variances of Two Populations. STATISTICS in PRACTICE. The U.S. General Accounting Office (GAO) evaluators studied a Department of Interior program

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.

## PowerPoint Slideshow about 'Statistics' - teva

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

### Statistics

• Inference about a Population Variance

• Inferences about the Variances of Two Populations

STATISTICSin PRACTICE

• The U.S. General Accounting

Office (GAO) evaluators studied

a Department of Interior program

established to help clean up the

nation’s rivers and lakes.

• The audits reviewed sample data on the oxygen content, the pH level, and the amount of suspended solids in the effluent.

STATISTICSin PRACTICE

• The hypothesis test was conducted about the variance in pH level for the population of effluent. The population variance in pH level expected at a properly functioning plant.

• In this chapter you will learn how to conduct statistical inferences about the variances of one and two populations.

• Chi-Square Distribution(2)

• Interval Estimation of 2

• Hypothesis Testing

• The chi-square distribution is the sum of

• squared standardized normal random

• variables such as

• The chi-square distribution is based on

• samplingfrom a normal population.

• Probability density function

• where

• Mean: k

• Variance: 2k

• The sampling distribution of (n - 1)s2/ 2

• has a chi-square distribution whenever a simple

• random sample of sizenis selected from a

• normal population.

• We can use the chi-square distribution to

• developinterval estimates and conduct hypothesis

• tests about a population variance.

Examples of Sampling Distribution of (n - 1)s2/ 2

With 2 degrees

of freedom

With 5 degrees

of freedom

With 10 degrees

of freedom

0

• For example, there is a .95 probability of obtaining a (chi-square) value such that

Chi-Square Distribution

Chi-Square Distribution chi-square distribution that provides an area of

• A Chi-Square Distribution with 19 Degrees of Freedom

Chi-Square Distribution chi-square distribution that provides an area of

• Selected Values form the Chi-Square Distribution Table

Chi-Square Distribution chi-square distribution that provides an area of

Interval Estimation of chi-square distribution that provides an area of 2

.025

.025

95% of the

possible 2 values

2

0

Interval Estimation of chi-square distribution that provides an area of 2

• There is a (1 –a) probability of obtaining a c2value such that

• Substituting (n– 1)s2/s 2 for the c2 we get

• Performing algebraic manipulation we get

Interval Estimation of chi-square distribution that provides an area of 2

• Interval Estimate of a Population Variance

where thevalues are based on a chi-square

distribution withn - 1 degrees of freedom and

where 1 -is the confidence coefficient.

Interval Estimation of chi-square distribution that provides an area of 

• Interval Estimate of a Population Standard Deviation

Taking the square root of the upper and lower

limits of the variance interval provides the

confidenceinterval for the population standard

deviation.

Interval Estimation of chi-square distribution that provides an area of 2

for home temperature control. In a recent test, 10

thermostats manufactured by The rmoRitewere

selected and placed in a test room that

was maintained at a temperature of 68oF.

The temperature readings of the ten thermostats

are shown on the next slide.

Interval Estimation of chi-square distribution that provides an area of 2

We will use the 10 readings below to

develop a 95% confidence interval

estimate of the population variance.

Thermostat1 2 3 4 5 6 7 8 9 10

Temperature 67.4 67.8 68.2 69.3 69.5 67.0 68.1 68.6 67.9 67.2

Our value chi-square distribution that provides an area of

Interval Estimation of 2

For n - 1 = 10 - 1 = 9 d.f. and a = .05

Selected Values from the Chi-Square Distribution Table

Interval Estimation of chi-square distribution that provides an area of 2

For n - 1 = 10 - 1 = 9 d.f. and a =.05

.025

Area in

Upper Tail

= .975

2

0

2.700

Our value chi-square distribution that provides an area of

Interval Estimation of 2

For n - 1 = 10 - 1 = 9 d.f. and a = .05

Selected Values from the Chi-Square Distribution Table

Interval Estimation of chi-square distribution that provides an area of 2

n - 1 = 10 - 1 = 9 degrees of freedom and a = .05

Area in Upper

Tail = .025

.025

2

0

19.023

2.700

Interval Estimation of chi-square distribution that provides an area of 2

• Sample variance s2 provides a point estimate of  2.

• A 95% confidence interval for the population variance is given by:

.33 <2 < 2.33

where chi-square distribution that provides an area of is the hypothesized value

for the population variance

• Left-Tailed Test

• Hypotheses

• Test Statistic

Reject chi-square distribution that provides an area of H0if

whereis based on a chi-square

distribution withn- 1 d.f.

• Left-Tailed Test (continued)

• Rejection Rule

Critical value approach:

p-Value approach:

Reject H0if p-value<a

where chi-square distribution that provides an area of is the hypothesized value

for the population variance

• Right-Tailed Test

• Hypotheses

• Test Statistic

Reject chi-square distribution that provides an area of H0if

whereis based on a chi-square

distribution withn - 1 d.f.

• Right-Tailed Test (continued)

• Rejection Rule

Critical value approach:

RejectH0if p-value<a

p-Value approach:

where chi-square distribution that provides an area of is the hypothesized value

for the population variance

• Two-Tailed Test

• Hypotheses

• Test Statistic

Reject chi-square distribution that provides an area of H0if

whereandare based on a

chi-square distribution withn - 1 d.f.

• Two-Tailed Test (continued)

• Rejection Rule

Critical value approach:

p-Valueapproach:

RejectH0ifp-value<a

Hypothesis Testing chi-square distribution that provides an area of About a Population Variance

Recall that Buyer’s Digest is rating

gives an “acceptable” rating to a thermo-

stat with a temperature variance of 0.5

or less.

We will conduct a hypothesis test (with

a= .10) to determine whether the ThermoRite

thermostat’s temperature variance is “acceptable”.

Hypothesis Testing chi-square distribution that provides an area of About a Population Variance

Using the 10 readings, we will

conduct a hypothesis test (witha= .10)

to determine whether the ThermoRite

thermostat’s temperature variance is

“acceptable”.

Thermostat1 2 3 4 5 6 7 8 9 10

Temperature67.4 67.8 68.2 69.3 69.5 67.0 68.1 68.6 67.9 67.2

Hypothesis Testing chi-square distribution that provides an area of About a Population Variance

• Hypotheses

• Rejection Rule

RejectH0ifc 2>14.684

Our value chi-square distribution that provides an area of

For n - 1 = 10 - 1 = 9 d.f. and a = .10

Selected Values from the Chi-Square

Distribution Table

Hypothesis Testing chi-square distribution that provides an area of About a Population Variance

• Rejection Region

Area in Upper

Tail = .10

2

14.684

0

Reject H0

Hypothesis Testing chi-square distribution that provides an area of About a Population Variance

• Test Statistic

The sample variances2= 0.7

• Conclusion

Becausec2= 12.6 is less than 14.684, we cannotrejectH0. The sample variances2= .7 is insufficientevidence to conclude that the temperature variancefor ThermoRitethermostats is unacceptable.

Using Excel to Conduct a Hypothesis Test chi-square distribution that provides an area of about a Population Variance

• Using the p-Value

• The rejection region for the ThermoRite

• thermostat example is in the upper tail; thus, the

• appropriate p-value is less than .90 (c2 = 4.168)

• and greater than .10 (c2 = 14.684).

• Because the p –value > a = .10, we cannot

• reject the null hypothesis.

• The sample variance of s2 = .7 is insufficient

• evidence to conclude that the temperature

• variance is unacceptable (>.5).

Hypothesis Testing chi-square distribution that provides an area of About a Population Variance

• Summary

Hypothesis Testing About the chi-square distribution that provides an area of Variances of Two Populations

• One-Tailed Test

• Hypotheses

Denote the population providing the

larger sample variance as population 1.

• Test Statistic

Hypothesis Testing About the chi-square distribution that provides an area of Variances of Two Populations

• One-Tailed Test (continued)

• Rejection Rule

Critical value approach:

Reject H0if F>F

where the value ofFis based on an

Fdistribution withn1- 1 (numerator)

andn2 - 1 (denominator) d.f.

p-Valueapproach:

RejectH0 ifp-value<a

Hypothesis Testing About the chi-square distribution that provides an area of Variances of Two Populations

• Two-Tailed Test

• Hypotheses

Denote the population providing the

larger sample variance as population 1.

• Test Statistic

Hypothesis Testing About the chi-square distribution that provides an area of Variances of Two Populations

• Two-Tailed Test (continued)

• Rejection Rule

Critical value approach:

RejectH0if F>F/2

where the value ofF/2 is based on an

Fdistribution withn1- 1 (numerator)

andn2 - 1 (denominator) d.f.

p-Valueapproach:

RejectH0ifp-value<a

F Distribution chi-square distribution that provides an area of

F Distribution chi-square distribution that provides an area of

• Probability density function

• where

F Distribution chi-square distribution that provides an area of

• mean

• for d2 > 2

• Variance

• ford2 > 2

F chi-square distribution that provides an area of Distribution with (20, 20) Degrees of Freedom

F chi-square distribution that provides an area of Distribution

• Selected Values From the F Distribution Table

F chi-square distribution that provides an area of Distribution Table

Hypothesis Testing About the chi-square distribution that provides an area of Variances of Two Populations

same test, as was described earlier, on

another 10 thermostats, this time

manufactured by TempKing. The

thermostats are listed on the next slide.

Hypothesis Testing About the chi-square distribution that provides an area of Variances of Two Populations

We will conduct a hypothesis test with= .10 to see if the variances are equal for ThermoRite’s thermostats and TempKing’s thermostats.

Hypothesis Testing About the chi-square distribution that provides an area of Variances of Two Populations

ThermoRite Sample

Thermostat 1 2 3 4 5 6 7 8 9 10

Temperature 67.4 67.8 68.2 69.3 69.5 67.0 68.1 68.6 67.9 67.2

TempKing Sample

Thermostat 1 2 3 4 5 6 7 8 9 10

Temperature 67.7 66.4 69.2 70.1 69.5 69.7 68.1 66.6 67.3 67.5

Hypothesis Testing About the chi-square distribution that provides an area of Variances of Two Populations

• Hypotheses

(TempKing and ThermoRite

thermostats have thesame

temperature variance)

(Their variances are not equal)

• Rejection Rule

• TheFdistribution table (on next slide) shows that withwith= .10, 9 d.f. (numerator), and 9 d.f. (denominator),F.05= 3.18.

Reject H0 if F> 3.18

Hypothesis Testing About the chi-square distribution that provides an area of Variances of Two Populations

Selected Values from the F Distribution Table

= 1.768/.700 = 2.53 chi-square distribution that provides an area of

Hypothesis Testing About theVariances of Two Populations

• Test Statistic

• TempKing’s sample variance is 1.768

• ThermoRite’s sample variance is .700

Hypothesis Testing About the chi-square distribution that provides an area of Variances of Two Populations

• Conclusion

• We cannot rejectH0. F= 2.53 < F.05= 3.18.

• There is insufficient evidence to conclude that

• the population variances differ for the two

• thermostat brands.

Hypothesis Testing About the chi-square distribution that provides an area of Variances of Two Populations

• Determining and Using the p-Value

Area in Upper Tail .10 .05 .025 .01

FValue (df1 = 9, df2 = 9) 2.44 3.18 4.03 5.35

• BecauseF= 2.53 is between 2.44 and 3.18, the area

• in the upper tail of the distribution is between .10

• and .05.

• But this is a two-tailed test; after doubling the

• upper-tail area, thep-valueis between .20 and .10.

• Becausea= .10, we have p-value > aand therefore

• we cannot reject the null hypothesis.

Hypothesis Testing About the chi-square distribution that provides an area of Variances of Two Populations

• Summary