Link Functions
This section lists the link function types supported by the TraitSimulation module.
LinkFunction
LinkFunction
is an abstract type. It’s the super type of each specific link function type listed below. All sub types of LinkFunction
have constructors of the form [name of the link]()
, and contain link_inv::Function
as their member variables. For example the constructor for identity link function type is IdentityLink()
, and its link_inv
member variable is the function f(x) = x
.
LinkFunctionType
LinkFunctionType
is a type alias for a single link function or a vector of link functions.
CauchitLink
Implements the Cauchit link , which has inverse .
CloglogLink
Implements the complementary log log link, which has invserse .
IdentityLink
Implements the identity link , which has inverse
InverseLink
Implements the inverse link , which has inverse
LogitLink
Implements the logit link , which has inverse .
ProbitLink
Implements the probit link , which has inverse
SqrtLink
Implements the square root link , which has inverse .
LogLink
Implements the log link , which has inverse .