Description Usage Arguments Value
Calculates residual deviance for poisson regression. 0 y values are replaced with 10^-10 and this seems to align with the residual deviance calc in predict.glm.
1 | deviance(y, y_hat)
|
y |
True values. |
y_hat |
Predicted values. |
Residual deviance.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.