Use the FitStat (fit statistics) algorithm.
The goodness-of-fit of a statistical model describes how well a model fits a set of data. The measures summarize the difference between observed values and predicted values of the model under consideration.
For more information about how to explore and test this project, see Using the Examples.