pub struct Cloglog {}
Expand description

The complementary log-log link g(p) = log(-log(1-p)) is appropriate when modeling the probability of non-zero counts when the counts are Poisson-distributed with mean lambda = exp(lin_pred).

Trait Implementations

Maps the expectation value of the response variable to the linear predictor. In general this is determined by a composition of the inverse natural parameter transformation and the canonical link function. Read more

Maps the linear predictor to the expectation value of the response.

The natural parameter(s) of the response distribution as a function of the linear predictor. For canonical link functions this is the identity. It must be monotonic, invertible, and twice-differentiable. For link function g and canonical link function g_0 it is equal to g_0 ( g^{-1}(lin_pred) ) . Read more

The derivative of the transformation to the natural parameter. If it is zero in a region that the IRLS is in the algorithm may have difficulty converging. Read more

Adjust the error and variance terms of the likelihood function based on the first and second derivatives of the transformation. The adjustment is performed simultaneously. The linear predictor must be un-transformed, i.e. it must be X*beta without the transformation applied. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.