poisson_dev | R Documentation |
Poisson deviance
poisson_dev(obs, pred)
obs |
numeric; observed values. |
pred |
numeric; predicted values. |
A named numeric vector with three elements: model deviance, mean deviance, and deviance explained.
obs <- c(0, 0, 1, 3, 5, 2) pred <- c(0.5, 0.1, 2.5, 3.3, 5.2, 2.5) ebirdst:::poisson_dev(obs, pred)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.