Docsity

Hypothesis Testing Overview - Lecture Slides | MATH 0013, Study notes of Statistics

Toggle sidebar
bg1
1
Sierra College – Math 13
Spring 2009 – Class 20/32
Today: Sections 8-1/8-2
Assignment: 8-2 {1, 3, 5, 9, 11, 13, 15, 17, 19, 23, 25, 27,
29, 30, 31, 37, 39}
Next: Sections 8-3
Instructor: John Burke
Web Page: http://math.sierracollege.edu/Staff/JohnBur ke/
Telephone: 916 337-0425
Office hours: (V-307) MW 2:35-5:00; M 2:45-3:45 (official)
2
Rare Event Rule: If, under a given assumption, the
probability of a particular observed event is very small, we
conclude that the assumption is probably false.
Suppose we test a claim by analyzing sample data in an
attempt to distinguish between results that can occur easily
by chance and results that are highly unlikely to occur by
chance.
If we observe a highly unlikely event, we inv oke the rare
event rule and say that the underlying assumption is
probably false.
Chapter 8: Hypothesis Testing
Overview
3
Gender Choice (ProCare Industries)
Blue Æboys
Pink Ægirls
Experiment: 100 couples wanting a girl use Gen der
Choice (Pink)
Suppose (a) 52 girls
(b) 97 girls
Without being too formal, what can we conclud e?
Chapter 8: Hypothesis Testing
Overview – Example
pf3
pf4
pf5
pf8

Partial preview of the text

Download Hypothesis Testing Overview - Lecture Slides | MATH 0013 and more Study notes Statistics in PDF only on Docsity!

1

Sierra College – Math 13

Spring 2009 – Class 20/

Today: Sections 8-1/8-

Assignment: 8-2 {1, 3, 5, 9, 11, 13, 15, 17, 19, 23, 25, 27, 29, 30, 31, 37, 39}

Next: Sections 8-

Instructor: John Burke

E-mail: [email protected] Web Page: http://math.sierracollege.edu/Staff/JohnBurke/

Telephone: 916 337-

Office hours: (V-307) MW 2:35-5:00; M 2:45-3:45 (official)

2

Rare Event Rule : If, under a given assumption, the probability of a particular observed event is very small, we conclude that the assumption is probably false.

Suppose we test a claim by analyzing sample data in an attempt to distinguish between results that can occur easily by chance and results that are highly unlikely to occur by chance.

If we observe a highly unlikely event, we invoke the rare event rule and say that the underlying assumption is probably false.

Chapter 8: Hypothesis Testing

Overview

Gender Choice (ProCare Industries)

Blue Æ boys Pink Æ girls

Experiment: 100 couples wanting a girl use Gender Choice (Pink)

Suppose (a) 52 girls (b) 97 girls

Without being too formal, what can we conclude?

Chapter 8: Hypothesis Testing

Overview – Example

4

Claim: For couples using Gender Choice (Pink), the proportion of girls is p > 0.

Working assumption: The proportion of girls is p = 0. under normal circumstances

(a) The sample resulted in 52 girls among 100 births, so the

sample proportion is ˆ p = 52/100 = 0.52.

Chapter 8: Hypothesis Testing

Overview – Example

5

In a nationwide survey of 703 randomly selected subjects who all were working, 61% said that they found their job through networking. Based on these results can a newspaper publish an article with the headline “Most Workers Find Jobs Through Networking.”

Chapter Problems:

In a nationwide survey of 880 randomly selected drivers, 56% admitted that they run red lights. Is there sufficient evidence to support the claim that a majority of all Americans run red lights?

Chapter 8: Hypothesis Testing

Overview

Chapter 8: Hypothesis Testing

Overview

The two major activities of inferential statistics are the estimation of population parameters (Chapter 7) and hypothesis testing (introduced here).

Definition: In statistics, a hypothesis is a claim or statement about a property of a population. A hypothesis test (or test of significance) is a standard procedure for testing a claim about a property of a population.

10

8-2 Basics of Hypothesis testing

The formal components used in hypothesis testing:

Null hypothesis Alternative hypothesis Test statistics Critical region Significance level Critical value P-value Decision Criteria/Methods Type I & Type II errors

11

Null and Alternative Hypotheses

The null hypothesis (denoted by H 0 ) is a statement that the value of a population parameter is equal (=) to some claimed value. The null hypothesis becomes our test assumption.

The alternative (or alternate ) hypothesis (denoted by H 1 ) is the statement that the parameter has a value that somehow differs from the null hypothesis (uses <, >, or ≠). It must be true if the null hypothesis is false.

Identifying H 0 and H 1

Identify the specific claim or hypothesis to be tested and express it in symbolic form.

Give the symbolic form that must be true when the original claim is false.

Let H 1 be the symbolic expression not containing equality (i.e., uses <, >, or ≠).

