% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/glm_families.R
\name{make_glm_family}
\alias{make_glm_family}
\title{GLM family specification for KL-Optimality}
\usage{
make_glm_family(name)
}
\arguments{
\item{name}{character; one of \code{"Normal"}, \code{"Poisson"},
\code{"Binomial"} or \code{"Gamma"}.}
}
\value{
A named list with elements \code{b}, \code{b_prime}, \code{b_dbl},
\code{link}, \code{link_inv} and \code{name}.
}
\description{
Returns a GLM family object for use with \code{criterion = "KL-Optimality"}.
The family encodes the cumulant generating function and canonical link needed
to compute the Kullback-Leibler divergence between two distributions.
}
\examples{
make_glm_family("Poisson")
make_glm_family("Normal")
}
