The constant subspace has one statistical degree of freedom. Day contrasts have , and the within-block ANOVA stratum has . Because the orthogonal block design puts all four independent dose contrasts in that last ANOVA stratum, the residual has statistical degrees of freedom.
StratumSourceDegrees of freedom
MeanGrand mean1
Between daysDays4
Within daysDose4
Within daysResidual41
Uncorrected totalAll observations50
The corrected total has 49 statistical degrees of freedom; dose is tested against the within-day residual. The quantitative dose scale also permits the dose component to be split into linear, quadratic, cubic and quartic orthogonal polynomial contrasts, each with one statistical degree of freedom. This is optional and does not assume the response is linear in dose.