Lack-of-fit Sum of Squares - Probability Distributions - Sums of Squares

Sums of Squares

Suppose the error terms ε i j are independent and normally distributed with expected value 0 and variance σ2. We treat x i as constant rather than random. Then the response variables Y i j are random only because the errors ε i j are random.

It can be shown to follow that if the straight-line model is correct, then the sum of squares due to error divided by the error variance,

has a chi-squared distribution with N − 2 degrees of freedom.

Moreover, given a total number of observations N, a number of observables n and a number of parameters in the model p:

  • The sum of squares due to pure error, divided by the error variance σ2, has a chi-squared distribution with Nn degrees of freedom;
  • The sum of squares due to lack of fit, divided by the error variance σ2, has a chi-squared distribution with np degrees of freedom (here p = 2 as there are two parameters in the straight-line model);
  • The two sums of squares are probabilistically independent.

Read more about this topic:  Lack-of-fit Sum Of Squares, Probability Distributions

Famous quotes containing the words sums and/or squares:

    At Timon’s villalet us pass a day,
    Where all cry out,What sums are thrown away!’
    Alexander Pope (1688–1744)

    An afternoon of nurses and rumours;
    The provinces of his body revolted,
    The squares of his mind were empty,
    Silence invaded the suburbs,
    —W.H. (Wystan Hugh)