7
1 Two Sample Tests of Hypothesis and Analysis of Variance in Excel Dr. Rick Jerz 1 1 Four Scenarios Two independent samples 1. Population standard deviations are known and equal 2. Population standard deviations are not known, but equal 3. Population standard deviations are not known, and not equal Two dependent samples 4. There is no difference 2 2 Format of Hypotheses The hypotheses for comparing two independent population means, μ1 and μ2, are: The hypothesis for comparing two dependent population means, μ1 and μ2, is: 3 3

Ch11 and Ch12 -Excel Two-Sample Tests of Hypothesis and

  • Upload
    others

  • View
    9

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Ch11 and Ch12 -Excel Two-Sample Tests of Hypothesis and

1

Two Sample Tests of Hypothesis and

Analysis of Variance in Excel

Dr. Rick Jerz

1

1

Four Scenarios

• Two independent samples1. Population standard deviations are known and

equal2. Population standard deviations are not known,

but equal3. Population standard deviations are not known,

and not equal• Two dependent samples

4. There is no difference

2

2

Format of Hypotheses

• The hypotheses for comparing two independent population means, μ1 and μ2, are:

• The hypothesis for comparing two dependent population means, μ1 and μ2, is:

3

3

Page 2: Ch11 and Ch12 -Excel Two-Sample Tests of Hypothesis and

2

Possible Independent Samples Scenarios

1. Population σ 2’s are known2. Population σ 2’s are unknown

1. Are σ 2’s equal?2. Are σ 2’s unequal?

4

4

Comparing Two Variances –F Statistic

• Format of hypotheses• To test whether two population means are

equal, we may also need to test whether two population variances are equal.

• The hypotheses may be stated as

5

5

“Special” Test Statistics

6

6

Page 3: Ch11 and Ch12 -Excel Two-Sample Tests of Hypothesis and

3

Alternative Excel Method – Data Analysis Add-in

• Excel: Data|Data Analysis

7

7

Excel Model Overview

8

8

Population Variances Known

9

9

Page 4: Ch11 and Ch12 -Excel Two-Sample Tests of Hypothesis and

4

Population Variances Known

10

10

Population Variances Unknown

11

11

Population Variances Unknown

12

12

Page 5: Ch11 and Ch12 -Excel Two-Sample Tests of Hypothesis and

5

Population Variances Unknown

13

13

Population VarianceUnknown and Unequal

14

14

Solution: Population VariancesUnknown and Unequal

15

15

Page 6: Ch11 and Ch12 -Excel Two-Sample Tests of Hypothesis and

6

Population VariancesUnknown and Unequal

16

16

Solution: Population VariancesUnknown and Unequal

17

17

Residential Home Appraisal Paired-Samples Example

• Nickel Savings and Loan wishes to compare the two companies it uses to appraise the value of residential homes. Nickel Savings selected a sample of 10 residential properties and scheduled both firms for an appraisal. The results, reported in $000, are:

18

18

Page 7: Ch11 and Ch12 -Excel Two-Sample Tests of Hypothesis and

7

Residential Home Appraisal Example

• At the .05 significance level, can we conclude there is a difference between the firms’ mean appraised home values?

• Solving this by hand?

19

19

Residential Home Appraisal Example

20

20

Residential Home Appraisal Example

21

21