| .compute_tuning_delta | R Documentation |
Determines the pseudocount \delta used to stabilize link function
transformations during penalty tuning. For identity link or when
the response is naturally in the domain of the link function, returns 0.
Otherwise, finds the \delta that makes the transformed response
distribution most closely approximate a t-distribution.
.compute_tuning_delta(family, unl_y, N_obs, observation_weights, opt)
family |
GLM family object. |
unl_y |
Numeric vector; unlisted response values (concatenated across partitions). |
N_obs |
Integer; total sample size. |
observation_weights |
List or NULL; observation weights by partition. |
opt |
Logical; whether optimization is being performed. |
Numeric scalar; the pseudocount \delta \geq 0.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.