You are on page 1of 13

International Journal of Multidisciplinary and Current

Educational Research (IJMCER)


ISSN: 2581-7027 ||Volume|| 2 ||Issue|| 1 ||Pages|| 09-21 ||2020||

Analysis of variance of global experiments with repeated


measurements with practical application
Zaineb Salih Hameed , Salam Abdulhussein Sehen, Sara Mahdi Abooud ,
Marwi Adil Mutlag, Yusra Rasim Jabbar
University of AL-Qadisiyah, Iraq

ABSTRACT: The global experiments in the presence of repeated measurements are represented in the case
of three overlapping factors and the third factor is represented by experimental units (Subjects). Repeated
measurements or treatments are taken for experimental units and these treatments are treated as a fourth factor.
This type of experiment has been analyzed by the parameterized methods represented by the F test. If the
conditions for variance analysis are available for repeated measurement experiments, and if the conditions are
not met, we use the non-parametric methods of converting to the ranks.
The purpose of this research is an analytical study of this type of experiment by non-parametric and non-
parametric methods and the application of this experiment to thalassemia in DhiQar

I. INTRODUCTION AND GOAL


Designs of repeated measurements is a method used in designs of experiments that are taken measurements
repeatedly for each experimental unit and there will usually be a link between observations within the
experimental unit. Repetitive measurements designs are used to increase the accuracy of experiments by
omitting or neglecting the differences between experimental units to estimate the effects of treatment and
experimental error. This type of designs is very useful when the experimental units are limited and this type of
analysis in the design of experiments is widespread, especially in psychology and in analytical experiences and
educational research.
In this paper, we assume that we have a nested experience of two factors, that is, the first factor (A) has (b)
levels and the second factor (B) and has (q) levels since the levels of the second factor (B) are nested within the
levels of the first factor (A) And then this relationship is denoted by the symbol (A) B and the second factor (B)
is called the Nested Factor and the first factor (A) by the factor Factor Nest then the experimental units are
taken for each level of the interfering factor (B) where these experimental units are considered as a third factor
(C) ) It has (n) levels, and the levels of the third factor are intertwined within the levels of both the first (A) and
the second (B) levels. (AB) It is called the three-stage cross-design, and then takes the responses for each
experimental unit with different time periods and this process is known as the repeated measurements where the
responses of the same experimental unit are combined and these repeated measurements will be considered as a
fourth factor (D) and has (r) from the levels where the levels of the fourth factor Intersecting with the levels of
the first factor (A) as well as intersecting with the levels of the second factor (B) within the levels of the first
factor (A) as well as intersecting with the levels of the third factor (C) within the levels of both the first factors
(A) and the second (B) therefore we will have an experiment Interfering operation with repeated measurements.
As shown in the following figure, where X means an intersection relationship and o means an interference
relationship

|Volume 2| Issue 1 | www.ijmcer.com Page 9


Analysis of variance of global experiments with repeated measurements with practical application

x
D B

C
(‫الشكل‬1. ‫) مخطط لتجربة عامليه متداخلة بوجود قياسات متكررة‬
Factor D
Factor A Factor B Factor C
𝐝𝟏 𝐝𝟐 . . . 𝐝𝐫
1 Y1111 Y1112 . . . Y111r
2 Y1121 Y1122 . . . Y112r
. . . .
𝐛𝟏 . . . .
. . . .
𝐧𝟏 Y11n11 Y11n12 . . . Y11n1r
1 Y1211 Y1212 . . . Y121r
𝐚𝟏 2 Y1221 Y1222 . . . Y122r
𝐛𝟐 . . . .
. . . .
. . . .
𝐧𝟐 Y12n21 Y12n22 . . . Y12n2r
1 Y1q′11 Y1q′12 . . . Y1q′ 1r
2 Y1q′21 Y1q′22 . . . Y1q′ 2r
𝐛𝐪′ . . . .
. . . .
. . . .
Y1q′n ′ 1 Y1q′n ′ 2 . . . Y1q′n ′ r
𝐧𝐛𝐪′ bq bq bq

1 Yp1′ 11 Yp1′12 . . . Yp1′ 1r


2 Yp1′ 21 Yp1′22 . . . Yp1′ 2r
𝐛𝟏′ . . . .
. . . .
. . . .
𝐧𝐛𝟏′ Yp1′ n ′ 1 Yp1′n ′ 2 . . . Yp1′ n r
b1 b1 b1′
𝐚𝐩 1 Yp2′11 Yp2′12 . . . Yp2′ 1r
2 Yp2′21 Yp2′22 . . . Yp2′ 2r
𝐛𝟐′ . . . .
. . . .
. . . .
𝐧𝐛𝟐′ Yp2′𝐧 ′ 1 Yp2′𝐧 ′ 2 . . . Yp2′ 𝐧 r
𝐛𝟐 𝐛𝟐 𝐛𝟐′

|Volume 2| Issue 1 | www.ijmcer.com Page 10


Analysis of variance of global experiments with repeated measurements with practical application

. . . . .
. . . . .
. . . . .

1 Ypq11 Ypq12 . . . Ypq1r


2 Ypq21 Ypq22 . . . Ypq2r
𝐛𝐪 . . . .
. . . .
. . . .
𝐧𝐛𝐪 Ypqnbq 1 Ypqnbq2 . . . Ypqnbqr

Table (1) is a chart of two experiments with repeated measurements


