powered by
Computes the unit deviance for Tweedie distributions.
tweedie_dev(y, mu, power)tweedie.dev(y, mu, power)
tweedie.dev(y, mu, power)
A numeric vector containing the unit deviance.
vector of quantiles.
the mean parameter \(\mu\).
the power parameter \(p\).
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)
Run the code above in your browser using DataLab