| tweedie_dev | R Documentation |
Computes the unit deviance for Tweedie distributions.
tweedie_dev(y, mu, power)
tweedie.dev(y, mu, power)
y |
vector of quantiles. |
mu |
the mean parameter |
power |
the power parameter |
A numeric vector containing the unit deviance.
Jorgensen, B. (1997). Theory of Dispersion Models. Chapman and Hall, London.
# Unit deviance is not symmetric in general:
round( tweedie_dev(0:6, mu = 3, power = 1.1), 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.