16
HYPOTHESIS TESTING Amali N Ediriweera Dept. of HRM

Hypothesis Testing

  • Upload
    sampath

  • View
    2.812

  • Download
    0

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Hypothesis Testing

HYPOTHESIS TESTING

Amali N Ediriweera

Dept. of HRM

Page 2: Hypothesis Testing

Big picture

Use a random sample to learn something about a larger population.

Page 3: Hypothesis Testing

Two ways to learn about a population

• Confidence intervals

• Hypothesis testing

Page 4: Hypothesis Testing

Confidence Intervals

• Allow us to use sample data to estimate a population value, like the true mean or the true proportion.

• Example: What is the true average amount students spend weekly on alcohol?

Page 5: Hypothesis Testing

Hypothesis Testing

• Allows us to use sample data to test a claim about a population, such as testing whether a population proportion or population mean equals some number.

• Example: Is the true average amount that students spent weekly on alcohol $20?

Page 6: Hypothesis Testing

General Idea of Hypothesis Testing

• Make an initial assumption.

• Collect evidence (data).

• Based on the available evidence, decide whether or not the initial assumption is reasonable.

Page 7: Hypothesis Testing

Example: Grade inflation?

Population of 5 million college

studentsIs the average GPA 2.7?

Sample of 100 college students

How likely is it that 100 students would have an average GPA as large as 2.9 if the population average was 2.7?

Page 8: Hypothesis Testing

Making the Decision

• It is either likely or unlikely that we would collect the evidence we did given the initial assumption.

• (Note: “Likely” or “unlikely” is measured by calculating a probability!)

• If it is likely, then we “do not reject” our initial assumption. There is not enough evidence to do otherwise.

Page 9: Hypothesis Testing

Making the Decision (cont’d)

• If it is unlikely, then:– either our initial assumption is correct and we

experienced an unusual event– or our initial assumption is incorrect

• In statistics, if it is unlikely, we decide to “reject” our initial assumption.

Page 10: Hypothesis Testing

Idea of Hypothesis Testing:

• First, state 2 hypotheses, the null hypothesis (“H0”) and the alternative hypothesis (“HA”)

– H0: Defendant is not guilty.

– HA: Defendant is guilty.

Page 11: Hypothesis Testing

An aside:Identification of hypotheses

• The null hypothesis always represents the status quo, i.e. the hypothesis that requires no change in current behavior.

• The alternative hypothesis is the conclusion that the researcher is trying to make.

Page 12: Hypothesis Testing

• collect evidence, – In statistics, the data are the evidence.

• Then, make initial assumption.– In statistics, we always assume the null

hypothesis is true.

Page 13: Hypothesis Testing

• Then, make a decision based on the available evidence.– If there is sufficient evidence (“beyond a

reasonable doubt”), reject the null hypothesis. (Behave as if defendant is guilty.)

– If there is not enough evidence, do not reject the null hypothesis. (Behave as if defendant is not guilty.)

Page 14: Hypothesis Testing

Important Point

• Neither decision entails proving the null hypothesis or the alternative hypothesis.

• We merely state there is enough evidence to behave one way or the other.

• This is also always true in statistics! No matter what decision we make, there is always a chance we made an error.

Page 15: Hypothesis Testing

Test Result –

True State

H0 True H0 False

H0 True CorrectDecision

Type I Error

H0 False Type II Error CorrectDecision

)()( ErrorIITypePErrorITypeP

• Goal: Keep , reasonably small

Page 16: Hypothesis Testing

Assumptions• Assumptions needed for validity of Hypothesis

Testing

1.Data are a RANDOM SAMPLE from the population of interest

• (So that the sample can tell you about the population)

2.The sample average is approximately NORMAL• Either the data are normal (check the histogram)• Or the central limit theorem applies:

– Large enough sample size n, distribution not too skewed

• (So that the t table is technically appropriate)

X