Chapter 3 Tests of Hypotheses for Two Samples - PowerPoint PPT Presentation

1 / 82
About This Presentation
Title:

Chapter 3 Tests of Hypotheses for Two Samples

Description:

... a test procedure for these hypotheses requires a new probability distribution, ... Menu Stat Basic Statistics 2 proportions Select 'Summarized Data' ... – PowerPoint PPT presentation

Number of Views:58
Avg rating:3.0/5.0
Slides: 83
Provided by: connie122
Category:

less

Transcript and Presenter's Notes

Title: Chapter 3 Tests of Hypotheses for Two Samples


1
Chapter 3 Tests of Hypotheses for Two Samples
2
Agenda
  • Inference for a difference in means (variance
    known)
  • Inference for the difference in means ( variance
    unknown)
  • Paired t-test
  • Inference on the variances
  • Inference on the proportions

3
Inference for a Difference in Means of Two
Normal Distributions, Variances Known
Two independent populations.
4
Inference for a Difference in Means of Two
Normal Distributions, Variances Known
Assumptions
5
Inference for a Difference in Means of Two
Normal Distributions, Variances Known
6
Inference for a Difference in Means of Two
Normal Distributions, Variances Known
1. Hypothesis Tests
7
Example 1
8
Example 1
9
Example 1
10
Inference for a Difference in Means of Two
Normal Distributions, Variances Known
2. Choice of Sample Size
Use of Operating Characteristic Curves
Two-sided alternative
One-sided alternative
11
Inference for a Difference in Means of Two
Normal Distributions, Variances Known
2. Choice of Sample Size
Sample Size Formulas
Two-sided alternative
12
Inference for a Difference in Means of Two
Normal Distributions, Variances Known
2. Choice of Sample Size
Sample Size Formulas
One-sided alternative
13
Example 2
1
14
Inference for a Difference in Means of Two
Normal Distributions, Variances Known
3. Identifying Cause and Effect
  • When statistical significance is observed in a
    randomized experiment, the experimenter can be
    confident in the conclusion that it was the
    difference in treatments that resulted in the
    difference in response.
  • That is, we can be confident that a
    cause-and-effect relationship has been found.

15
Inference for a Difference in Means of Two
Normal Distributions, Variances Known
4. Confidence Interval
Definition
16
Example 3
17
Example 3
18
Inference for a Difference in Means of Two
Normal Distributions, Variances Known
Choice of Sample Size
Where E limit error in estimating µ1 µ2 by
the different of sample means at 100(1- ?)
confidence
19
Inference for a Difference in Means of Two
Normal Distributions, Variances Known
One-Sided Confidence Bounds
Upper Confidence Bound
Lower Confidence Bound
20
Inference for a Difference in Means of Two
Normal Distributions, Variances Unknown
1. Hypotheses Tests
Case 1
We wish to test
21
Inference for a Difference in Means of Two
Normal Distributions, Variances Unknown
1. Hypotheses Tests
Case 1
The pooled estimator of ?2
22
Inference for a Difference in Means of Two
Normal Distributions, Variances Unknown
1. Hypotheses Tests
Case 1
23
Inference for a Difference in Means of Two
Normal Distributions, Variances Unknown
Definition The Two-Sample or Pooled t-Test
24
Example 4
25
Example 4
4
26
Example 4
27
Example 4
28
Normal probability plot and comparative box plot
for the catalyst yield data in Example 4. (a)
Normal probability plot, (b) Box plots.

29
Minitab Practice for Example 4
  • Data file example3_4.xls
  • Menu ? Stat ? Basic statistics ? 2 sample t ?
    select Samples in different columns ?check
    Assume equal variances ?options
  • Confident level 95
  • Test mean 0.0
  • Alternative not equal

