Analysis of Variance (ANOVA) – Repeated Measures

What is ANOVA repeated-Measure?

Repeated Measures

  1. An independent variable is manipulated to create two or more treatment conditions, with the same group of participants compared in all of the experiments.
  2. Study with the same group of individuals by observing at two or more different times.

Analysis of Variance (ANOVA) - Repeated Measures


ANOVA repeated-Measures: Assumptions 

  1. The observations within each treatment condition must be independent
  2. The population distribution within each treatment must be normal.
  3. The variances of the population distributions for each treatment should be equivalent

ANOVA repeated-Measures: Hypothesis test


Null hypothesis: ANOVA repeated-Measures

  • There are no mean differences among the treatment conditions being compared.

H0 : μ1 = μ2 = μ3 = …………………..


Alternative hypothesis: ANOVA repeated-Measures

  • There are mean differences among the treatment conditions.
  • At least one treatment mean (μ) is different from another.

H1 : At least one treatment mean (μ) is different


ANOVA repeated-Measures: F-Ratio

  • A large value for the F-ratio calculated indicates that the differences between treatments are greater.

Analysis of Variance (ANOVA) - Repeated Measures

  • If the F-ratio calculated is larger than the critical value in the F distribution table, differences between treatments are significantly larger.
  • In a repeated-measures ANOVA, the denominator of the F-ratio is called the residual variance, or the error variance, and measures how much variance is expected if there are no systematic treatment effects and no individual differences contributing to the variability of the output.
  • The first stage of the repeated-measures ANOVA is identical to the independent-measures analysis and separates the total variability into two components: between-treatments and within-treatments.
  • Because a repeated-measures design uses the same subjects in every treatment condition, the differences between treatments cannot be caused by individual differences. Thus, individual differences are automatically eliminated from the between-treatments variance in the numerator of the F-ratio.

ANOVA: Repeated-Measures: Effect size

Analysis of Variance (ANOVA) - Repeated Measures

 


Example: 6 students selected from the same section of the class. As per students’ past records, they are good in academics. They have joined Physics, Chemistry & Maths tuitions with three different coaching institute’s teacher subject wise. After successful completion of the course, they appeared in the exam and their scores are recorded in a table (refer to below table)

Analysis of Variance (ANOVA) - Repeated Measures


Solution:

  1. Calculate Physics, Chemistry & Maths total score ( T = 40 , 66 , 74 )

Analysis of Variance (ANOVA) - Repeated Measures

  • Calculate Physics, Chemistry & Maths Grand total score G :

G = T1 + T2 + T3

G = 40 + 66 + 74

G = 180


  • Calculate every student’s total score (Physics + Chemistry + Maths) P :

P1=21 , P2=24 , P3=36 , P4=36 , P5=30 , P6=33

Analysis of Variance (ANOVA) - Repeated Measures


  • Calculate Subject scores mean M :

Analysis of Variance (ANOVA) - Repeated Measures


  • Calculate Subjects SS :

SSphysics = 45.3 , SSchemistry = 34.0 , SS maths = 23.3

Analysis of Variance (ANOVA) - Repeated Measures


  • Calculate Subjects X2 :

X2 =  sum (X * X) = 2008

Analysis of Variance (ANOVA) - Repeated Measures


  • ANOVA Summary :

Analysis of Variance (ANOVA) - Repeated Measures


ANOVA: Repeated-Measures: Analysis :


  • The total sum of square: SStotal

Analysis of Variance (ANOVA) - Repeated Measures


  • df total

Analysis of Variance (ANOVA) - Repeated Measures


  • The sum of the square within treatment: SSwithin

Analysis of Variance (ANOVA) - Repeated Measures


  • Degree of freedom within treatment: df within

Analysis of Variance (ANOVA) - Repeated Measures


  • The sum of square between SSbetween

Analysis of Variance (ANOVA) - Repeated Measures


  • Degree of freedom between teachers(/subjects)

Analysis of Variance (ANOVA) - Repeated Measures


  • The sum of squares between students: df between students

Analysis of Variance (ANOVA) - Repeated Measures


  • degree of freedom between students: df between students

Analysis of Variance (ANOVA) - Repeated Measures


  • Error:

SSerror = SSwithin teacher (subjects) – SSbetween students

SSerror = 102.7 – 66

SSerror = 36.7


  • Degree of freedom of error: df error

dferror = dfwithin treatments – dfbetween students

dferror = 15 – 5

dferror = 10


ANOVA repeated-Measures: Mean square value (MS)


  • MS-between Teachers (subjects)

Analysis of Variance (ANOVA) - Repeated Measures


  • MS-Error

Analysis of Variance (ANOVA) - Repeated Measures


  • F-ratio calculation 

Analysis of Variance (ANOVA) - Repeated Measures


  • F-ratio from table

    • Select the F value from the table  with df of the denominator and  df of the numerator

At α = 0.05 level,

F (10, 2) = 4.10

    • Calculated  F = 14.35, is well beyond the critical values at α = .05
      • Analysis of Variance (ANOVA) - Repeated Measures
    • Can be concluded that H0 is rejected
    • Differences between teachers (subjects) are significantly greater than expected by chance.

ANOVA Repeated-Measures: Analysis summary

Analysis of Variance (ANOVA) - Repeated Measures


ANOVA repeated-Measures: Measuring Effect Size

  • The percentage of variance accounted for by the treatment effect is usually called η2 (the Greek letter eta squared) instead of using r2

The percentage of variance accounted for =η2 

Analysis of Variance (ANOVA) - Repeated Measures


  • MS-between Teachers (subjects) Calculation

Analysis of Variance (ANOVA) - Repeated Measures

  • η2 = 95% means variability in the scores is because of differences between treatments – Teacher (subjects).

