Docsity

Understanding Hypothesis Testing: Null & Alternative Hypotheses, Test Statistic, and Error, Slides of Statistics

Partial preview of the text

Download Understanding Hypothesis Testing: Null & Alternative Hypotheses, Test Statistic, and Error and more Slides Statistics in PDF only on Docsity!

Business Statistics

Introduction to Hypothesis Testing

Business Statistics

Topic Index Probability Distribution Sampling Distribution Point & Interval Estimates Hypothesis Testing – Single Mean & Single Proportion Hypothesis Testing – Difference of two means, two proportions Hypothesis Testing – One way ANOVA Hypothesis Testing – Non parametric Tests Bivariate Correlation, Linear Regression Index Numbers & Time Series

The Null Hypothesis, H 0

• States the assumption (numerical) to be tested

Example: The average number of TV sets in U.S. Homes

is at least three ( )

• Is always about a population parameter, not

about a sample statistic

4

H 0 :μ ≥ 3

H 0 :μ ≥ 3 H 0 : x ≥^3

The Null Hypothesis, H 0

• Begin with the assumption that the null

hypothesis is true

– Similar to the notion of innocence until

guilt is proven

• Refers to the status quo

• Always contains “=” , “≤” or “≥” sign

• May or may not be rejected

7

Population

Claim: the population mean age is 50. (Null Hypothesis:

REJECT

Suppose the sample mean age is 20: x = 20

Sample Null Hypothesis

Is = 20 likely if^ μ^ = 50?

Hypothesis Testing Process

If not likely,

Now select a random sample

H 0 : μ = 50 )

x

Reason for Rejecting H 0

8

Sampling Distribution of x

μ = 50 If H 0 is true If it is unlikely that we would get a sample mean of this value ...

... then we reject the null hypothesis that

20

... if in fact this were the population mean…

x

Level of Significance and the Rejection Region

10

H 0 : μ ≥ 3

HA: μ < 3 0

H 0 : μ ≤ 3 HA: μ > 3

H 0 : μ = 3 HA: μ ≠ 3

α

α

Represents critical value

Lower tail test

Level of significance =^ α

0

0

α/2 α

Upper tail test

Two tailed test

Rejection region is shaded

Errors in Making Decisions

  • Type I Error
    • Reject a true null hypothesis
    • Considered a serious type of error

The probability of Type I Error is α

  • Called level of significance of the test
  • Set by researcher in advance

Outcomes and Probabilities

13

State of Nature Decision Do Not Reject H 0

No error

Type II Error ( β )

Reject H 0

Type I Error

Possible Hypothesis Test Outcomes

H 0 True H 0 False

Key: Outcome (Probability) (^) No Error

( 1 - β )

Type I & II Error Relationship

14

 Type I and Type II errors can not happen at

the same time

 Type I error can only occur if H 0 is true

 Type II error can only occur if H 0 is false

If Type I error probability ( α ) , then

Type II error probability ( β )

Critical Value Approach to Testing

  • Convert sample statistic (e.g.: ) to test statistic ( Z

or t s tatistic )

  • Determine the critical value(s) for a specified

level of significance α from a table or computer

  • If the test statistic falls in the rejection region,

reject H 0 ; otherwise do not reject H 0

16

x

Lower Tail Tests

17

Reject H 0 Do not reject H 0

 The cutoff value,

or , is called a critical value

α

-zα xα

-zα xα

0 μ

H 0 : μ ≥ 3 H (^) A : μ < 3

n
x α =μ− zα

Two Tailed Tests

19

Reject H 0 Do not reject H 0 Reject H 0

 There are two cutoff

values (critical values):

or α/

-zα/ xα/

± zα/

xα/

0 μ 0

H 0 : μ = 3 H A : μ ≠ 3

zα/ xα/

n
x α/2 =μ± zα/

Lower xα/2Upper

Lower Upper

α/

Critical Value Approach to Testing

  • Convert sample statistic ( ) to a test statistic

( Z or t s tatistic )

20

x

σ Known

Large Samples

σ Unknown

Hypothesis Tests for μ

Small Samples