Statistical deviance
In statistics, deviance (desviación in Spanish) is a measure of how bad a statistical model fits the data. It specifically measures the “lack of fit”. The deviance is defined as -2 times the log-likelihood ratio of the fitted model compared…