Professional Documents
Culture Documents
Z-Test and Its Applications
Z-Test and Its Applications
Z-Test and Its Applications
Introduction
• We have seen that for large values of n, the number of trials,
almost all the distributions e.g., Binomial, Poisson etc. are very
closely approximated by Normal distribution and in this case we
apply Normal Deviate test (Z-test).
• In cases where the population variance (s) is/are known, we use
Z-test.
• The distribution of Z is always normal with mean zero and
variance one.
• In this lesson we shall be studying the problem relating to test of
significance for large samples only.
• In statistics a sample is said to be large if its size exceeds 30.
Test of Significance for Large Samples
• In cases where the population variance(s) is/are known, we use Z-
test.
• Moreover when the sample size is large, sample variance
approaches population variance and is deemed to be almost
equal to population variance.
• In this way, the population variance is known even if we have
sample data and hence the normal deviate test is applicable. The
distribution of Z is always normal with mean zero and variance
one.
• Thus, if X ~ N(μ, σ2)
• From normal probability tables, we have
• P[-3≤Z≤3+ = P *≤3+ = 0.9973 P *>3+ = 1-P *≤3+ = 0.0027. Thus, the
value of Z=3 is regarded as critical or significant value at all levels
of significance.
• Thus if ІZI >3, Ho is always rejected. If ІZI <3, we test its
significance at certain level of significance usually at 5% and
sometimes at 1% level of significance.
• Also P[ІZI >1.96]=0.05 and P[ІZI >2.58]=0.01.
• Thus, significant values of Z at 5% and 1% level of significance are
1.96 and 2.58 respectively.
• If ІZI >1.96, Ho is rejected at 5% level of significance if ІZI <1.96, Ho
may be retained at 5% level of significance. Similarly ІZI >2.58, Ho
is rejected at 1% level of significance and if ІZI <2.58, Ho is
retained at 1% level of significance.
Applications of Z Test
1. Test for single proportion
• If the observations on various items or objects are categorized into two
classes c1 and c2 (binomial population), viz. defective or not defective
item, we often want to test the hypothesis, whether the proportion of
items in a particular class, viz., defective items is P0 or not.
• For example, the management of a dairy plant is interested in knowing
that whether the population of leaked pouches filled by automatic milk
filling machine is one percent. Thus for binomial population, the
hypothesis we want to test is whether the sample proportion is
representative of the Population proportion P = P0 against H1: P≠P0 or
H1: P>P0 or H1: P<P0 can be tested by Z-test where P is the actual
proportion of items in the population belonging to class c1. Proportions
are mostly based on large samples and hence Z-test is applied.
• Since for the large sample, p1, and p2 are asymptotically normally
distributed, (p1−p2) is also normally distributed. Therefore, the Z-
statistic for difference between two proportions is given by
Applications of Z Test
2. Test of Significance for difference of proportions
• If we have two populations and each item of a population belong
to either of the two classes C1 and C2. A person is often interested
to know whether the proportion of items in class C1 in both the
populations is same or not
• H0: P1=P2 against H1: P1≠P2 or P1>P2 or P1<P2 where P1 and P2 are
the proportions of items in the two populations belonging to class
C1.
• Let X1, X2 be the number of items belonging to class C1 in random
samples of sizes n1 and n2 from the two populations respectively.
Then the sample proportion
• Since for the large sample, p1, and p2 are asymptotically normally
distributed, (p1−p2) is also normally distributed. Therefore, the Z-
statistic for difference between two proportions is given by
• When P1and P2 are not known, then