55
TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also defines what is meant by a Type I error. Assumption: X ~ N(, 2 ) Null hypothesis: Alternative hypothesis: 0 0 : H 0 1 : H

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

Embed Size (px)

Citation preview

Page 1: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

1

This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also defines what is meant by a Type I error.

Assumption: X ~ N(, 2)

Null hypothesis:

Alternative hypothesis:

00 : H

01 : H

Page 2: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

2

We will suppose that we have observations on a random variable with a normal distribution with unknown mean and that we wish to test the hypothesis that the mean is equal to some specific value 0.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

Assumption: X ~ N(, 2)

Null hypothesis:

Alternative hypothesis:

00 : H

01 : H

Page 3: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

3

The hypothesis being tested is described as the null hypothesis. We test it against the alternative hypothesis H1, which is simply that is not equal to 0.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

Assumption: X ~ N(, 2)

Null hypothesis:

Alternative hypothesis:

00 : H

01 : H

Page 4: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

Assumption: X ~ N(, 2)

Null hypothesis:

Alternative hypothesis:

Example

Null hypothesis:

Alternative hypothesis:

00 : H

01 : H

4

10:0 H

10:1 H

As an illustration, we suppose that the null hypothesis is that the mean is equal to 10 and the alternative hypothesis that it is not equal to 10.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

Page 5: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

5

probability densityfunction of X

X10 119876 12 13 14

If this null hypothesis is true, X will have a distribution with mean 10. To draw the distribution, we must know its standard deviation.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

Distribution of X under H0: =10(standard deviation = 1 taken as given)

Page 6: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

6

X10 119876 12 13 14

We will assume that we know the standard deviation of X and that it is equal to 1. This is a very unrealistic assumption. In practice you have to estimate it.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

Distribution of X under H0: =10(standard deviation = 1 taken as given)

Page 7: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

7

Here is the distribution of X for the general case. Again, for the time being we are assuming that we know its standard deviation (sd).

X0 0+sd 0+2sd0–sd0–2sd 0+3sd0–3sd0–4sd 0+4sd

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

Distribution of X under H0: =0 (standard deviation taken as given)

Page 8: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

8

X10 119876 12 13 14

Suppose that we have a sample of data for the example model and the sample mean X is 9. Would this be evidence against the null hypothesis = 10?

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

Distribution of X under H0: =10(standard deviation = 1 taken as given)

Page 9: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

9

X10 119876 12 13 14

No, it is not. It is lower than 10, but we would not expect to be exactly equal to 10 because the sample mean has a random component.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

Distribution of X under H0: =10(standard deviation = 1 taken as given)

Page 10: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

10

X10 119876 12 13 14

If the null hypothesis is true, we should frequently get estimates as low as 9, so there is no real conflict.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

Distribution of X under H0: =10(standard deviation = 1 taken as given)

Page 11: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

11

X0 0+sd 0+2sd0–sd0–2sd 0+3sd0–3sd0–4sd 0+4sd

In terms of the general case, the sample mean is one standard deviation below the hypothetical population mean.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

Distribution of X under H0: =0 (standard deviation taken as given)

Page 12: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

12

X0 0+sd 0+2sd0–sd0–2sd 0+3sd0–3sd0–4sd 0+4sd

If the null hypothesis is true, the probability of the sample mean being one standard deviation or more above or below the population mean is 31.7%.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

Distribution of X under H0: =0 (standard deviation taken as given)

Page 13: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

13

X10 119876 12 13 14

Now suppose that in the example model the sample mean is equal to 14. This clearly conflicts with the null hypothesis.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

Distribution of X under H0: =10(standard deviation = 1 taken as given)

Page 14: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

14

X0 0+sd 0+2sd0–sd0–2sd 0+3sd0–3sd0–4sd 0+4sd

1.4 is four standard deviations above the hypothetical mean and the chance of getting such an extreme estimate is only 0.006%. We would reject the null hypothesis.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

Distribution of X under H0: =0 (standard deviation taken as given)

Page 15: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

15

X10 119876 12 13 14

Now suppose that in the example model the sample mean is equal to 7.7. This is an awkward result.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

Distribution of X under H0: =10(standard deviation = 1 taken as given)

Page 16: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

16

X0 0+sd 0+2sd0–sd0–2sd 0+3sd0–3sd0–4sd 0+4sd

Under the null hypothesis, the estimate is between 2 and 3 standard deviations below the mean.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

Distribution of X under H0: =0 (standard deviation taken as given)