30
Inference for a Difference in Means of Two
Normal Distributions, Variances Unknown
1. Hypotheses Tests for a Difference in Means,
Variances Unknown
Case 2
is distributed approximately as t with degrees of
freedom given by
31
Inference for a Difference in Means of Two
Normal Distributions, Variances Unknown
1. Hypotheses Tests for a Difference in Means,
Variances Unknown
Case 2
32
Example 5
33
Example 5
Normal probability plot of the arsenic
concentration data from Example 5.
34
Example 5
35
Example 5
36
Minitab Practice for Example 5
  • Data file Example 3_5.xls
  • Menu ? Stat ? Basic statistics ? 2 sample t ?
    select Samples in different columns ?do not
    check Assume equal variances ?options
  • Confident level 95
  • Test mean 0.0
  • Alternative not equal

37
Inference for a Difference in Means of Two
Normal Distributions, Variances Unknown
3. Choice of Sample Size
Two-sided alternative
38
Example 6
39
Minitab Practice for Example 6
  • Output sample size n ?
  • Menu ? Stat ? Power and Sample Size ? 2 sample t
    ?
  • Different 4
  • Power value 0.85
  • Sigma 2.7
  • Options ? Alternative not equal
  • Significant level 0.05

40
4. Confidence Interval on the Difference in Means
Case 1
41
Example 7
42
Example 7
43
Example 7
44
Example 7
45
4. Confidence Interval on the Difference in Means
Case 2
Definition
46
Paired t-Test
  • A special case of the two-sample t-tests of
    Section 10-3 occurs when the observations on the
    two populations of interest are collected in
    pairs.
  • Each pair of observations, say (X1j , X2j ), is
    taken under homogeneous conditions, but these
    conditions may change from one pair to another.
  • The test procedure consists of analyzing the
    differences between hardness readings on each
    specimen.

47
Paired t-Test
The Paired t-Test
48
Example 8
49
Example 8
50
Example 8
51
Paired t-Test
Paired Versus Unpaired Comparisons
52
Paired t-Test
A Confidence Interval for ?D
Definition
53
Example 9
54
Example 9
55
Inferences on the Variances of Two Normal
Populations
1. The F Distribution
We wish to test the hypotheses
  • The development of a test procedure for these
    hypotheses requires a new probability
    distribution, the F distribution.

56
Inferences on the Variances of Two Normal
Populations
1. The F Distribution
57
Inferences on the Variances of Two Normal
Populations
1. The F Distribution
58
Inferences on the Variances of Two Normal
Populations
1. The F Distribution
The lower-tail percentage points f?-1,u,? can be
found as follows.
59
Inferences on the Variances of Two Normal
Populations
2. Hypothesis Tests on the Ratio of Two Variances
60
Inferences on the Variances of Two Normal
Populations
3. Hypothesis Tests on the Ratio of Two Variances
61
Example 10
62
Example 10
63
Example 10
64
Inferences on the Variances of Two Normal
Populations
4. ?-Error and Choice of Sample Size
65
Example 11
66
Inferences on the Variances of Two Normal
Populations
5. Confidence Interval on the Ratio of Two
Variances
67
Example 12
68
Example 12
69
Example 12
70
Inference on Two Population Proportions
1. Large-Sample Test for H0 p1 p2
We wish to test the hypotheses
71
Inference on Two Population Proportions
1. Large-Sample Test for H0 p1 p2
The following test statistic is distributed
approximately as standard normal and is the basis
of the test
72
Inference on Two Population Proportions
1. Large-Sample Test for H0 p1 p2
73
Example 13
74
Example 13
75
Example 13
76
Minitab Practice for Example 13
  • Menu ? Stat ? Basic Statistics ? 2 proportions ?
    Select Summarized Data
  • First sample trials 100 successes 27
  • Second sample trials 100 successes 19
  • Sigma 2.7
  • Options ? Alternative not equal
  • Confidence level 95
  • Test difference 0.0

77
Inference on Two Population Proportions
2. ?-Error and Choice of Sample Size
78
Inference on Two Population Proportions
2. ?-Error and Choice of Sample Size
79
Inference on Two Population Proportions
2. ?-Error and Choice of Sample Size
80
Inference on Two Population Proportions
3. Confidence Interval for p1 p2
81
Example 14
82
Example 14
Write a Comment
User Comments (0)
About PowerShow.com