Probability functions, family for glm() and Stan code for working with the unifed distribution (Quijano Xacur, 2019;
The unifed distribution is the only exponential dispersion family containing the exponential distribution. This R package contains function for working with this distribution.
An R vignette introducing the unifed distribution and examples of how to use this package can be found at https://oquijano.gitlab.io/unifed/.
The function unifed.kappa.prime.inverse
in version 1.0 of the
package returns values with the wrong sign when its argument is less
than 0.1.
Please update to the current version to avoid this issue.
You can install this package directly from CRAN by typing this in your R console.
install.packages("unifed")
Note that this package rewrites the summary
method from the glm
class. This will not break any code you have that uses the summary
function since it is simply a wrapper around stats::summary.glm
that
sets the dispersion parameter equal to 1 when working with a unifed
GLM.