Page 17: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

17

X10 119876 12 13 14

There are two possibilities. One is that the null hypothesis is true, and we have a slightly freaky sample mean.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

Distribution of X under H0: =10(standard deviation = 1 taken as given)

Page 18: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

18

X10 119876 12 13 14

The other is that the null hypothesis is false. The population mean is not equal to 10.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

Distribution of X under H0: =10(standard deviation = 1 taken as given)

Page 19: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

19

X0 0+sd 0+2sd0–sd0–2sd 0+3sd0–3sd0–4sd 0+4sd

The usual procedure for making decisions is to reject the null hypothesis if it implies that the probability of getting such an extreme sample mean is less than some (small) probability p.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

Distribution of X under H0: =0 (standard deviation taken as given)

Page 20: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

20

X0 0+sd 0+2sd0–sd0–2sd 0+3sd0–3sd0–4sd 0+4sd

For example, we might choose to reject the null hypothesis if it implies that the probability of getting such an extreme sample mean is less than 0.05 (5%).

2.5%2.5%

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

Distribution of X under H0: =0 (standard deviation taken as given)

Page 21: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

21

X0 0+sd 0+2sd0–sd0–2sd 0+3sd0–3sd0–4sd 0+4sd

According to this decision rule, we would reject the null hypothesis if the sample mean fell in the upper or lower 2.5% tails.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

2.5%2.5%

Distribution of X under H0: =0 (standard deviation taken as given)

Page 22: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

22

X10 119876 12 13 14

If we apply this decision rule to the example model, a sample mean of 9 would not lead to a rejection of the null hypothesis.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

2.5%2.5%

Distribution of X under H0: =10(standard deviation = 1 taken as given)

Page 23: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

23

X10 119876 12 13 14

A sample mean of 14 definitely would lead us to reject H0.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

2.5%2.5%

Distribution of X under H0: =10(standard deviation = 1 taken as given)

Page 24: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

24

X10 119876 12 13 14

A sample mean of 7.7 also would lead to rejection..

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

2.5%2.5%

Distribution of X under H0: =10(standard deviation = 1 taken as given)

Page 25: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

25

X0 0+1.96sd0–1.96sd

The 2.5% tails of a normal distribution always begin 1.96 standard deviations from its mean.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

2.5%2.5%

Distribution of X under H0: =0 (standard deviation taken as given)

Page 26: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

26

X0 0+1.96sd0–1.96sd

Thus we would reject H0 if the sample mean were 1.96 standard deviations (or more) above or below the hypothetical population mean.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

2.5%2.5%

Decision rule (5% significance level):reject

(1) if X > 0 + 1.96 s.d. (2) if X < 0 – 1.96 s.d.

(1) if X – 0 > 1.96 s.d. (2) if X – 0 < –1.96 s.d.

(1) if (X – 0) / s.d. > 1.96 (2) if (X – 0) / s.d. < –1.96

(1) if z > 1.96 (2) if z < –1.96

00 : H

Page 27: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

27

X0 0+1.96sd0–1.96sd

We would reject H0 if the difference between the sample mean and hypothetical population mean were more than 1.96 standard deviations.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

2.5%2.5%

Decision rule (5% significance level):reject

(1) if X > 0 + 1.96 s.d. (2) if X < 0 – 1.96 s.d.

(1) if X – 0 > 1.96 s.d. (2) if X – 0 < –1.96 s.d.

(1) if (X – 0) / s.d. > 1.96 (2) if (X – 0) / s.d. < –1.96

(1) if z > 1.96 (2) if z < –1.96

00 : H

Page 28: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

28

X0 0+1.96sd0–1.96sd

We would reject H0 if the difference, expressed in terms of standard deviations, were more than 1.96 in absolute terms (positive or negative).

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

2.5%2.5%

Decision rule (5% significance level):reject

(1) if X > 0 + 1.96 s.d. (2) if X < 0 – 1.96 s.d.

(1) if X – 0 > 1.96 s.d. (2) if X – 0 < –1.96 s.d.

(1) if (X – 0) / s.d. > 1.96 (2) if (X – 0) / s.d. < –1.96

(1) if z > 1.96 (2) if z < –1.96

00 : H

Page 29: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

29

X0 0+1.96sd0–1.96sd

We will denote the difference, expressed in terms of standard deviations, as z.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

2.5%2.5%

Decision rule (5% significance level):reject

(1) if X > 0 + 1.96 s.d. (2) if X < 0 – 1.96 s.d.