The aim of this research is an analytical study of interferential globalization experiments with the presence of
repeated measurements with the parameter methods represented by the F test as well as the nonparametric
methods by converting data to the ranks.
the theoretical side
This topic deals with the mathematical model and the variance analysis test (F) for this experiment
Mathematical model
A mixed linear model for this experiment can be written as follows:
Y_ijkL = μ + A_i + B_j (i) + C_ (k (ij)) + D_L + AD_ (iL) + DB_Lj (i) + 〖E〗 _kL (ij) ... (1)
i = 1,2,. . . , p; j = 1,2,. . ., q;
k = 1,2,. . ., n; L = 1,2,. . ., r;
whereas:
Y_ijkL: the value of the observation below the level (i) of the first factor (A), the level (j) of the second factor
(B) interfering within the level (i) of the first factor (A) and the level (k) of the third factor (C) interfering
within The levels (j, i) of the first factors (A) and the second (B), respectively, and the level (L) of the fourth
factor (D.)
:‫ تمثل‬represents the average mean effect and is constant and unknown.
A_i: Effect of Level (i) from Factor One (A.)
B_ (j (i)): effect of the level (j) of the second factor (B) interfering within the level (i) of the first factor (A.)
C_k (ij): effect of the level (k) of the third factor (C) intertwined within both levels (j, i) of the first factors (A)
and the second B)), respectively, which is a random variable
That is to say- :
〖C〗 _ (k (ij)) ~ N (0, σ_c ^ 2)
:D_L effect of level (L) of the fourth factor (D) representing repeated measurements.
AD_iL: effect of the interaction between level (i) of first factor (A) and level (L) of fourth factor (D.)
DB_ (Lj (i)): effect of the interaction between level (L) of the fourth factor D)) and the level (j) of the second
factor (B) interfering within the level (i) of the first factor (A.)
〖E〗 _ (kL (ij)): the effect of a random error resulting from the effect of the interaction between the level (L) of
the fourth factor (D) and the level (k) of the third factor C)) interfering under both levels (j, i) of the factor First
(A) and second factor (B)

