Choice of Sample Size for Testing Means

10.6 Choice of Sample Size for Testing Means

In Section 10.2, we demonstrated how the analyst can exploit relationships among the sample size, the significance level α, and the power of the test to achieve

a certain standard of quality. In most practical circumstances, the experiment should be planned, with a choice of sample size made prior to the data-taking process if possible. The sample size is usually determined to achieve good power for a fixed α and fixed specific alternative. This fixed alternative may be in the

350 Chapter 10 One- and Two-Sample Tests of Hypotheses

Table 10.3: Tests Concerning Means

H 0 Value of Test Statistic

H 1 Critical Region x−μ ¯ 0 μ<μ 0 z < −z α

σ 1 and σ 2 known

σ 1 =σ 2 but unknown,

σ 1 2 and unknown

t < −t paired

μ D =d 0 d−d 0 μ D <d 0 α

t=

μ D >d 0 t>t α observations

v=n−1

μ D 0 t < −t α/2 or t > t α/2

form of μ − μ 0 in the case of a hypothesis involving a single mean or μ 1 −μ 2 in the case of a problem involving two means. Specific cases will provide illustrations.

Suppose that we wish to test the hypothesis

H 0 :μ=μ 0 ,

H 1 :μ>μ 0 ,

with a significance level α, when the variance σ 2 is known. For a specific alternative, say μ = μ 0 + δ, the power of our test is shown in Figure 10.14 to be

1−β=P(¯ X > a when μ = μ 0 + δ).

Therefore,

β=P(¯ X < a when μ = μ 0 + δ)

X − (μ 0 + δ)

a − (μ 0 + δ)

=P

when μ = μ 0 +δ .

σ/ n

σ/ n

10.6 Choice of Sample Size for Testing Means 351

Figure 10.14: Testing μ = μ 0 versus μ = μ 0 + δ.

Under the alternative hypothesis μ = μ 0 + δ, the statistic ¯ X − (μ 0 + δ)

√ σ/ n

is the standard normal variable Z. So

from which we conclude that

−z β =z α −

and hence (z α +z β ) 2 σ 2

Choice of sample size: n=

a result that is also true when the alternative hypothesis is μ < μ 0 . In the case of a two-tailed test, we obtain the power 1 − β for a specified alternative when

(z α/2 +z β ) 2 σ 2

n≈

Example 10.7: Suppose that we wish to test the hypothesis

H 0 : μ = 68 kilograms,

H 1 : μ > 68 kilograms

for the weights of male students at a certain college, using an α = 0.05 level of significance, when it is known that σ = 5. Find the sample size required if the power of our test is to be 0.95 when the true mean is 69 kilograms.

352 Chapter 10 One- and Two-Sample Tests of Hypotheses Solution : Since α = β = 0.05, we have z α =z β = 1.645. For the alternative β = 69, we take

δ = 1 and then

Therefore, 271 observations are required if the test is to reject the null hypothesis 95% of the time when, in fact, μ is as large as 69 kilograms.

Two-Sample Case

A similar procedure can be used to determine the sample size n = n 1 =n 2 required for a specific power of the test in which two population means are being compared. For example, suppose that we wish to test the hypothesis

H 0 :μ 1 −μ 2 =d 0 ,

H 1 :μ 1 −μ 2 0 ,

when σ 1 and σ 2 are known. For a specific alternative, say μ 1 −μ 2 =d 0 + δ, the power of our test is shown in Figure 10.15 to be

1 − β = P (| ¯ X 1 −¯ X 2 | > a when μ 1 −μ 2 =d 0 + δ).

Figure 10.15: Testing μ 1 −μ 2 =d 0 versus μ 1 −μ 2 =d 0 + δ. Therefore,

β = P (−a < ¯ X 1 −¯ X 2 < a when μ 1 −μ 2 =d 0 + δ)

when μ 1 −μ 2 =d 0 +δ .

1 2 )/n

Under the alternative hypothesis μ 1 −μ 2 =d 0 + δ, the statistic

X ¯ 1 −¯ X 2 − (d 0 + δ) (σ 2 1 +σ 2 2 )/n

10.6 Choice of Sample Size for Testing Means 353 is the standard normal variable Z. Now, writing

1 2 2 )/n we have

