Degrees of Freedom Repeated Measures Calculator
Degrees of freedom (df) are a fundamental concept in statistics that determine the number of values in a calculation that are free to vary. In repeated measures ANOVA, degrees of freedom help determine the critical value for statistical significance. This calculator helps you determine the degrees of freedom for between-subjects and within-subjects factors in a repeated measures design.
What are degrees of freedom?
Degrees of freedom refer to the number of independent pieces of information that can vary in a dataset. In statistical analysis, degrees of freedom determine the shape of the distribution of the test statistic and affect the critical values used to determine statistical significance.
In repeated measures ANOVA, there are two main types of degrees of freedom:
- Between-subjects degrees of freedom (dfbetween): These represent the variability between different subjects or groups.
- Within-subjects degrees of freedom (dfwithin): These represent the variability within the same subjects across different conditions or time points.
Degrees of freedom are calculated differently depending on the type of analysis. For repeated measures ANOVA, the calculations involve the number of subjects, the number of conditions, and the number of measurements per subject.
Repeated measures ANOVA
Repeated measures ANOVA is a statistical technique used to analyze data where the same subjects are measured multiple times under different conditions. This design is common in studies where subjects are tested at different time points or under different treatment conditions.
The key advantage of repeated measures ANOVA is that it can detect within-subject variability, which can increase the power of the test compared to independent samples t-tests.
Calculating degrees of freedom
The degrees of freedom for between-subjects and within-subjects factors in repeated measures ANOVA are calculated as follows:
Between-subjects degrees of freedom
The between-subjects degrees of freedom (dfbetween) are calculated as:
Within-subjects degrees of freedom
The within-subjects degrees of freedom (dfwithin) are calculated as:
These calculations assume that the data meets the assumptions of repeated measures ANOVA, including sphericity.
Example calculation
Let's consider an example where a researcher measures the same 10 subjects under 3 different conditions. The calculations would be as follows:
Example scenario
Number of conditions (k) = 3
Number of subjects (n) = 10
Between-subjects degrees of freedom (dfbetween) = k - 1 = 3 - 1 = 2
Within-subjects degrees of freedom (dfwithin) = (k - 1) × (n - 1) = (3 - 1) × (10 - 1) = 2 × 9 = 18
In this example, the between-subjects degrees of freedom would be 2, and the within-subjects degrees of freedom would be 18.