Module link

Source
Expand description

Defines traits for link functions

Traitsยง

Canonical
The canonical transformation by definition equates the linear predictor with the natural parameter of the response distribution. Implementing this trait for a link function automatically defines the trivial transformation functions.
Link
Describes the functions to map to and from the linear predictors and the expectation of the response. It is constrained mathematically by the response distribution and the transformation of the linear predictor.
Transform