(1) if X – 0 > 1.96 s.d. (2) if X – 0 < –1.96 s.d.

(1) if (X – 0) / s.d. > 1.96 (2) if (X – 0) / s.d. < –1.96

(1) if z > 1.96 (2) if z < –1.96

00 : H

s.d.0

X

z

Page 30: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

30

X0 0+1.96sd0–1.96sd

Decision rule (5% significance level):reject

(1) if X > 0 + 1.96 s.d. (2) if X < 0 – 1.96 s.d.

(1) if X – 0 > 1.96 s.d. (2) if X – 0 < –1.96 s.d.

(1) if (X – 0) / s.d. > 1.96 (2) if (X – 0) / s.d. < –1.96

(1) if z > 1.96 (2) if z < –1.96

Then the decision rule is to reject the null hypothesis if z is greater than 1.96 in absolute terms.

00 : H

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

2.5%2.5%

s.d.0

X

z

Page 31: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

31

X0 0+1.96sd0–1.96sd

The range of values of X that do not lead to the rejection of the null hypothesis is known as the acceptance region.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

2.5%2.5%

Decision rule (5% significance level):reject

(1) if X > 0 + 1.96 s.d. (2) if X < 0 – 1.96 s.d.

(1) if z > 1.96 (2) if z < –1.96

00 : H

Acceptance region for X:s.d. 96.1s.d. 96.1 00 X

s.d.0

X

z

Page 32: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

32

X0 0+1.96sd0–1.96sd

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

2.5%2.5%

Decision rule (5% significance level):reject

(1) if X > 0 + 1.96 s.d. (2) if X < 0 – 1.96 s.d.

(1) if z > 1.96 (2) if z < –1.96

00 : H

Acceptance region for X:96.196.1 z

The limiting values of z for the acceptance region are 1.96 and –1.96 (for a 5% significance test).

s.d.0

X

z

Page 33: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

33

X10 119876 12 13 14

We will look again at the decision process in terms of the example model. The null hypothesis is that the slope coefficient is equal to 10.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

2.5%2.5%

Decision rule (5% significance level):reject

(1) if X > 0 + 1.96 s.d. (2) if X < 0 – 1.96 s.d.

10:0 H

Page 34: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

34

X10 119876 12 13 14

We are assuming that we know the standard deviation and that it is equal to 1.0.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

2.5%2.5%

Decision rule (5% significance level):reject

(1) if X > 0 + 1.96 s.d. (2) if X < 0 – 1.96 s.d.

(1) if X > 10 + 1.96 x 1.0 (2) if X < 10 – 1.96 x 1.0

10:0 H

Page 35: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

35

X10 119876 12 13 14

Decision rule (5% significance level):reject

(1) if X > 0 + 1.96 s.d. (2) if X < 0 – 1.96 s.d.

(1) if X > 10 + 1.96 x 1.0 (2) if X < 10 – 1.96 x 1.0

(1) if X > 11.96 (2) if X < 8.04

We will reject H0 if X > 11.96 or X < 8.04.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

2.5%2.5%

10:0 H

Page 36: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

36

X10 119876 12 13 14

Decision rule (5% significance level):reject

(1) if X > 0 + 1.96 s.d. (2) if X < 0 – 1.96 s.d.

(1) if X > 11.96 (2) if X < 8.04

The acceptance region for X is therefore the interval 8.04 to 11.96. A sample mean in this range will not lead to the rejection of the null hypothesis.

Acceptance region for X : 8.04 ≤ X ≤ 11.96

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

2.5%2.5%

10:0 H

Page 37: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

37

X0 0+1.96sd0–1.96sd

Reject H0: = 0

Rejection of the null hypothesis when it is in fact true is described as a Type I error.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

2.5%2.5%

Type I error: rejection of H0 when it is in fact true.

Reject H0: = 0Acceptance region for X

Page 38: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

38

X0 0+1.96sd0–1.96sd

With the present test, if the null hypothesis is true, a Type I error will occur 5% of the time because 5% of the time we will get estimates in the upper or lower 2.5% tails.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

2.5%2.5%

Type I error: rejection of H0 when it is in fact true.

Probability of Type I error: in this case, 5%

Reject H0: = 0 Reject H0: = 0Acceptance region for X

Page 39: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

39

X0 0+1.96sd0–1.96sd

Type I error: rejection of H0 when it is in fact true.

Probability of Type I error: in this case, 5%

