Docsity

Sample Size Requirements for Hypothesis Testing, Esquemas de Estatística

Toggle sidebar
bg1
27/10/2020 7.2.2.2. Sample sizes required
https://www.itl.nist.gov/div898/handbook/prc/section2/prc222.htm 1/3
7. Product and Process Comparisons
7.2. Comparisons based on data from one process
7.2.2. Are the data consistent with the assumed process mean?
7.2.2.2. Sample sizes required
The
computation
of sample
sizes depends
on many
things, some
of which have
to be
assumed in
advance
Perhaps one of the most frequent questions asked of a
statistician is,
"How many measurements should be included in the
sample?"
Unfortunately, there is no correct answer without additional
information (or assumptions). The sample size required for
an experiment designed to investigate the behavior of an
unknown population mean will be influenced by the
following:
value selected for , the risk of rejecting a true
hypothesis,
value of , the risk of accepting a false null hypothesis
when a particular value of the alternative hypothesis is
true,
value of the population standard deviation.
Application -
estimating a
minimum
sample size,
, for
limiting the
error in the
estimate of
the mean
For example, suppose that we wish to estimate the average
daily yield, , of a chemical process by the mean of a
sample, , such that the error of estimation is less
than with a probability of 95 %. This means that a 95 %
confidence interval centered at the sample mean should be
and if the standard deviation is known,
The critical value from the normal distribution for 1 - /2 =
0.975 is 1.96. Therefore,
Limitation
and
A restriction is that the standard deviation must be known.
Lacking an exact value for the standard deviation requires
α
β
N
μ
, … ,
Y
1
Y
N
δ
−
δ
≤
μ
≤ +
δ
,
Y
¯
Y
¯
δ
= .
σ
N
−−
√
z
1−0.025
α
N
≥ .
( )
1.96
δ
2
σ
2
pf3

Pré-visualização parcial do texto

Baixe Sample Size Requirements for Hypothesis Testing e outras Esquemas em PDF para Estatística, somente na Docsity!

  1. Product and Process Comparisons

7.2. Comparisons based on data from one process

7.2.2. Are the data consistent with the assumed process mean?

7.2.2.2. Sample sizes required

The

computation

of sample

sizes depends

on many

things, some

of which have

to be

assumed in

advance

Perhaps one of the most frequent questions asked of a

statistician is,

"How many measurements should be included in the

sample?"

Unfortunately, there is no correct answer without additional

information (or assumptions). The sample size required for

an experiment designed to investigate the behavior of an

unknown population mean will be influenced by the

following:

value selected for , the risk of rejecting a true

hypothesis,

value of , the risk of accepting a false null hypothesis

when a particular value of the alternative hypothesis is

true,

value of the population standard deviation.

Application -

estimating a

minimum

sample size,

, for

limiting the

error in the

estimate of

the mean

For example, suppose that we wish to estimate the average

daily yield, , of a chemical process by the mean of a

sample, , such that the error of estimation is less

than with a probability of 95 %. This means that a 95 %

confidence interval centered at the sample mean should be

and if the standard deviation is known,

The critical value from the normal distribution for 1 - /2 =

0.975 is 1.96. Therefore,

Limitation

and

A restriction is that the standard deviation must be known.

Lacking an exact value for the standard deviation requires

α

β

N

μ

Y , … ,

1

Y

N

δ

Y − δ ≤ μ ≤ + δ ,

Y

δ =.

σ

N

z 1 −0.

α

N ≥ ( ).

δ

2

σ

2

interpretation some accommodation, perhaps the best estimate available

from a previous experiment.

Controlling

the risk of

accepting a

false

hypothesis

To control the risk of accepting a false hypothesis, we set not

only , the probability of rejecting the null hypothesis when

it is true, but also , the probability of accepting the null

hypothesis when in fact the population mean is where

is the difference or shift we want to detect.

Standard

deviation

assumed to

be known

The minimum sample size, , is shown below for two- and

one-sided tests of hypotheses with assumed to be known.

The quantities and are critical values from the

normal distribution.

Note that it is usual to state the shift, , in units of the

standard deviation, thereby simplifying the calculation.

Example

where the

shift is stated

in terms of

the standard

deviation

For a one-sided hypothesis test where we wish to detect an

increase in the population mean of one standard deviation,

the following information is required: , the significance

level of the test, and , the probability of failing to detect a

shift of one standard deviation. For a test with = 0.05 and

= 0.10, the minimum sample size required for the test is

More often

we must

compute the

sample size

with the

population

standard

deviation

being

unknown

The procedures for computing sample sizes when the

standard deviation is not known are similar to, but more

complex, than when the standard deviation is known. The

formulation depends on the t distribution where the

minimum sample size is given by

The drawback is that critical values of the t distribution

depend on known degrees of freedom, which in turn depend

upon the sample size which we are trying to estimate.

Iterate on the

initial

estimate

using critical

Therefore, the best procedure is to start with an intial

estimate based on a sample standard deviation and iterate.

Take the example discussed above where the the minimum

sample size is computed to be = 9. This estimate is low.

α

β

μ + δ

δ

N

σ

N = ( + → two − sided test z

1 − α / 2

z

1 − β

2

σ

δ

2

N = ( + → one − sided test z

1 − α

z

1 − β

2

σ

δ

2

z

1 − α / 2

z

1 − β

δ

α

β

α

β

N = (1.645 + 1.282 ) = 8.567 ≈ 9.

2

N = ( + → two − sided test t

1 − α / 2

t

1 − β

2

s

δ

2

N = ( + → one − sided test t 1 − α

t 1 − β

2

s

δ

2

N