Enter the sum of squares of the residuals and the total sum of squares into the calculator to determine the goodness of fit. This calculator can also evaluate any of the variables given the others are known.

## Goodness Of Fit Formula

The following formula is used to calculate the goodness of fit.

GoF = 1 - (SSR / SST)

Variables:

• GoF is the goodness of fit SSR is the sum of squares of the residuals SST is the total sum of squares

To calculate the goodness of fit, first calculate the sum of squares of the residuals and the total sum of squares. Then, divide the sum of squares of the residuals by the total sum of squares. Subtract the result from 1 to get the goodness of fit.

## What is a Goodness Of Fit?

Goodness of fit refers to a statistical measure that shows how well-observed outcomes match the expected outcomes. It is used in various fields such as economics, psychology, and biology to test the validity of a specific model or theory. The test compares the observed data with the expected data according to a certain model, with a smaller difference indicating a better fit. This helps in determining whether the model or theory being tested provides an accurate representation of the reality it’s supposed to describe.

## How to Calculate Goodness Of Fit?

The following steps outline how to calculate the Goodness Of Fit using the formula: GoF = 1 – (SSR / SST).

1. First, determine the sum of squares of the residuals (SSR).
2. Next, determine the total sum of squares (SST).
3. Next, use the formula GoF = 1 – (SSR / SST) to calculate the Goodness Of Fit.
4. Finally, check your answer with the calculator above.

Example Problem:

Use the following variables as an example problem to test your knowledge.

SSR: sum of squares of the residuals = 50

SST: total sum of squares = 100