Significance level (size) of the test is 5%.

The significance level of a test (often described as the size of a test) is defined to be the probability of making a Type I error if the null hypothesis is true.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

2.5%2.5%

Reject H0: = 0 Reject H0: = 0Acceptance region for X

Page 40: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

40

X0 0+1.96sd0–1.96sd

We can of course reduce the risk of making a Type I error by reducing the size of the rejection region.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

2.5%2.5%

Type I error: rejection of H0 when it is in fact true.

Probability of Type I error: in this case, 5%

Significance level (size) of the test is 5%.

Reject H0: = 0 Reject H0: = 0Acceptance region for X

Page 41: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

41

X0 0+1.96sd0–1.96sd

For example, we could change the decision rule to “reject the null hypothesis if it implies that the probability of getting the sample estimate is less than 0.01 (1%)”.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

2.5%2.5%

Type I error: rejection of H0 when it is in fact true.

Probability of Type I error: in this case, 5%

Significance level (size) of the test is 5%.

Reject H0: = 0 Reject H0: = 0Acceptance region for X

Page 42: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

42

X0 0+1.96sd0–1.96sd

The rejection region now becomes the upper and lower 0.5% tails

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

0.5% 0.5%

Reject H0: = 0 Reject H0: = 0Acceptance region for X

Page 43: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

43

X0 0+2.58sd0–2.58sd

The 0.5% tails of a normal distribution start 2.58 standard deviations from the mean, so the acceptance region ranges from 2.58 standard deviations below X to 2.58 standard deviations above it.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

0.5% 0.5%

Decision rule (1% significance level):reject

(1) if X > 0 + 2.58 s.d. (2) if X < 0 – 2.58 s.d.

(1) if z > 2.58 (2) if z < –2.58

00 : H

Acceptance region for X:s.d. 58.2s.d. 58.2 00 X

s.d.0

X

z

Page 44: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

44

X0 0+2.58sd0–2.58sd

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

0.5% 0.5%

Decision rule (1% significance level):reject

(1) if X > 0 + 2.58 s.d. (2) if X < 0 – 2.58 s.d.

(1) if z > 2.58 (2) if z < –2.58

00 : H

Equivalently, we now reject the null hypothesis if z is greater than 2.58, in absolute terms.

Acceptance region for X:s.d. 58.2s.d. 58.2 00 X

s.d.0

X

z

Page 45: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

45

X0 0+2.58sd0–2.58sd

Since the probability of making a Type I error, if the null hypothesis is true, is now only 1%, the test is said to be a 1% significance test.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

0.5% 0.5%

Type I error: rejection of H0 when it is in fact true.

Probability of Type I error: in this case, 1%

Significance level (size) of the test is 1%.

Reject H0: = 0 Reject H0: = 0Acceptance region for X

Page 46: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

46

In the case of the example model, given that the standard deviation is 1.0, the 0.5% tails start 2.58 above and below the mean, that is, at 7.42 and 12.58.

X10 119876 12 13 14

Decision rule (1% significance level):reject

(1) if X > 0 + 2.58 s.d. (2) if X < 0 – 2.58 s.d.

(1) if X > 10 + 2.58 x 1.0 (2) if X < 10 – 2.58 x 1.0

(1) if X > 12.58 (2) if X < 7.42

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

0.5% 0.5%

Page 47: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

47

X10 119876 12 13 14

The acceptance region for X is therefore the interval 7.42 to 12.58. Because it is wider than that for the 5% test, there is less risk of making a Type I error, if the null hypothesis is true.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

0.5% 0.5%

Decision rule (1% significance level):reject

(1) if X > 0 + 2.58 s.d. (2) if X < 0 – 2.58 s.d.

(1) if X > 12.58 (2) if X < 7.42

Acceptance region for X : 7.42 ≤ X ≤ 12.58

Page 48: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

48

X0 0+sd 0+2sd0–sd0–2sd 0+3sd0–3sd0–4sd 0+4sd

This diagram compares the decision-making processes for the 5% and 1% tests. Note that if you reject H0 at the 1% level, you must also reject it at the 5% level.

5% level

1% level

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

0.5% 0.5%

5% and 1% acceptance regions compared

5%: 0 – 1.96 s.d. ≤ X ≤ 0 + 1.96 s.d. –1.96 ≤ z ≤ 1.96

1%: 0 – 2.58 s.d. ≤ X ≤ 0 + 2.58 s.d. –2.58 ≤ z ≤ 2.58

