Professional Documents
Culture Documents
Parametrictest
Parametrictest
2
t test
anova
ancova
manova
Princy Francis M
Ist Yr MSc(N)
JMCON
DEFINITION
Statistics is a branch of science that deals with the
collection, organisation, analysis of data and drawing of
inferences from the samples to the whole population.
Statistical tests are intended to decide whether a
hypothesis about distribution of one or more
populations or samples should be rejected or accepted.
DEFINITION
• Developed by Prof.W.S.Gossett
• Student's t-test is used to test the null hypothesis that
there is no difference between the means of the two
groups
Example :
• Compare the height of girls and boys.
• compare 2 stress reduction interventions
ILLUSTRATION
Mean Hb level of 5 male are 10, 11, 12.5, 10.5, 12 and 5 female are 10,
17.5, 14.2,15 and 14.1 . Test whether there is any significant difference
between Hb values.
• H0: There is no significant difference between Hb Level
• H1: There is significant difference between Hb level.
𝑥1 −𝑥2
t=
𝑛1 −1 𝑆2 2
1 + 𝑛2 −1 𝑆2 1 + 1
𝑛1 +𝑛2 −2 𝑛1 𝑛2
X1 X2 2 2
X1 - 𝑥1 X2 - 𝑥2 (X1 - 𝑥1 ) (X2 - 𝑥2 )
10 10 -1.2 -4.16 1.44 17.305
11 17.5 - 0.2 3.34 0.04 11.156
12.5 14.2 1.3 0.04 1.69 0.0016
10.5 15 -0.7 0.84 0.49 0.706
12 14.1 0.8 -0.06 0.64 0.0036
Σ = 56 70.8 4.3 29.172
where 𝑑 is the mean difference and Sd denotes the standard deviation of the
difference.
Example
Systolic BP of 5 patients before and after a drug therapy is
Before 160, 150, 170, 130, 140
After 140, 110, 120, 140, 130
Test whether there is any significant difference between BP level.
where MST is the mean squares between the groups and MSE is the
mean squares within groups
ONE WAY ANOVA
TYPES
TWO WAY ANOVA
ONE WAY ANOVA
Example.
• 1. Compare control group with three different doses of
aspirin in rats
• 2. Effect of supplementation of vit C in each subject
before, during and after the treatment.
One way ANOVA table
Source d.f Sum of Mean Square F
Square
Between t-1 SST MST = SST/t-1 F= MST/MSE
treatment
~ F (t-1),(n-t)
Within
n-t SSE MSE = SSE/n-t
treatment
error
Example :
• Effect of two antihypertensive drugs in two different doses
• Comparing the employee productivity based on the working
hours and working conditions
Two way ANOVA table
Source d.f Sum of Mean Square F
Square
Treatme t-1 SST MST = SST/t-1 Ft= MST/MSE
nt
r-1 SSB MSB = SSB/r-1 ~ F (t-1), (t-1) (r-1)
Blocks
(r-1)(t-1) SSE MSE = SSE/(r-1)(t- Fb= MSB/MSE
Error 1)
~ F (r-1), (t-1) (r-1)
• ANCOVA works by adjusting the total SS, group SS, and error SS of the
independent variable to remove the influence of the covariate
Yij = µ + ti + β (xij - 𝑥) + eij
• Where Yij is the jth observation on the response variable under ith
treatment , µ is mean of x variable, ti is ith treatment effect
• β linear regression coefficient
• eij random error component which is independently and normally
distributed with mean zero and variance
Sum of Squares
Sum of Products
• To control for the covariate, the sum of products (SP) for the
dependent variable and covariate must also be used.
•
• Using the SS’s for the covariate and the dependent variable, and the
SP’s, adjust the SS’s for the dependent variable
Test Statistic
• F = Mean square of β / adjusted error mean square
ADVANTAGES
• Better power
• Improved ability to detect and estimate
interactions
• The availability of extensions to deal with
measurement error in the covariates.
DISADVANTAGES