Total sum of squares
Also known as: TSS, St², Total variation
Total sum of squares (TSS) measures total sample variation of the response about its mean:
\[S_t^2=\mathrm{TSS}=\sum_{i=1}^n(y_i-\bar y)^2.\]In a model with intercept fitted by OLS, the ANOVA identity holds:
\[\mathrm{TSS}=\mathrm{MSS}+\mathrm{RSS}=S_m^2+S_e^2,\]with model and residual sums of squares. $R^2$ $=S_m^2/S_t^2=1-S_e^2/S_t^2$. TSS is also $(n-1)$ times the usual sample variance of $y$.