s.d.0

X

z

Page 49: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

49

X0 0+sd 0+2sd0–sd0–2sd 0+3sd0–3sd0–4sd 0+4sd

5% level

1% level

Note also that if X lies within the acceptance region for the 5% test, it must also fall within it for the 1% test.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

probability densityfunction of X

0.5% 0.5%

5% and 1% acceptance regions compared

5%: 0 – 1.96 s.d. ≤ X ≤ 0 + 1.96 s.d. –1.96 ≤ z ≤ 1.96

1%: 0 – 2.58 s.d. ≤ X ≤ 0 + 2.58 s.d. –2.58 ≤ z ≤ 2.58

s.d.0

X

z

Page 50: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

The diagram summarizes the possible decisions for the 5% and 1% tests, for both the general case and the example model.

50

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

Reject H0 at 1% level (and also 5% level)

Reject H0 at 5% level but not 1% level

Reject H0 at 5% level but not 1% level

Reject H0 at 1% level (and also 5% level)

Do not reject H0 at 5% level (or at 1% level) 10.00

8.04

7.42

11.96

12.58

Example modelGeneral case Decision

s.d. 58.20

0

s.d. 96.10

s.d. 96.10

s.d. 58.20

Page 51: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

51

The middle of the diagram indicates what you would report. You would not report the phrases in parentheses.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

Reject H0 at 1% level (and also 5% level)

Reject H0 at 5% level but not 1% level

Reject H0 at 5% level but not 1% level

Reject H0 at 1% level (and also 5% level)

Do not reject H0 at 5% level (or at 1% level) 10.00

8.04

7.42

11.96

12.58

Example modelGeneral case Decision

s.d. 58.20

0

s.d. 96.10

s.d. 96.10

s.d. 58.20

Page 52: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

52

If you can reject H0 at the 1% level, it automatically follows that you can reject it at the 5% level and there is no need to say so. Indeed, you would look ignorant if you did.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

Reject H0 at 1% level (and also 5% level)

Reject H0 at 5% level but not 1% level

Reject H0 at 5% level but not 1% level

Reject H0 at 1% level (and also 5% level)

Do not reject H0 at 5% level (or at 1% level) 10.00

8.04

7.42

11.96

12.58

Example modelGeneral case Decision

s.d. 58.20

0

s.d. 96.10

s.d. 96.10

s.d. 58.20

Page 53: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

53

Likewise, if you cannot reject H0 at the 5% level, that is all you should say. It automatically follows that you cannot reject it at the 1% level and you would look ignorant if you said so.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

Reject H0 at 1% level (and also 5% level)

Reject H0 at 5% level but not 1% level

Reject H0 at 5% level but not 1% level

Reject H0 at 1% level (and also 5% level)

Do not reject H0 at 5% level (or at 1% level) 10.00

8.04

7.42

11.96

12.58

Example modelGeneral case Decision

s.d. 58.20

0

s.d. 96.10

s.d. 96.10

s.d. 58.20

Page 54: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

54

Reject H0 at 1% level (and also 5% level)

Reject H0 at 5% level but not 1% level

Reject H0 at 5% level but not 1% level

Reject H0 at 1% level (and also 5% level)

Do not reject H0 at 5% level (or at 1% level) 10.00

8.04

7.42

11.96

12.58

Example modelGeneral case Decision

s.d. 58.20

0

s.d. 96.10

s.d. 96.10

s.d. 58.20

You should report the results of both tests only when you can reject H0 at the 5% level but not at the 1% level.

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN

Page 55: TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also

Copyright Christopher Dougherty 2012.

These slideshows may be downloaded by anyone, anywhere for personal use.

Subject to respect for copyright and, where appropriate, attribution, they may be

used as a resource for teaching an econometrics course. There is no need to

refer to the author.

The content of this slideshow comes from Section R.9 of C. Dougherty,

Introduction to Econometrics, fourth edition 2011, Oxford University Press.

Additional (free) resources for both students and instructors may be

downloaded from the OUP Online Resource Centre

http://www.oup.com/uk/orc/bin/9780199567089/.

Individuals studying econometrics on their own who feel that they might benefit

from participation in a formal course should consider the London School of

Economics summer school course

EC212 Introduction to Econometrics

http://www2.lse.ac.uk/study/summerSchools/summerSchool/Home.aspx

or the University of London International Programmes distance learning course

EC2020 Elements of Econometrics

www.londoninternational.ac.uk/lse.

2012.11.02