Test Statistic_Note
Test Statistic_Note
Test Statistic The decision to accept or to reject a null hypothesis is made on the basis of a
statistic computed from the sample. Such a statistic is called the test statistic.
There are 2 different types of test statistic.
They are,
a) Parametric Tests
b) Non-Parametric Tests
Parametric test
Parametric tests are statistical tests that make certain assumptions about the parameters
of the population distribution from which the sample is drawn. These tests are typically
used when the data follows normal distribution.
Assumptions:
− Normal Distribution: The data should be approximately normally distributed,
− Homogeneity of Variance: The variances within each group being compared should be
equal.
− Interval or Ratio Data: The data should be measured on an interval or ratio scale.
Small sample
If the sample size n ils less than 30 (n<30), it is known as small sample. For small
samples the sampling distributions are t, F and χ2 distribution.
Degree of freedom
− It is defined as the no. of independent observation which is obtained by subtracting the
no. of constrains from the total no. of observations.
− df = no: of items in the series – 1 = n-1
Where, n is the number of variables in the series in a row or column
Z - test
• Z - test is used to determine whether two population means are different when the
variances(SD known)are known. (in general)
• Sample size is greater than 30. (n ≥ 30) Otherwise, use a t test.
• Quantitative data
• Data should be normally distributed.
• Data should be randomly selected from a population
• When the samples are taken from population are independent
t - test
• The Student t-test is probably the most widely used parametric test.
• The t-statistic was introduced in 1908 by William Sealy Gosset.
• t - test compares the difference between two means of different groups
• All the observations must be independent
• Variable normally distributed
• Sample size should be small (n< 30)
• Quantitative data
• Random samples
» Test statistics:
̅ 1 −X
X ̅2
t=
S.E
1 1
𝑆. 𝐸(𝑆𝑡𝑎𝑛𝑑𝑎𝑟𝑑 𝑒𝑟𝑟𝑜𝑟) = 𝑠√(𝑛 ) + (𝑛 )
1 2
̅ 1 )2 + Σ ( X2 –X
Σ ( X1 –X ̅ 2 )2
s (SD) = √
n1 + n2 – 2
» Decision:
If the calculated test statistic is greater than the appropriate critical table value of the test,
then reject the null hypothesis.
Test of Hypothesis of Difference in the case of dependent samples
Paired t-test(dependent Sample t test) can be used to compare the means of two repeated
measures or compares study subjects at 2 different times (paired observations of the same
subject) [(before - after) (pre – post) ]
“Sometimes multiple measurements are made on the same person, RMANOVA to be used in
such situation”
» Hypothesis:
» Test statistics:
̅
X
𝑡= 𝒔
√𝒏
x = x1 – x2
𝜮 (𝑿 − 𝑿) ̅ 𝟐
S. D = 𝑠 = √ 𝒏 −𝟏
» Decision:
If the calculated test statistic is greater than the appropriate critical table value of the test,
then reject the null hypothesis.
H0: There is no significant difference between the observed frequencies and the expected
frequencies.
Or
There is no association between two categorical variables.
» Test statistics:
(𝑶𝒊 - 𝑬𝒊)𝟐
𝝌𝟐 = 𝜮 𝑬𝒊
Where,
Oi = observed value(s)
Ei = expected value(s)
» Decision:
If the calculated test statistic is greater than the appropriate critical table value of the test,
then reject the null hypothesis.