ANOVA: Repeated-Measures: Post hoc tests

  • If ANOVA analysis rejects the null hypothesis. Then additional analyses are conducted to determine exactly which treatments are significantly different and which are not.
  • These analyses are called post hoc tests.
  • Post-analysis tests are Tukey’s HSD test and the Scheffé test.

ANOVA: Repeated measures: Tukey’s Honestly Significant Difference (HSD) Test

  • This test computes a single value that determines the minimum difference between treatment means that is necessary for significance.
  • This value is called the honestly significant difference, or HSD
  • It is used to compare any two treatment conditions.
  • If the mean difference exceeds Tukey’s HSD, it is concluded that there is a significant difference between the treatments.

Analysis of Variance (ANOVA) - Repeated Measures


Treatment effect: Tukey’s HSD

Analysis of Variance (ANOVA) - Repeated Measures


ANOVA: Repeated-Measures: The Scheffè Test

  • This test uses an F-ratio to evaluate the significance of the difference between any two treatment conditions.
  • The numerator of the F-ratio is an MS between treatments that are calculated using only the two treatments under comparison.
  • The denominator is the same MSwithin that was used for the overall ANOVA.
  • If F is calculated > F table, then there is a significant difference between these two treatments.

ANOVA repeated-Measures: Benefits

  • In ANOVA-independent measures, the presence of a treatment effect is masked by the influence of individual differences.
  • This problem is eliminated by ANOVA-repeated measures. In this method, individual differences is separated out.
  • When the individual differences are large, ANOVA repeated-measures analysis provides a more sensitive test for a treatment effect.
  • ANOVA repeated-measure test has more power than an ANOVA independent-measure analysis. It is more likely to detect a real treatment effect.

ANOVA repeated-Measures: Factors Influence

  • hypothesis test outcome is influenced by the following three major factors:
    1. Size of the treatment effect :
        • Bigger the treatment effect, the more likely it is to be significant.
        • larger treatment effect tends to produce a larger measure of effect size
    2. Size of the sample(s)
  • A large sample effect is more substantial than an effect obtained with a small sample.
  • Larger samples increase the likelihood of rejecting the null hypothesis.
  • Sample size has little or no effect on measures of effect size
    1. The variance of the scores

Comparison: t-test vs. ANOVA repeated-measures

    • The two tests always reach the same conclusion about the null hypothesis
    • The basic relationship between the two test statistics is F = t 2
    • df value for the t statistic is identical to the df value for the denominator of the F-ratio.
    • The square of the critical value for the two-tailed t-test is equal to the critical value for the F -ratio. Relationship is F = t 2
    • F = t 2

Example for F = t 2

Refer following table Four participants have been given two treatments and the output is mentioned in the table.

  • Examine that there is a significant difference in the treatment effects.
  • Also verify F = t 2

Analysis of Variance (ANOVA) - Repeated Measures


Solution:

  • calculate SS1, mean1 of treatment-I as per the below table :

Analysis of Variance (ANOVA) - Repeated Measures

      • Mean1=6.6
      • SS1 = 5
      • n1 = 4

  • calculate SS2, mean2 of treatment-II as per the below table :

Analysis of Variance (ANOVA) - Repeated Measures

      • Mean2=9
      • SS2 =50
      • n2=4

  • Calculate Sample Mean difference= MD

MD = Mean 2- Mean1

MD = 9 – 6.5 

MD = 2.5


  • The sum of square difference = SSD

SSD = SS1 – SS2

SSD = 50 – 5

SSD = 45


  • The sum of square within SSwithin

Analysis of Variance (ANOVA) - Repeated Measures


  • Degree of Freedom

df within treatment   =  (n1 – 1) + (n2 – 1)

df within treatment   =  (4 – 1) +  (4 – 1)

df within treatment  = 6


  • Sample variance

Analysis of Variance (ANOVA) - Repeated Measures


  • Standard error:

Analysis of Variance (ANOVA) - Repeated Measures


  • t value: calculation

Analysis of Variance (ANOVA) - Repeated Measures


  • Calculate G & N 

Analysis of Variance (ANOVA) - Repeated Measures

G= 62

N=8


  • Calculate sum of X*X

Analysis of Variance (ANOVA) - Repeated Measures


  • Total Sum of square: SStotal 

Analysis of Variance (ANOVA) - Repeated Measures


  • The sum of squares within SSwithin 

Analysis of Variance (ANOVA) - Repeated Measures


  • Calculate P (P = I + II)

Analysis of Variance (ANOVA) - Repeated Measures


  • The sum of squares between participants:

Analysis of Variance (ANOVA) - Repeated Measures


  • The sum of square Error:

Analysis of Variance (ANOVA) - Repeated Measures


  • Degree of freedom -error: dferror 

dferror= (k – 1)(n – 1)

dferror= (2– 1)(4 – 1)

dferror = 1 * 3 = 3

k- no of treatment, n=no of participants


  • MS and F-Ratio

Analysis of Variance (ANOVA) - Repeated Measures


  • Relation between F-Ratio and T value:

F-ratio and the t statistic are related by the equation F = t 2

F= 1.66 = 1.292 

t = 1.29

t= 1.292 

t= 1.66 = F


Table-1 : F-Ratio Table with Alpha = 0.05

Analysis of Variance (ANOVA) - Repeated Measures


Table-2 : F-Ratio Table with Alpha = 0.01

Analysis of Variance (ANOVA) - Repeated Measures


Table-3 Studentized Range Statistic(q) at alpha= 0.05

Analysis of Variance (ANOVA) - Repeated Measures


Table-4 Studentized Range Statistic(q) at alpha= 0.05

Analysis of Variance (ANOVA) - Repeated Measures

Scroll to Top
logo
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.