ANOVA Table
The methods or mathematical formulas appropriate for calculating the sums of squares are obtained as follows:
p q n r
2
= ∑ ∑ ∑ ∑(YijkL – ̅
Y…. )
SST
i=1 j=1 k=1 L=1
p q n r
2
= ∑ ∑ ∑ ∑(YijkL – ̅
Yijk. + ̅
Yijk. – ̅
Y…. )
i=1 j=1 k=1 L=1
p q n r p q n
2
̅…. )2
̅ijk. ) + r ∑ ∑ ∑( ̅Yijk. − Y
= ∑ ∑ ∑ ∑(YijkL − Y
i=1 j=1 k=1 L=1 i=1 j=1 k=1
p q n r
̅ijk. )( ̅Yijk. − Y
+ 2 ∑ ∑ ∑ ∑(YijkL − Y ̅…. )
i=1 j=1 k=1 L=1

|Volume 2| Issue 1 | www.ijmcer.com Page 11


Analysis of variance of global experiments with repeated measurements with practical application
p q n r p q n
2 2
= ∑ ∑ ∑ ∑(YijkL − ̅
Yijk. ) + r ∑ ∑ ∑( ̅Yijk. − ̅
Y…. ) + 2( 0 )
i=1 j=1 k=1 L=1 i=1 j=1 k=1
= SSWithin + SSBetween
‫وذلك بسبب أن‬
p q n r
̅ijk. )( ̅Yijk. − Y
∑ ∑ ∑ ∑(YijkL − Y ̅…. )
i=1 j=1 k=1 L=1
p q n r

= ∑ ∑ ∑( ̅Yijk. − Y
̅…. ) [∑(YijkL − Y
̅ijk. )] = 0
i=1 j=1 k=1 L=1
p q n r
̅ijk. )2
SSW = ∑ ∑ ∑ ∑(YijkL − Y
i=1 j=1 k=1 L=1
p q n r

= ∑ ∑ ∑ ∑(YijkL − ̅
Yijk. − ̅
Y…. + ̅
Y…. − ̅
Yi..L + ̅
Yi..L − ̅
Yij.L + ̅
Yij.L − ̅
Yij.. + ̅
Yij.. − ̅
Y…L
i=1 j=1 k=1 L=1
2

Y…L − ̅
Yi… + ̅
Yi… )
p q n r
2
= ∑ ∑ ∑ ∑(YijkL − ̅
Yijk. − ̅
Yij.L + ̅
Yij.. )
i=1 j=1 k=1 L=1
p q n r
2
̅ij.L − ̅Yij.. − ̅
+ ∑ ∑ ∑ ∑(Y Yi..L + ̅
Yi… )
i=1 j=1 k=1 L=1
p q n r p q n r
̅i..L − Y
+ ∑ ∑ ∑ ∑(Y ̅i… − Y
̅…L + Y
̅…. )2 + ∑ ∑ ∑ ∑( ̅Y…L − Y
̅…. )2
i=1 j=1 k=1 L=1 i=1 j=1 k=1 L=1
= SSD + SSAD + SSDB(A) + SSDC(AB)
p q n p q n
2 2
SSB = r ∑ ∑ ∑( ̅Yijk. − ̅
Y…. ) = r ∑ ∑ ∑( ̅Yijk. − ̅
Y…. − ̅
Yi… + ̅
Yi… − ̅Yij.. + ̅Yij.. )
i=1 j=1 k=1 i=1 j=1 k=1
p q n p q n p q n
2
= r ∑ ∑ ∑( ̅Yi… − Y
̅…. )2 + r ∑ ∑ ∑( ̅Yij.. − Y
̅i… ) ̅ij.. )2
+ r ∑ ∑ ∑( ̅Yijk. − Y
i=1 j=1 k=1 i=1 j=1 k=1 i=1 j=1 k=1
+ 2 ( 0 ) = SSA + SSB(A) + SSC(AB)
p q n r
Y2
[1] = …. = C. F 2
[2] = ∑ ∑ ∑ ∑ YijkL
pqnr
i=1 j=1 k=1 L=1
∑pi=1 Yi…
2 ∑qj=1 Y.j..
2
[3] = [4] =
nqr npr
∑nk=1 Y..k.
2 ∑r Y 2
[5] = [6] = L=1 ...L
pqr npq
∑pi=1 ∑qj=1 Yij..
2
∑pi=1 ∑nk=1 Yi.k.
2
[7] = [8] =
nr qr
∑pi=1 ∑rL=1 Yi..L
2 ∑qj=1 ∑nk=1 Y.jk.
2
[9] = [10] =
nq pr
∑qj=1 ∑rL=1 Y.j.L
2
∑nk=1 ∑rL=1 Y..kL
2
[11] = [12] =
np pq
∑pi=1 ∑qj=1 ∑nk=1 Yijk.
2 ∑pi=1 ∑qj=1 ∑rL=1 Yij.L
2
[13] = [14] =
r n
∑qj=1 ∑nk=1 ∑rL=1 Y.jkL
2
∑pi=1 ∑nk=1 ∑rL=1 Yi.kL
2
[15] = [16] =
p q
The table of variance analysis for the following design is shown in the table below:
The sum of the total squares will be:
SST = 2− 1 = SSB + SSW… (2)
|Volume 2| Issue 1 | www.ijmcer.com Page 12
Analysis of variance of global experiments with repeated measurements with practical application

Sum of squares between experimental units:


SSB = 13− 1 = SSA + SSB (A) + SSCAB… (3)
Sum of squares inside experimental units:
SSW = 2− 13 = SSD + SSAD + SSDB (A) + SSDC (AB) ... (4)
The sum of the squares of the first factor A will be:
SSA = 3− 1… (5)
The sum of squares of the third factor (experimental units) that are nested within the first factor (A) and the
second factor (B:)
SSC (AB) = 13− 7… (6)
The sum of the squares of the second factor (B) that overlap within the first factor (A) will be:
SSB (A) = 7− 3… (7)
The sum of the squares of the fourth factor (repeated measurements) (D) will be:
SSD = 6− 1… 8
The sum of the squares of the interaction between the first factor (A) and the fourth factor (D) is:
SSAD = 9− 3− 6+ 1… (9)
The sum of the squares of the interaction between the fourth factor (D) and the second factor (B) in the first
factor (A)
SSDB (A) = 14− 7−9 + 3… (10)
The sum of the squares of the error is:
SSError = SSDC (AB) = 2−13−14 + 7… (11)
As these interconnected global experiences are considered to be three balanced stages, whereas balanced
interrelated trials mean the number of levels of interfering factor equal within each level of interfering factor,
meaning that the levels of interfering factor (B) are equal within each level of interfering factor (A) as well as
factor levels The overlap (C) is equal within each level of the interference factor (B.)
Likewise:
𝟏 − SSB(A) = SSB + SSAB … (12)
∑qj Y.j..
2 2
Y….
∗ SSB = − = [4] − [1]
pnr pqnr
∑pi ∑qj Yij..
2
∑p Yi…2 ∑qj Y.j..
2 2
Y….
∗ SSAB = − i − +
nr qnr pnr pqnr
= [7] − [3] − [4] + [1]
∑qj Y.j..
2
Y….2 ∑pi ∑qj Yij..
2
∑p Yi… 2 ∑qj Y.j..
2 2
Y….
∗ SSB(A) = – + − i − +
pnr pqnr nr qnr pnr pqnr
= [4] − [1] + [7] − [3] − [4] + [1]
∑pi ∑qj Yij..
2
∑p Yi… 2
= – i = [7] − [3]
nr qnr
𝟐 − SSC(AB) = SSC + SSAC + SSBC + SSABC … (13)
∑nk Y..k.
2 2
Y….
∗ SSC = − = [5] − [1]
pqr pqnr
p n 2 p 2
∑ ∑k Yi.k. ∑i Yi… ∑nk Y..k. 2
Y…. 2
∗ SSAC = i − − +
qr qnr pqr pqnr
= [8] − [3] − [5] + [1]
∑qj ∑nk Y.jk.
2 ∑qj Y.j..
2
∑n Y 2 2
Y….
∗ SSBC = − − k ..k. +
pr pnr pqr pqnr
= [10] − [4] − [5] + [1]
∑pi ∑qj ∑nk Yijk.
2
∑p Yi…2 ∑qj Y.j..
2
∑nk Y..k.
2 ∑pi ∑qj Yij..
2
∑p ∑nk Yi.k.
2 ∑qj ∑nk Y.jk.
2 2
Y….
∗ SSABC = + i + + − – i – –
r qnr pnr pqr nr qr pr pqnr
= [13] + [3] + [4] + [5] − [7] − [8] − [10] − [1]

|Volume 2| Issue 1 | www.ijmcer.com Page 13


Analysis of variance of global experiments with repeated measurements with practical application

∑nk Y..k.
2
Y….2 ∑pi ∑nk Yi.k.
2 ∑pi Yi…2 ∑nk Y..k.
2 2
Y…. ∑qj ∑nk Y.jk.
2 ∑qj Y.j..
2
∑nk Y..k.
2
∴ SSC(AB) = − + − − + + − −
pqr pqnr qr qnr pqr pqnr pr pnr pqr
2
Y…. ∑pi ∑qj ∑nk Yijk.
2
∑pi Yi…2 ∑qj Y.j..
2
∑nk Y..k.
2
+ + + + +
pqnr r qnr pnr pqr
p q 2 q
∑i ∑j Yij.. ∑pi ∑nk Yi.k.
2 ∑j ∑nk Y.jk.
2
Y…. 2
− – – –
nr qr pr pqnr
= [5] − [1] + [8] − [3] − [5] + [1] + [10] − [4] − [5] + [1] + [13] + [3] + [4]
+ [5] − [7] − [8] − [10] − [1]
∑pi ∑qj ∑nk Yijk.2 ∑pi ∑qj Yij..
2
= − = [13] − [7]
r nr
𝟑 − SSDB(A) = SSDB + SSDBA … (14)
∑qj ∑rL Y.j.L
2 ∑qj Y.j..2 r 2
∑L Y...L Y….2
∗ SSDB = − − +
np pnr npq pqnr
= [11] − [4] – [6] + [1]
∑pi ∑qj ∑rL Yij.L
2
∑pi Yi…
2 ∑qj Y.j..
2
∑rL Y…L2 ∑pi ∑qj Yij..2
∑pi ∑rL Yi..L
2 ∑qj ∑rL Y.j.L
2 2
Y….
∗ SSDBA = + + + − − − –
n qnr pnr npq nr nq np pqnr
= [14] + [3] + [4] + [6] − [7] − [9] − [11] − [1]
∑qj ∑rL Y.j.L
2 ∑qj Y.j..
2
∑rL Y...L
2 2
Y…. ∑pi ∑qj ∑rL Yij.L 2
∑p Yi… 2 ∑qj Y.j..
2
∑rL Y...L
2 ∑pi ∑qj Yij..
2
∴ SSDB(A) = − − + + + i + + −
np pnr npq pqnr n qnr pnr npq nr
∑pi ∑rL Yi..L 2 ∑qj ∑rL Y.j.L2 2
Y….
− − −
nq np pqnr
= [11] − [4] − [6] + [1] + [14] + [3] + [4] + [6] − [7] − [9] − [11] − [1]
∑pi ∑qj ∑rL Yij.L 2
∑p Yi… 2 ∑pi ∑qj Yij..
2
∑p ∑rL Yi..L 2
= + i − − i
n qnr nr nq
= [14] + [3] − [7] − [9]
𝟒 − SSDC(AB) = SSDC + SSACD + SSBCD + SSABCD … (15)
∑n ∑rL Y..kL
2 ∑n Y 2 ∑rL Y...L
2 2
Y….
∗ SSDC = k − k ..k. − +
pq pqr npq pqnr
= [12] − [5] − [6] + [1]
∑pi ∑nk ∑rL Yi.kL
2 ∑pi Yi…
2 ∑nk Y..k.
2 ∑rL Y...L
2 ∑pi ∑nk Yi.k. 2 ∑pi ∑rL Yi..L
2 ∑n ∑rL Y..kL
2 2
Y….
∗ SSACD = + + + − − − k −
q qnr pqr npq qr nq pq pqnr
= [16] + [3] + [5] + [6] − [8] − [9] − [12] − [1]
∑qj ∑nk ∑rL Y.jkL
2 ∑qj Y.j..
2
∑nk Y..k.
2 ∑rL Y...L
2 ∑qj ∑nk Y.jk.2 ∑qj ∑rL Y.j.L
2
∑n ∑rL Y..kL
2 2
Y….
∗ SSBCD = + + + – − − k −
p pnr pqr npq pr np pq pqnr
= [15] + [4] + [5] + [6] − [10] − [11] − [12] − [1]
p q n r
∑pi ∑qj ∑nk Yijk.
2 ∑pi ∑qj ∑rL Yij.L2
∑p ∑n ∑rL Yi.kL2 ∑qj ∑nk ∑rL Y.jkL
2
∑p Yi…
2
∗ SSABCD = ∑ ∑ ∑ ∑ YijkL 2
− − − i k − − i
r n q p qnr
i j k L
∑qj Y.j..
2
∑nk Y..k.
2 ∑rL Y...L
2 ∑pi ∑qj Yij..
2
∑p ∑n Y 2 ∑p ∑rL Yi..L
2 ∑qj ∑nk Y.jk.
2 ∑qj ∑rL Y.j.L
2
− − − + + i k i.k. + i + +
pnr pqr npq nr qr nq pr np
∑nk ∑rL Y..kL
2
Y….2
+ +
pq pqnr
= [2] − [13] − [14] − [16] − [15] − [3] − [4] – [5] − [6] + [7] + [8] + [9] + [10]
+ [11] + [12] + [1]

|Volume 2| Issue 1 | www.ijmcer.com Page 14


Analysis of variance of global experiments with repeated measurements with practical application

∑nk ∑rL Y..kL


2 ∑nk Y..k.
2 ∑rL Y...L
2 2
Y…. ∑pi ∑nk ∑rL Yi.kL
2 ∑pi Yi…
2 ∑nk Y..k.
2 ∑rL Y...L
2
∴ SSDC(AB) = − − + + + + +
pq pqr npq pqnr q qnr pqr npq
p n 2 p r 2 q n r 2 q 2
∑ ∑k Yi.k. ∑i ∑L Yi..L ∑k ∑L Y..kL n r 2 2
Y…. ∑ j
∑ ∑ Y
k L .jkL ∑ Y
j .j.. ∑nk Y..k.
2
− i − − − + + +
qr nq pq pqnr p pnr pqr
q n 2 q r 2
r 2
∑L Y...L ∑ j
∑ Y
k .jk. ∑ j
∑ Y
L .j.L
n r 2
∑k ∑L Y..kL 2
Y….
+ – − − −
npq pr np pq pqnr
p q n r
∑pi ∑qj ∑nk Yijk.
2 ∑pi ∑qj ∑rL Yij.L
2
∑p ∑nk ∑rL Yi.kL
2 ∑qj ∑nk ∑rL Y.jkL
2
+ ∑ ∑ ∑ ∑ YijkL 2
− − − i −
r n q p
i j k L
∑pi Yi…
2 ∑qj Y.j..
2
∑nk Y..k.
2 ∑rL Y...L
2 ∑pi ∑qj Yij..
2
∑pi ∑nk Yi.k.
2 ∑pi ∑rL Yi..L
2 ∑qj ∑nk Y.jk.
2
− − − − + + + +
qnr pnr pqr npq nr qr nq pr
q r 2
∑j ∑L Y.j.L ∑nk ∑rL Y..kL2 2
Y….
+ + +
np pq pqnr
= [12] − [5] − [6] + [1] + [16] + [3] + [5] + [6] − [8] − [9] − [12] − [1] + [15]
+ [4] + [5] + [6] − [10] − [11] − [12] – [1] + [2] − [13] − [14] − [16] − [15]
− [3] − [4] – [5] − [6] + [7] + [8] + [9] + [10] + [11] + [12] + [1]
p q n r
∑pi ∑qj Yij..
2 ∑pi ∑qj ∑nk Yijk.
2 ∑pi ∑qj ∑rL Yij.L
2
2
= ∑ ∑ ∑ ∑ YijkL + − −
nr r n
i j k L
= [2] + [7] − [13] − [14]

S .O . V dF S .S M.S EMS F
Between(sub. pq(i) n(ij) − 1 SSB
) p−1 SSA SSA
A P−1 rσ2c +
MSA
P(q(i) – 1) SSB(A) qnr∅A
MSE(B)
B(A)
SSE(B) SSB(A)
Error(Bet.) q(i) (n(ij) − 1) P(q(i) – 1)
= C(AB) SSW MSB(A)
pq(i) n(ij) (r−1) SSD rσ2c MSE(B)
SSE(B) + nr∅B
Within(sub.) r−1
SSAD pq(i) (n(ij) − 1)
D
(p−1)(r − 1)
SSDB(A) rσ2c
AD
P(r−1)(q(i) − SSError
DB(A)
1)

pq(i) (r − SSD
Error(Within
) 1)(nij − 1) r−1 σ2DC
= C(AB + pqn∅D
MSD
MSE(W)
Total pq(i) n(ij) r−1 SST SSAD
(p − 1)(r − 1)
σ2DC
+ qn∅AD MSAD
MSE(W)
SSDB(A)
P(r − 1)(q(i) − 1)
σ2DC
+ n∅DB
SSE(W) MSDB(A)
MSE(W)
pq(i) (r − 1)(n(ij) − 1)

|Volume 2| Issue 1 | www.ijmcer.com Page 15


Analysis of variance of global experiments with repeated measurements with practical application

σ2DC

Table (2) shows ANOVA for its experiments with the presence of repeated measurementsThis analysis is used
to test the hypothesis:
H_0 = T_1 = T_2 = ... = T_r ... (16)
Analysis of variance for repeated measurement experiments requires the following conditions to be met:
The main influences are aggregate: It means that the factors influence add to each other to determine the values
of observations
The random and independent random distribution of the experimental error: This condition assumes that the
errors are randomly and independently distributed with an average of zero and its value varies (σ ^ 2), meaning
that:
e_ij ~ NID (0, σ ^ 2) ... (17)
Homogeneity of variance: This condition means that random differences are equal within groups homogeneous
and therefore random differences are equal for different samples, which helps to obtain a reduced variance of all
groups.
There is no correlation between the mean and the contrast
Sphericality: This condition means the order of the experimental units does not change in the results of the
experiment as well as the association of any two treatments is the same for each pair of treatments and the
spherical condition indicates that there is no interaction between the factor of the experimental units and the
treatments (repeated measurements).
Analytical methods for this experiment
There are several statistical methods for analyzing the designs of repeated measurements, including parameter
and non-parametric methods and multivariate methods and each of the mentioned methods is implemented
according to certain conditions. In this research we will use the parameter methods represented by testing F and
nonparametric methods by means of Rank Transformation.
The practical side:
This study was applied to data collected from Al-Hussein Hospital _ Thalassemia Center in DhiQar from
patients with beta anemia of the Mediterranean type of beta or the so-called Thalassemia major, and the number
of observations (160) was represented by two groups (two medications) and each group included (20) Patient
(10 males, 10 females) and given treatment at four equal time periods each 30-day time period
Box-and-Whisker Plot

0 2 4 6 8
(X 1000)
Col_5

Figure (2) Box-and-Whisker Plot plot of Thalassemia data, where no abnormal values are shown
The hypothesis that errors are distributed naturally is tested with an average (0) and a variance (σ2) that are:
H_0 = ε_ij ~ N (0, σ_ε ^ 2). . . (18)
H_1 = ε_ij≁ N (0, σ_ε ^ 2). . . (19)
First, we find the error values (ε_ij) according to the linear model of the design:
Y_ijkL = μ + A_i + B_j (i) + C_ (k (ij)) + D_L + AD_iL + DB_Lj (i) + 〖E〗 _kL (ij) ... (20)
ε_ (Lk (ij)) = Y_ijkL- μ_ (ijk.) - μ_ (ij.L) + μ_ (ij ..). . . (21)
Test Test Value
P-Value

|Volume 2| Issue 1 | www.ijmcer.com Page 16


Analysis of variance of global experiments with repeated measurements with practical application

Chi-Squared 42.2750 0.0229


Shapiro –Wilk W 0.9743 0.1297
Skewness Z-Score 0.2389 0.8111
Kurtosis Z-Score 2.3624 0.0181

Table (5) Natural Distribution Test.


Since the p-value of the Chi-Squared test is greater than α = 0.01, the null hypothesis is accepted, meaning that
errors are naturally distributed with mean (0) and variance (σ2.)
-2Test of Homogeneity of Variances
The homogeneity test for treatments is the second condition of the analysis of variance. This condition can be
formulated as follows:
H_0 ∶σ_1 ^ 2 = σ_2 ^ 2 = σ_3 ^ 2 = σ_4 ^ 2 V.S H_1 leastat least two (σ ^ 2) not equal. . . (22)
Using the Bartlett and Cochrane tests to check this condition as:

test Test value


P-Value

Bartlett's test 1.00567 0.6888


Cochran's test 0.30676 0.50551

Table (6): Bartlett and Cochran tests for homogeneity of variations


From the above table it appears that Bartlett and Cochran values where the value of p-value is greater than α =
0.01 This leads to acceptance of the null hypothesis as the variations are homogeneous.
-3Test of Correlation
The third condition of the variance analysis is the absence of an association between the mean and the variance
of the treatments
H_0: ρ = 0 VS H_1: ≠ ≠ 0… (23)
It was found that the p-value of the Pearson correlation coefficient is equal to (0.532) which is greater than α =
0.01, thus accepting the null hypothesis that there is no correlation.
Test of Sphericity - Spherical Test 4
To test the fourth condition of the variance analysis conditions for repeated measurements experiments is
H_0 ∶Σ is sphericity. . . (24)
H_1 ∶Σ is not sphericity. . . (25)
To test this hypothesis, we use:
Mauchlys test
This test is based on the Eigen value of the contrast and contrast matrix common to repeated measurements and
the test statistics are:
W = (∏▒λ_i) / [1 / (A-1) ∑▒λ_i] ^ (A-1) = 0.7987236078
χ _ ((w)) ^ 2 = - (1-f) (s-1) ln⁡(〖w)〗 = 18.465218557
f = (2 〖(A-1)〗 ^ 2 + A + 2) / (6 (A-1) (S-1)) = 0.03418803419
Tabular value χ _ ((α, v)) ^ 2 where:
V = A (A-1) = 6; α = 0.01
〖Χ〗 _table ^ 2 = χ _ ((α, v)) ^ 2 = χ _ ((0.01,6)) ^ 2 = 16.81
Since the calculated value of χ2 is greater than the tabular value of ,2‫ لذلك‬it therefore rejects the null hypothesis
that the contrast and contrast matrix is spherical. Since the spherical condition is not fulfilled, the F test
becomes inaccurate and therefore the degrees of freedom must be adjusted for the F test as follows:
Green house - Geisser Correction - A, which is a value calculated using double Central, and this value is
denoted by (ε) ̂ and is calculated as follows:
ε ̂ = (∑_a▒S_ (a, a)) ^ 2 / ((A-1) ∑_ (a, a ') _S_ (a, a') ^ 2) = 0.888081355
Huynh - Feldt Correction -B
It is the most used formula for modifying degrees of freedom Test F because it is more powerful and it is based
or dependent on the value calculated from Green house - Geisser and symbolized by the symbol (ε :̃ )
ε ̃ = (S (A-1) ε -̂ 2) / (A-1) [S-1- (A-1) ε ̂] = 0.9592916574
|Volume 2| Issue 1 | www.ijmcer.com Page 17
Analysis of variance of global experiments with repeated measurements with practical application

We now find a table of variance analysis for the data as follows:


The number of levels of factor I A (pharmacokinetics) p = 2
The number of levels of the second factor B (gender) q = 2
The number of levels of the third factor D (times) r = 4
The number of levels of the fourth factor C (experimental units) n = 10

S .O . V dF S .S M.S FC Ftable
Between(su 39 681492955
b.) 1 161885522.9 161885522.9 14.368
A 2 113997336.1 56998668.05 5.058 F(0.01,1,36) = 7.31
B(A) 36 405610096 11266947.11 F(0.01,2,36) = 5.18
Error(Bet.)
= C(AB) 120 98061199
3 19081539 6360513 10.064
Within(sub. 3 3122776 1040925.333 1.647 F(0.01,3,104) = 3.95
) 6 7601402 1266900.333 2.005
F(0.01,3,104) = 3.95
D 108 68255482 631995.203
AD F(0.01,6,104) = 2.96
DB(A)
Error(With
in)
= C(AB)

Total 159 779554154

Table (7) Table of analysis of variance of the global experiment in the presence of repeated
measurementsThrough the results of the ANOVA table, we note that:
There are significant differences in levels between factor A (pharmacists.)
There were no significant differences between levels of factor II B (gender) within factor I (pharmacists.)
There are significant differences between factor D levels (repeated measurements.)
There were no significant differences for interaction between factor A (pharmacokinetics) and factor III D
(repeated measurements.)
-There were no significant differences for interaction between factor II B (gender) and factor IIID (repeated
measurements) within factor IA (pharmacokinetics.)
We are now taking the data rank, finding the table of variance analysis and studying the conditions of variance
analysis for repeated measurements experiments.
-5Test of Normality for errors
To test the hypothesis that errors are naturally distributed (18) using the Chi-Squared test after taking error
estimates(21)

test Test value P-Value

Chi-Squared 31.7625 0.20109

Shapiro –Wilk W 0.9797 0.37615

Skewness Z-Score 0.0457 0.96351

Kurtosis Z-Score 3.5566 0.00037


Table (8) testing the normal distribution of data types.
Since the p-value of the Chi-Squared test is greater than α = 0.01, the null hypothesis is accepted, meaning that
errors are naturally distributed with mean (0) and variance (σ2.)
-6Test of Homogeneity of Variances
To test this condition of the conditions of analysis of variance, which is homogeneity of variations (22), by
using the Bartlet test and Cochran test we conclude:

|Volume 2| Issue 1 | www.ijmcer.com Page 18


Analysis of variance of global experiments with repeated measurements with practical application

Test value
Test P-Value

Bartlett's test 1.00275 0.93525


Cochran's test 0.26725 1.0
Table (9): Bartlett and Cochran tests for homogenization of variations of data types.From the above table it
appears that Bartlett and Cochran values where the value of p-value is greater than α = 0.01 This leads to
acceptance of the null hypothesis as the variations are homogeneous.
-7Test of Correlation
To test the third condition of the conditions of the analysis of variance, which is the absence of a correlation
between the arithmetic mean and the variance as in the hypotheses (23) through the value of p-value of the
Pearson correlation coefficient where it is equal to (0.588) which is greater than 0.01 = α, therefore the null
hypothesis is not rejected, that is, there is no Correlation between mean and variance.
Test of Sphericity Spherical Test - 8
To test the spherical hypothesis (24), which is one of the conditions for analyzing variance for experiments,
repeat measurements:
Mauchlys test
This test is based on the roots of the Eigen value of the coefficient of variance and co-contrast of the treatments
and the test statistic:
W = (∏▒λ_i) / [1 / (A-1) ∑▒λ_i] ^ (A-1) = 0.7399671452
χ _ ((w)) ^ 2 = - (1-f) (s-1) ln⁡(〖w)〗 = 11.34329754
f = (2 〖(A-1)〗 ^ 2 + A + 2) / (6 (A-1) (S-1)) = 0.03418803419
The test statistic is compared to the tabular value of χ2 with the degree of freedom v where:
V = A (A-1) = 6 and α = 0.01
〖Χ〗 _table ^ 2 = χ _ ((α, v)) ^ 2 = χ _ ((0.01,6)) ^ 2 = 16.81
Since the computed value of χ2 is less than the tabular value of ,2‫ لذلك‬the null hypothesis that the contrast and
contrast matrix is common is spherical. Therefore, the spherical condition has been met, and the F test becomes
accurate.
After checking the conditions of variance analysis, we find a table of variance analysis for the data types for
comparison with the table of variance analysis for the original data as:
The number of levels of factor I A (pharmacokinetics) p = 2
The number of levels of the second factor B (gender) q = 2
The number of levels of the third factor D (times) r = 4
The number of levels of the fourth factor C (experimental units) n = 10

S .O . V dF S .S M.S FC Ftable
Between(sub. 39 297801.375
) 1 62805.625 62805.625 12.447
A 2 53354.925 26677.4625 5.287 F(0.01,1,36) = 7.31
B(A) 36 181640.825 5045.57847 F(0.01,2,36) = 5.18
Error(Bet.)
= C(AB) 120 43517.125
3 10087.7125 3362.5708 12.306
Within(sub.) 3 1018.587 339.529 1.242 F(0.01,3,108) = 3.95
D 6 2901 483.5 1.769
F(0.01,3,108) = 3.95
AD 108 29509.825 273.23912
DB(A) F(0.01,6,108) = 2.96
Error(Withi
n)
= C(AB)

Total 159 341318.5


Table (10): Table of variance analysis for the data typesThrough the results of the ANOVA table, we note that:
There are significant differences in levels between factor A (pharmacists).

|Volume 2| Issue 1 | www.ijmcer.com Page 19


Analysis of variance of global experiments with repeated measurements with practical application

There are significant differences between levels of factor II B (gender) within factor I (pharmacists).
There are significant differences between factor D levels (repeated measurements).
There were no significant differences for interaction between factor A (pharmacokinetics) and factor III D
(repeated measurements).
There were no significant differences for interaction between factor B (sex) and factor D (repeated
measurements) within factor I (pharmacokinetics).
• Conclusions
1- It was found that converting data from parameterized to non-parametric methods by grade resulted in
providing conditions for variance analysis for repeated measurements experiments such as normal distribution
of errors, homogeneity of variations, correlation between mean and variance, as well as the spherical condition.
2- Where it was observed that the conditions for normal distribution and homogeneity of variations, as well as
the condition for the absence of correlation between the mean and variance, were achieved and after a transfer
to the ranks, it improved the value of value - P for the condition of normal distribution from (0.0229) to
(0.2210) as well as for homogeneity of variance for Bartlett's test ( 0.688) to (0.935) and likewise for the
Cochran test, it changed from (0.505) to (1.0), and the correlation condition was a value equal to (0.532) and
changed to (0.588). As for the spherical condition, unfulfilled by the value of the test (18.465), which led to
adjusting the degrees of freedom for the F test From (3,108) to (3,104), after a conversion to the data levels, the
spherical condition was met and the test value was equal to (11.343). As for the results of the F test, it may
change. It ranges for the first factor (A) from (14.368) to (12.447), for the second factor (B) from (5.058) to
(5.287) and the fourth factor (D) from (10.069) to (12.306) and for the interaction between the first factor and
the fourth factor (AD From (1.647) to (1.212), and also with regard to the interaction between the second factor
and the fourth factor (DB), it has changed from (2.05) to (1.769).
3- In the practical application of overlapping factor experiments with the presence of repeated measurements
and there were no alternative methods for unparalleled parameters such as Friedman or others so the method we
used was the alternative method for these cases.
4- Among the medical conclusions, the majority of patients with blood types (A +) and (B +), as well as the
majority of patients from his parents who carry the disease and are relatives and it was also observed with poor
or uneducated academic achievement for one of the spouses (housewives, earners) and it was found that the
majority of patients have His residence is rural.
5- Through the four applications, we see that giving the dose of the first drug to patients led to an increase in the
amounts of iron for patients over time, and this type of treatment is used when the amounts of iron are high.
Likewise, when administering the dose of the second medication to patients, it led to increased amounts of iron
for patients over time, but with lower proportions than the first treatment, and this type of treatment is used
when the iron is weak in the patient’s blood.
• Recommendation
Through this research, we reached the following recommendations that they should be taken into consideration
and serve the scientific and human aspect and preserve the life of the individual, we recommend the following:
1. Applying the conditions of variance analysis for repeated measurements in the case of three or more factors,
and in their different situations and experiments.
2. Application of unbalanced overlapping globalization experiments with repeated measurements. Or missing
values.
3. Transferring data to non-parametric methods by converting ranks as one of the solutions in the absence of
conditions for variance analysis for repeated measurements experiments.
4. The use of multivariate methods for analyzing experiments, repeated measurements, and clarifying the
conditions for this type of analysis.
5. Applying repeated measurements in the case of medical data of all kinds in the service of the scientific
process, including psychological data and time-dependent psychology.
.6Giving the dose to patients resulted in increasing the amounts of iron for patients over time, so it is necessary
to carry out a study on different drugs or doses in order to lead to reducing the amounts of iron as well as
reducing complications for patients.

REFERENCES
[1] Amy Minke (1997): “Conducting Repeated Measures Analyses: Experimental Design Considerations“.
Texas A&M University.
[2] Brunner.E ,Puri.M.L and Munzel.U (1999) ‘‘Rank – Score Test in Factorial Designs with Repeated
Measures ‘‘ . Journal of Multivariate Analysis 70, p.p 286 – 317.
[3] Bryan. J.J (2009) ‘‘ Rank Transforms and Test of Interaction for Repeated Measures Experiments with
Various Covariance Structures ‘‘Oklahoma State University.

|Volume 2| Issue 1 | www.ijmcer.com Page 20


Analysis of variance of global experiments with repeated measurements with practical application

[4] Carriere .K.C and Reinsel.G.C. (1993):”Optimal Tow-Period Repeated Measurement Designs with two
or more Treatments”. Biometrika,Vol.80 , No.4,P.P 924-929.
[5] Carricre.K.C (1994):”In Complete Repeated Measures Data Analysis in the Pressence of Treatment
Effects ”. JASA ,Vol. 89, No.426, P.P 680-686.
[6] Hager .W (2007) “ Some Common features and Some differences between the Parametric ANOVA for
Repeated Measures and the Friedman ANOVA for Ranked data ”. Psychology Science , Vol. 49 P.P
209-222.
[7] Lin, P.Y. and Ying, Z., (2001):‘‘Semi parametric and Non parametric Regression Analysis of
Longitudinal Data ‘‘. JASA,Vol. 96 , No.453,
[8] Potvin, C.; Lechowicz, M. J. and Tardif, S., (1990): ‘‘The Statistical Analysis of Ecophysidagical
Response Curves Obtained from Experiments Involving Repeated Measures ‘‘.Ecological Society of
America. Vol. 71, No. 4, PP. 1389-1400.
[9] Shaffer, J. P., (1981): ‘‘The Analysis of Variance Mixed Model with Allocated Observations:
Application to Repeated Measurement Design‘‘. JASA, Vol. 76, No. 375, PP. 607-611.
[10] Shukla, G, and Kumar, V. (2012): ‘‘Different Methods of Analyzing Multiple Samples Repeated
Measures Data’’. Journal of Reliability and Statistical Studies, Vol. 5, PP. 83-93.
[11] Weinberg, J. M. and Lagakos, S. W., (2001): “Efficiency Comparison of rank and Permutation test
based on Summary Statistics Computed from Repeated Measures data”. Statist. 20, PP. 705-731.

|Volume 2| Issue 1 | www.ijmcer.com Page 21

You might also like