Parametric Test
Parametric Test
Statistical Test
Parametric tests
Non-parametric tests
Parametric test: -
parametric test is a statistical test that makes assumptions
about the parameters of the population distribution from which one’s data
is drawn.
Application: -
Used for quantitative data.
Used for continuous variables.
Used when data are measured on approximate interval or ratio scales of
measurement.
Data should follow normal distribution.
Parametric tests
1.t-test
t-test
t-test for
one sample
Paired two
samples t-test
2. ANOVA
3.Z- test
4.F- Test
Student’s t-test
A t-test compares the difference between two means of different groups to determine
whether the difference is statistically significant.
one sample t-test
Assumptions:
Conditions:
Population standard deviation is not known
Size of the sample is small (<30)
We draw a random sample from the population and then compare the sample
mean with the population mean and make a statistical decision as to whether or
not the sample mean is different from the population.
Let x1 , X2, ......Xn, be a random sample of size "n" has drawn from a normal
population with mean (µ) and variance σ2. let x̄ is the sample mean of sample size
“n”.
Null hypothesis (H0):
Population mean (µ) is equal to a specified value µ0.
Under H0, H0:µ= µ0
then the test statistic is
t = x̄ - µ0 /s/√n
Solution: Taking the null hypothesis that the population mean is equal to hypothesised mean of
578 kg., we can write: H0 :µ = µH0 = 578 g.
Ha : μ ≠ µH0
As the sample size is small (since n = 10) and the population standard deviation is not known,
we shall use t-test assuming normal population and shall work out the test statistic t as under:
t = x̄ - µ0 /s/√n
Used when the two independent random samples come from the normal populations having
unknown or same variance.
We test the null hypothesis that the two population means are same
i.e., µ1=µ2
Assumptions
1. Populations are distributed normally
2. Samples are drawn independently and at random
Conditions:
1. Standard deviation in the populations are same and not known
2. Size of the sample is small.
If two independent samples x, (i=1,2,..n,) and y, (j=1,2,...n) of sizes n1,and n2, have been
drawn from two normal populations with means,µ1 and µ2 respectively.
Null hypothesis
Ho: µx=µy vs H1
t = (x̄ - y̅ ) /s √(1/n1+1/n2 )
Example:
Memory capacity of 9 students was tested before and after training. State at 5 per
cent level of significance whether the training was effective from the following
scores: stude
nt
1 2 3 4 5 6 7 8 9
before 10 15 9 3 7 12 16 17 4
after 12 17 8 5 6 11 18 20 3
Solution:
Take the score before training as X and the score after training as Y and then taking the null
hypothesis that the mean of difference is zero,
we can write:
H0: µ1=µ2
Ha: μ 1<µ2 (as we want to conclude that training has been effective)
As we are having matched pairs, we use paired t-test and work out the test statistic t as under:
t = d̅ /s /√n
To find the value of t, we shall first have to work out the mean and standard deviation of
differences as shown below:
students Score before Scores after Di=xi-yi di2
training xi training yi
1 10 12 -2 4
2 15 17 -2 4
3 9 8 1 1
4 3 5 -2 4
5 7 6 1 1
6 12 11 1 1
7 16 18 -2 4
8 17 20 -3 9
9 4 3 1 1
n=9 ∑di= -7 ∑di2=29
The observed value of t is –1.361 which is in the acceptance region and thus, we accept H 0
And conclude that the difference in score before and after training is insignificant i.e., it is
only due to sampling fluctuations. Hence we can infer that the training was not effective.
Large sample test (Z-Test)
Z-test is a statistical test where normal distribution is applied and is basically used for dealing
with problems relating to large samples when the frequency is greater than or equal to30.
It is used when population standard deviation is known
Assumptions:
1. Populations are distributed normally
2. Samples are drawn at random
Conditions:
3. Population standard deviation sigma is known.
4. Size of the sample is large(say n>30)
Developed by R.A.Fisher.
Under the one-way ANOVA, we consider only one factor and then observe that
the reason for said factor to be important is that several possible types of
samples can occur within that factor. We then determine if there are differences
within that factor.
Two way ANOVA
Used to determine the effect of two nominal predictor variables on a continuous outcome
variable.
It analyses the effect of the independent variables on the expected outcome along with their
relationship to the outcome itself.
Ex: Comparing the employee productivity based on the working hours and working
conditions.
Two-way ANOVA technique is used when the data are classified on the basis of two factors.
For example, the agricultural output may be classified on the basis of different varieties of
seeds and also on the basis of different varieties of fertilizers used. A business firm may have
its sales data classified on the basis of different salesmen and also on the basis of sales in
different regions. In a factory, the various units of a product produced during a certain period
may be classified on the basis of different varieties of machines used and also on the basis of
different grades of labour. Such a two-way design may have repeated measurements of each
factor or may not have repeated values.
Assumptions of ANOVA:
The samples are independent and selected randomly.
Parent population from which samples are taken is of normal distribution.
The experimental errors are distributed normally with mean zero and variance o2