<Z<z α/2 −

1 2 1 2 )/n from which we conclude that

and hence

(z α/2 +z β ) 2 (σ 2 1 +σ 2 2 )

n≈

For the one-tailed test, the expression for the required sample size when n = n 1 = n 2 is

(z α +z β ) 2 (σ 2

. When the population variance (or variances, in the two-sample situation) is un-

Choice of sample size: n=

known, the choice of sample size is not straightforward. In testing the hypothesis

μ=μ 0 when the true value is μ = μ 0 + δ, the statistic ¯ X − (μ 0 + δ)

√ S/ n

does not follow the t-distribution, as one might expect, but instead follows the noncentral t-distribution. However, tables or charts based on the noncentral t-distribution do exist for determining the appropriate sample size if some estimate of σ is available or if δ is a multiple of σ. Table A.8 gives the sample sizes needed to control the values of α and β for various values of

for both one- and two-tailed tests. In the case of the two-sample t-test in which the variances are unknown but assumed equal, we obtain the sample sizes n = n 1 =n 2 needed to control the values of α and β for various values of

from Table A.9. Example 10.8: In comparing the performance of two catalysts on the effect of a reaction yield, a

two-sample t-test is to be conducted with α = 0.05. The variances in the yields

354 Chapter 10 One- and Two-Sample Tests of Hypotheses are considered to be the same for the two catalysts. How large a sample for each

catalyst is needed to test the hypothesis

H 0 :μ 1 =μ 2 ,

H 1 :μ 1 2

if it is essential to detect a difference of 0.8σ between the catalysts with probability 0.9?

Solution : From Table A.9, with α = 0.05 for a two-tailed test, β = 0.1, and

we find the required sample size to be n = 34. In practical situations, it might be difficult to force a scientist or engineer to make a commitment on information from which a value of Δ can be found. The reader is reminded that the Δ-value quantifies the kind of difference between the means that the scientist considers important, that is, a difference considered significant from a scientific, not a statistical, point of view. Example 10.8 illustrates how this choice is often made, namely, by selecting a fraction of σ. Obviously, if the sample size is based on a choice of |δ| that is a small fraction of σ, the resulting sample size may be quite large compared to what the study allows.

Dokumen yang terkait

Optimal Retention for a Quota Share Reinsurance

0 0 7

Digital Gender Gap for Housewives Digital Gender Gap bagi Ibu Rumah Tangga

0 0 9

Challenges of Dissemination of Islam-related Information for Chinese Muslims in China Tantangan dalam Menyebarkan Informasi terkait Islam bagi Muslim China di China

0 0 13

Family is the first and main educator for all human beings Family is the school of love and trainers of management of stress, management of psycho-social-

0 0 26

THE EFFECT OF MNEMONIC TECHNIQUE ON VOCABULARY RECALL OF THE TENTH GRADE STUDENTS OF SMAN 3 PALANGKA RAYA THESIS PROPOSAL Presented to the Department of Education of the State Islamic College of Palangka Raya in Partial Fulfillment of the Requirements for

0 3 22

GRADERS OF SMAN-3 PALANGKA RAYA ACADEMIC YEAR OF 20132014 THESIS Presented to the Department of Education of the State College of Islamic Studies Palangka Raya in Partial Fulfillment of the Requirements for the Degree of Sarjana Pendidikan Islam

0 0 20

A. Research Design and Approach - The readability level of reading texts in the english textbook entitled “Bahasa Inggris SMA/MA/MAK” for grade XI semester 1 published by the Ministry of Education and Culture of Indonesia - Digital Library IAIN Palangka R

0 1 12

A. Background of Study - The quality of the english textbooks used by english teachers for the tenth grade of MAN Model Palangka Raya Based on Education National Standard Council (BSNP) - Digital Library IAIN Palangka Raya

0 0 15

1. The definition of textbook - The quality of the english textbooks used by english teachers for the tenth grade of MAN Model Palangka Raya Based on Education National Standard Council (BSNP) - Digital Library IAIN Palangka Raya

0 0 38

CHAPTER IV DISCUSSION - The quality of the english textbooks used by english teachers for the tenth grade of MAN Model Palangka Raya Based on Education National Standard Council (BSNP) - Digital Library IAIN Palangka Raya

0 0 95