Calculates the deviance of data assuming it comes from an exponential family
1 | exp_fam_deviance(x, theta, family, weights = 1)
|
x |
a vector or matrix of data |
theta |
natural parameters. Must be same dimensions as |
family |
exponential family distribution of data |
weights |
weights of datapoints. Must be a scalar or the same dimensions as the data |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.