The adjusted sums of squares does not depend on the order that the terms enter the model. The adjusted sum of squares is the amount of variation explained by a term, given all other terms in the model, regardless of the order that the terms enter the model.
For example, if you have a model with three factors, X1, X2, and X3, the adjusted sum of squares for X2 shows how much of the remaining variation the term for X2 explains, given that the terms for X1 and X3 are also in the model.
The calculations for the adjusted sums of squares for three factors are:
where SSR(X3 | X1, X2) is the adjusted sum of squares for X3, given that X1 and X2 are in the model.
where SSR(X2, X3 | X1) is the adjusted sum of squares for X2 and X3, given that X1 is in the model.
You can extend these formulas if you have more than 3 factors in your model1.
Minitab breaks down the SS Model component into the amount of variation explained by each term or set of terms using both the sequential sum of squares and adjusted sum of squares.
Term | Description |
---|---|
b | vector of coefficients |
X | design matrix |
Y | vector of response values |
n | number of observations |
J | n by n matrix of 1s |
Minitab breaks down the SS Model component of variance into sequential sums of squares for each factor term or set of factor terms. The sequential sums of squares depend on the order that the factors or predictors enter the model. The sequential sum of squares is the unique portion of the SS Model that each term explains, given any terms that previously entered.
For example, if you have a model with three factors, X1, X2, and X3, the sequential sum of squares for X2 shows how much of the remaining variation X2 explains, given that X1 is already in the model. To obtain a different sequence of terms, repeat the analysis and enter the terms in a different order.
Different sums of squares have different degrees of freedom.
DF for a numeric factor = 1
DF for a categorical factor = b − 1
DF for a quadratic term = 1
DF for blocks = c − 1
DF for error = n − p
DF for pure error =
DF for lack of fit = m − p
DF total = n − 1
Categorical factors in screening designs in Minitab have 2 levels. Thus, the degrees of freedom for a categorical factor are 2 – 1 = 1. By extension, interactions between factors also have 1 degree of freedom.
Term | Description |
---|---|
b | The number of levels in the factor |
c | The number of blocks |
n | The total number of observations |
ni | The number of observations for ith factor level combination |
m | The number of factor level combinations |
p | The number of coefficients |
Term | Description |
---|---|
The mean of the response variable | |
The ith fitted value of the response | |
p | The number of terms in the model, not including the constant term |
The Mean Square of the error (also abbreviated as MS Error or MSE, and denoted as s2) is the variance around the fitted regression line. The formula is:
Term | Description |
---|---|
yi | ith observed response value |
ith fitted response | |
n | number of observations |
p | number of coefficients in the model, not counting the constant |
The calculation of the F-statistic depends on the hypothesis test, as follows:
Term | Description |
---|---|
Adj MS Term | A measure of the amount of variation that a term explains after accounting for the other terms in the model. |
MS Error | A measure of the variation that the model does not explain. |
MS Lack-of-fit | A measure of variation in the response that could be modeled by adding more terms to the model. |
MS Pure error | A measure of the variation in replicated response data. |
The p-value is a probability that is calculated from an F-distribution with the degrees of freedom (DF) as follows:
1 − P(F ≤ fj)
Term | Description |
---|---|
P(F ≤ f) | cumulative distribution function for the F-distribution |
f | f-statistic for the test |
1 − P(F ≤ fj)
Term | Description |
---|---|
P(F ≤ fj) | cumulative distribution function for the F-distribution |
fj | f-statistic for the test |