Let H 0 , the null hypothesis, be the symbolic expression that the parameter equals (=) the fixed value being considered.

Start

13

Test Statistic

The test statistic is a value computed from the sample data. It is used in making a decision about rejecting the null hypothesis. The test statistic is found by converting the sample statistic (such as sample proportion or sample mean) to a score of relative standing (such as z or t).

Test statistic for proportion:

Test statistic for mean:

ˆ p p z pq n

x

z

n

σ s

x

t

n

14

Critical Region, Significance

Level, Critical Value

The critical region is the set of all values of the test statistic that cause us to reject the null hypothesis.

The significance level (α) is the probability that the test statistic will fall in the critical region when the null hypothesis is actually true.

A critical value is any value that separates the critical region from the values of the test statistic that do not lead to rejection of the null hypothesis.

Significance Level

Denoted by α The probability that the test statistic will fall in the critical region when the null hypothesis is actually true. Common choices are 0.05* , 0.01 , and 0.

  • By far the most common, in fact, use as the default if the significance level is not given.

19

P-value = twice the area to the right of the test statistic

Finding P-Values*

Is the test statistic to the right or left of center ? P-value = area to the left of the test statistic

P-value = twice the area to the left of the test statistic

P-value = area to the right of the test statistic

Left-tailed (^) Right-tailed

Left Right

Two-tailed

What type of test ?

μ μ (^) μ (^) μ

P-value P-value is twicethis area P-value is twice this area

P-value

Test statistic Test statistic Test statistic Test statistic

Start (^) * In the book (pg 398) and in the Formulas and Tables card

20

Decision Criteria/Methods

Traditional Method:

Reject H 0 if the test statistic falls within the critical region Fail to reject H 0 if the test statistic does not fall in CR

P-value Method:

Reject H 0 if the P-value ≤ α Fail to reject H 0 if the P-value > α

Confidence Intervals: Reject a claim that the population

parameter has a value if the value is not included in the confidence interval. [We’ll ignore this method]

**1. Identify the specific claim or hypothesis to be tested, and put it in symbolic form.

  1. Give the symbolic form that must be true when the original claim is false.
  2. Of the two symbolic expressions obtained so far, let null hypothesis** H 0 be the one that contains the condition of equality. H 1 **is the other statement.
  3. Select the significant level** α based on the seriousness of a type I error. Make α small if the consequences of rejecting a true H 0 are severe. The values of 0.05 and 0.01 are **very common.
  4. Identify the statistic that is relevant to this test and its sampling distribution.
  5. Determine the test statistic, the critical values, and the critical region. Draw a graph** **and include the test statistic, critical value(s), and critical region.
  6. Reject** H 0 if the test statistic is in the critical region. Fail to reject H 0 if the test statistic **is not in the critical region.
  7. Restate this previous decision in simple non-technical terms and address the original** claim.

Traditional (or Classical) Method of

Testing Hypotheses

22

**1. Identify the specific claim or hypothesis to be tested, and put it in symbolic form.

  1. Give the symbolic form that must be true when the original claim is false.
  2. Of the two symbolic expressions obtained so far, let null hypothesis** H 0 be the one that contains the condition of equality. H 1 **is the other statement.
  3. Select the significant level** α based on the seriousness of a type I error. Make α small if the consequences of rejecting a true H 0 are severe. The values of 0.05 and 0.01 are **very common.
  4. Identify the statistic that is relevant to this test and its sampling distribution.
  5. Determine the test statistic, and the p-value. Draw a graph and include the test** **statistic and p-value.
  6. Reject** H 0 if the p-value is less than or equal to the significance level α. Fail to reject H 0 **if the p-value is greater than α.
  7. Restate this previous decision in simple non-technical terms and address the original** claim.

P-Value Method of Testing Hypotheses

23

Conclusions in Hypothesis Testing

Always test the null hypothesis; either

  1. Reject H 0
  2. Fail to reject H 0

Formulate the correct wording of final conclusion

24

Wording of the Final Conclusion*

Does the original claim contain the condition of equality

Do you reject H 0 ?.

Yes (Original claim contains equality and becomes H 0 ) No (Original claim does not contain equality and becomes H 1 )

Yes (Reject H 0 )

“There is sufficient evidence to warrant rejection of the claim that... (original claim).” “There is not sufficient evidence to warrant rejection of the claim that... (original claim).”

“The sample data supports the claim that

... (original claim).”

“There is not sufficient evidence to support the claim that... (original claim).”

you rejectDo H 0?

Yes (Reject H 0 ) No (Fail to reject H 0 )

No (Fail to reject H 0 )

(This is the only case in which the original claim is rejected).

(This is the only case in which the original claim is supported).

Start

  • In the book (pg 397) and in the Formulas and Tables card