Select the method or formula of your choice.

In matrix terms, these are the formulas for the different sums of squares:

Minitab breaks down the SS Regression or SS Treatments component into the amount of variation explained by each term 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 Regression or Treatments component of variance into sequential sums of squares for each factor. The sequential sums of squares depend on the order the factors or predictors are entered into the model. The sequential sum of squares is the unique portion of SS Regression explained by a factor, given any previously entered factors.

For example, if you have a model with three factors or predictors, 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 factors, repeat the analysis and enter the factors in a different order.

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:

- SSR(X3 | X1, X2) = SSE (X1, X2) - SSE (X1, X2, X3) or
- SSR(X3 | X1, X2) = SSR (X1, X2, X3) - SSR (X1, X2)

where SSR(X3 | X1, X2) is the adjusted sum of squares for X3, given that X1 and X2 are in the model.

- SSR(X2, X3 | X1) = SSE (X1) - SSE (X1, X2, X3) or
- SSR(X2, X3 | X1) = SSR (X1, X2, X3) - SSR (X1)

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 model^{1}.

- J. Neter, W. Wasserman and M.H. Kutner (1985). Applied Linear Statistical Models, Second Edition. Irwin, Inc.

Indicates the number of independent pieces of information involving the response data needed to calculate the sum of squares. The degrees of freedom for each component of the model are:

DF Regression | = p - 1 |

DF Error | = n - p |

Total | = n - 1 |

where n = number of observations and p = number of terms in the model.

The formula for the Mean Square (MS) of the regression is:

Term | Description |
---|---|

mean response | |

i^{th} fitted response | |

p | number of terms in the model |

The Mean Square of the error (also abbreviated as MS Error or MSE, and denoted as s^{2}) is the variance around the fitted regression line. The formula is:

Term | Description |
---|---|

y_{i} | i^{th} observed response value |

i^{th} fitted response | |

n | number of observations |

p | number of coefficients in the model |

If all the factors in the model are fixed, then the calculation of the F-statistic depends on what the hypothesis test is about, as follows:

- F(Term)
- F(Lack-of-fit)

If there are random factors in the model, F is constructed using the expected mean square information for each term. For more information, see Neter et al.^{1}.

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. |

- J. Neter, W. Wasserman and M.H. Kutner (1985). Applied Linear Statistical Models, Second Edition. Irwin, Inc.

The p-value is a probability that is calculated from an F-distribution with the degrees of freedom (DF) as follows:

- Numerator DF
- sum of the degrees of freedom for the term or the terms in the test
- Denominator DF
- degrees of freedom for error

1 − P(*F* ≤ *f _{j}*)

Term | Description |
---|---|

P(F ≤ f) | cumulative distribution function for the F-distribution |

f | f-statistic for the test |