• Tidak ada hasil yang ditemukan

Chapter 8: Hypothesis Testing

N/A
N/A
Protected

Academic year: 2025

Membagikan "Chapter 8: Hypothesis Testing"

Copied!
24
0
0

Teks penuh

(1)

Department of Statistics, KAU, 2019

© Textbook: Bluman, Allan G. (2012).

Elementary Statistics : A Step by Step Approach, 8th Edition, McGraw-Hill.

Chapter 8: Hypothesis Testing

(2)

Introduction

Researchers are interested in answering many types of questions.

Such questions can be answered through statistical hypothesis testing, which is a decision-making

process for evaluating claims about a population.

(3)

8 – 1: Steps in Hypothesis Testing

A statistical hypothesis is an conjecture about a population parameter. This conjecture may or may not be true.

The null hypothesis (𝑯𝟎) is a statistical hypothesis that states that there is no difference between a parameter and a

specific value.

The alternative hypothesis (𝑯𝟏) is a statistical hypothesis

that states that there is a difference between a parameter and a specific value.

(4)

8 – 1: Steps in Hypothesis Testing (cont.)

In this course, we are interested in statistical hypotheses that compare the population mean (i.e., 𝜇) to a specified number (e.g., k).

Types of tests: The null and alternative hypotheses are stated together as follows:

Two-tailed test

Right-tailed test

Left-tailed test

Null

Hypothesis

𝑯𝟎: 𝝁 = 𝒌 𝑯𝟎: 𝝁 ≤ 𝒌 𝑯𝟎: 𝝁 ≥ 𝒌

Alternative Hypothesis

𝑯𝟏: 𝝁 ≠ 𝒌 𝑯𝟏: 𝝁 > 𝒌 𝑯𝟏: 𝝁 < 𝒌

(5)

Example 8 – 1

State the null and alternative hypotheses for each conjecture:

a) A researcher thinks that if expectant mothers use vitamin pills, the birth weight of the babies will increase. The average birth weight of the

population is 8.6 pounds.

(6)

Example 8 – 1 (cont.)

State the null and alternative hypotheses for each conjecture:

a) A researcher thinks that if expectant mothers use vitamin pills, the birth weight of the babies will increase (>). The average birth weight of the population is 8.6 (=k) pounds.

𝑯

𝟎

: 𝝁 ≤ 𝟖. 𝟔 and 𝑯

𝟏

: 𝝁 > 𝟖. 𝟔

(7)

Example 8 – 1 (cont.)

b) An engineer hypothesizes that the mean number of defects can be decreased in a manufacturing

process of compact disks by using robots instead of humans for certain tasks. The mean number of defective disks per box is 18.

(8)

Example 8 – 1 (cont.)

State the null and alternative hypotheses for each conjecture:

b) An engineer hypothesizes that the mean number of defects can be decreased (<) in a

manufacturing process of compact disks by using robots instead of humans for certain tasks. The mean number of defective disks per box is 18 (=k).

𝑯𝟎: 𝝁 ≥ 𝟏𝟖 and 𝑯𝟏: 𝝁 < 𝟏𝟖

(9)

Example 8 – 1 (cont.)

c) A teacher feels that a new teaching strategy will change the scores of the students. The teacher is not sure whether the scores will be higher or lower.

In the past, the mean of the scores was 73.

(10)

Example 8 – 1 (cont.)

c) A teacher feels that a new teaching strategy will change the scores of the students. The teacher is not sure whether the scores will be higher or

lower (). In the past, the mean of the scores was 73 (=k).

𝑯

𝟎

: 𝝁 = 𝟕𝟑 and 𝑯

𝟏

: 𝝁 ≠ 𝟕𝟑

(11)

8 – 1: Steps in Hypothesis Testing (cont.)

A statistical test uses the data obtained from a

sample to decide about whether the null hypothesis should be rejected.

The numerical value obtained from a statistical test is called the test value.

(12)

8 – 1: Steps in Hypothesis Testing (cont.)

A correct decision occurs if you reject the null

hypothesis when it is false or do not reject the null hypothesis when it is true.

A type I error occurs if you reject the null hypothesis when it is true.

A type II error occurs if you do not reject the null hypothesis when it is false.

(13)

8 – 1: Steps in Hypothesis Testing (cont.)

