Beruflich Dokumente
Kultur Dokumente
PART 1 – Testing One Population Mean The following is the summary of the steps when
performing hypothesis testing.
Inferential Statistics 1. Formulate the null and alternative hypotheses.
An area in Statistics that deals with methods 2. Specify the level of significance to be used.
used to make generalizations or inferences 3. Select the appropriate test statistic.
about some characteristics of the population 4. Establish the rejection region/regions.
based on information contained in a sample 5. Compute the actual value of the test statistic from
the sample.
Assumptions of Parametric Tests 6. Make a statistical decision.
1. Normally distributed data: The rationale behind 7. Draw the appropriate conclusion.
hypothesis testing relies on having something that is
normally distributed. 1. Testing One Population Mean (Z test, t test)
2. Homogeneity of variance: In designs in which you
test several groups of participants this assumption
means that each of these samples comes from
populations with the same variance.
3. (At least) Interval data: Data should be measured at
least at the interval level (interval or ratio)
4. Independence: In some cases it means that data from
different participants are independent, which means
that the behaviour of one participant does not influence
the behaviour of another.
Hypothesis Testing
one type of inferential analysis
a decision-making process for testing the claims
The degrees of freedom relate to the number of
about a population parameter based on the
observations that are free to vary.
characteristics of a sample randomly taken from
Note: When the population is normally distributed, the
the population
distribution of the sample means is also normally
distributed. If the population is not normally distributed,
Important Terms
the distribution of the sample means is still
The null hypothesis, H0, is a statement that
approximately normally distributed under the condition
specifies a particular value (or values) for the
of Central Limit Theorem.
parameter being studied. It is the hypothesis
*** sample means is normally distributed/
that is being tested.
approximately normally distributed
The alternative hypothesis, H1, specifies those
values of the parameter that represent an
important change from the null hypothesis. It
opposes the null hypothesis.
The probability of committing a Type I error
is the level of significance of the test. It is the
maximum probability with which we are willing
to commit a Type I error. In practice, usually set
at 0.05 (*significant) or 0.01 (** highly
significant)
The test statistic is a statistic computed from
the sample on which the decision to reject or
not to reject H0 is based. If the computed test
statistic falls in the rejection region, the H 0 is
rejected.
but their standard deviations differ according to the
sample size n.
The t distribution is more spread out and flatter at the
center than the Z distribution.
However, as the sample size increases, the t
distribution approaches the standard normal
distribution.
Solution:
Let = mean length of time to pack one dozen of
hotdog manually
Steps in hypothesis testing
1. Null and alternative hypotheses
H0: The mean length of time to pack one dozen of
hotdog manually is 11 seconds.
H1: The mean length of time to pack one dozen of
hotdog manually is more than 11 seconds.
(In symbols) H O: μ=11 seconds
H 1 : > 11 seconds
2. Significance level: = 0 .0 1
3. Test Statistic: Since is unknown, the
distribution of the length of time is
normally distributed, and the sample size
n=20 (less than 30), the appropriate test statistic is
Thus, H0 is rejected if Z < - 1 . 9 6 o r Z > 1 . 9 6 t- test.
x - ■ Is there a significant difference in Calculus
t =
s grades between private and public SHS
n students?
4. Rejection Region: Since it is a one-tailed test ■ Do women have higher EQ than men?
based on H 1 : > 1 1 minutes, the rejection
region is in the right tail of the t distribution, given The following is the summary of the
by with degrees of freedom steps when performing hypothesis
testing.
df = n - 1 = 20 - 1 =19
1. Formulate the null and alternative hypotheses.
2. Specify the level of significance to be used.
3. Select the appropriate test statistic.
4. Establish the rejection region/regions.
5. Compute the actual value of the test statistic from
the sample.
6. Make a statistical decision.
7. Draw the appropriate conclusion.
6. Statistical decision
Since t = 3.889 is in the rejection region, H0 is
rejected.
7. Conclusion: There is sufficient evidence to claim
that that mean time to pack one dozen of hotdog
manually is more than 11 seconds.
n1 100 n2 100
x1 45 x2 38
s1 5.24 s2 4.75
Solution:
Let µ 1 = mean completion time for men Based from the Z distribution table, since the area of
0.4950 is in between Z = 2.57 and Z = 2.58, then the
critical value of the test is
2 = mean completion time for women
d = 0 (hypothesized difference)
Thus, H0 is rejected if Z < - 2 . 5 7 5 o r Z > 2 . 5 7 5
0
2. Significance level: = 0 .0 1
3. Test Statistic: Since both sample sizes are large, we
can use an approximate Z-test, given by
(x 1 - x 2 )- d 0
Z =
2 2
s1 + s 2
n1 n 2
7. Conclusion
There is a significant difference in the mean completion
times to perform a certain assembly-line task between
men and women. Thus, H0 is rejected if t > 1.701, otherwise, H0 is not
rejected.
Example 2 (One-tailed t-test) 5. Computation
A certain electronics company investigated the life span First, solve for the pooled standard deviation S p and
between two brands of laptop with the same then solve for t.
specifications. A random sample of 15 Brand X laptops
( n 1 - 1 ) s 12 + ( n 2 - 1 ) s 22 (1 5 - 1 )( 0 . 6 0 ) 2 + (1 5 - 1 )( 0 . 8 5 ) 2
showed a mean lifespan of 7.75 years with a standard s =
p = = 0 .7 3 5 7
n1 + n 2 - 2 15 + 15 - 2
deviation of 0.60 year while another random sample of
15 Brand Y laptops showed a mean lifespan of 6.25 (x 1 - x )- d (7 . 7 5
2 0 - 6 .2 5 ) - 0
years with a standard deviation of 0.85 year. Assume t = = = 5 .5 8 4
that the population variances are equal. At 0.05 level of s × 1 + 1 (0 . 7 3 5 7 ) × 1 + 1
p n1 n 2 15 15
significance, is there sufficient evidence to claim that 6. Statistical decision
Brand X laptops have significantly longer mean life span Since is in the rejection region, H0 is rejected
than Brand Y?
Solution:
Let 1 = mean life span of Brand X laptop
7. Conclusion
2 = mean life span of Brand Y laptop There is sufficient evidence to claim that Brand X
d 0 = 0 (hypothesized difference) laptops have significantly longer mean life span than
Brand Y.
Steps in hypothesis testing
1. Null and alternative hypotheses EXCEL
H0: There is no significant difference in the mean life t-test: two independent samples assuming unequal
span between Brand X and Brand Y laptops. variances
H1: Brand X laptops have significantly longer mean life Women Men
span than Brand Y laptops. 110 100
(In symbols) H 0 : µ1 - µ2 = 0 versus 100 90
H 1 : 1 - 2 > 0 150 95
2. Significance level: = 0 .0 5 200 112
3. Test Statistic: Since it is assumed that the population 160 115
variances are equal, that is s 1 = s 2 but unknown and 170 89
n1 < 30, n < 3 0 . Then the appropriate test statistic is 180 95
2