process_link | R Documentation |
This function returns success probability and derivatives of the log-likelihood for commonly used link function in the GLM binary family.
process_link(glm_family)
glm_family |
A glm |
A list with three elements
A function that computes the success probabily \rho'(t) = \mathrm{P}(Y=1|X^\top \beta = t)
.
Derivative of the negative log-likelihood when Y=1
Derivative of the negative log-likelihood when Y=0
## Not run:
process_link(binomial(link = "cloglog"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.