The level of significance is the maximum probability of

committing a type I error. This probability is symbolized by 𝜶.

The p-value is the probability of getting a sample statistic (such as the sample mean) in the direction of the alternative hypothesis when the null hypothesis is true.

If the p-value is more than 𝜶, the decision is to not reject the null hypothesis

If the p-value is less than 𝜶, the decision is to reject the null hypothesis

(14)

8 – 2: Z–Test for a Mean

The Z-test is a statistical test for the mean of a population. It can be used when the population is normally distributed, and the population standard deviation (i.e., 𝜎) is known. The formula for the Z- test is

𝒁 = 𝒙 − 𝒌ഥ 𝝈/ 𝒏

where ഥ𝒙 is the sample mean, 𝒏 is the sample size, and 𝒌 hypothesized population mean.

(15)

8 – 2: Z–Test for a Mean (cont.)

A researcher wishes to see if the mean number of days that a basic, low-price, small automobile sits on a dealer’s lot is 29. A sample of 30 automobile dealers has a mean of 30.1 days for basic, low-

price, small automobiles. The standard deviation of the population is 3.8 days. At a 0.05, test the claim that the mean time is:

a. greater than 29 days.

b. not equal to 29 days.

c. Less than 29 days.

(16)

Example 8 – 3

A researcher wishes to see if the mean number of days that a basic, low-price, small automobile sits on a dealer’s lot is 29 (=k). A sample of 30 (=𝒏) automobile dealers has a mean of 30.1 days (= ഥ𝒙) for basic, low-price, small automobiles. The

standard deviation of the population is 3.8 (= 𝜎) days. At a 0.05, test the claim that the mean time is:

a. greater than 29 days. 𝑯𝟎: 𝝁 ≤ 𝟐𝟗 and 𝑯𝟏: 𝝁 > 𝟐𝟗

b. not equal to 29 days. 𝑯𝟎: 𝝁 = 𝟐𝟗 and 𝑯𝟏: 𝝁 ≠ 𝟐𝟗

c. Less than 29 days. 𝑯𝟎: 𝝁 ≥ 𝟐𝟗 and 𝑯𝟏: 𝝁 < 𝟐𝟗

(17)

Example 8 – 3 (cont.)

Write the following in Excel:

number of days (OR you can write anything here!) 30.1 (=sample mean)

3.8 (=population standard deviation) 30 (=sample size)

DO NOT CHANGE THE ORDER!

(18)

Example 8 – 3 (cont.)

(19)

Example 8 – 3 (a)

2. Input range!

1. Choose “summary input”

3. Input the value of k

4. Select “greater than”

5. Change this to z-test!

(20)

Example 8 – 3 (a)

(21)

Example 8 – 3 (b)

2. Input range!

1. Choose “summary input”

3. Input the value of k

4. Select “not equal”

5. Change this to z-test!

(22)

Example 8 – 3 (b)

(23)

Example 8 – 3 (c)

2. Input range!

1. Choose “summary input”

3. Input the value of k

4. Select “less than”

5. Change this to z-test!

(24)

Example 8 – 3 (c)

Referensi

Dokumen terkait

The conclusion that can be reached is that the null hypotheses (H1 and H2) is rejected and the alternative hypotheses are accepted, and that the independent variables used for

The large number of mothers in this area who breastfed their babies less than 3 hours after the birth had given birth at home, in the public health centre and also in private

Our findings show that LBW is associated with babies born to mothers who self-declared the type of birth of twins, birth order of children 4 or more, experiencing

Based on the working hypothesis, the following null and alternative hypotheses were formulated, namely: H1n = There is no statistical relationship between automation engineers'

Score: 0 Accepted Answers: c statistically significant results The null and alternative hypotheses divide all possibilities into: a two sets that overlap b two non-overlapping sets

Crosstabulation results between history and LBW and neonatal death showed that mothers with risk factors in the form of a history of complications gave birth to babies with LBW babies

CONCLUSION Factors of maternal knowledge about infection prevention and family support need to be considered in increasing the ability of mothers to care for babies with low birth

Forming the Null and Alternative Hypotheses 135 Choosingel,the Level of Significance 136 The Exact Level of Significance: ThepValue 137 Statistical Significance versus Practical