controlGLM | R Documentation |
Defines controllable parameters of initial GLM fit in walsGLM
.
controlGLM(restricted = FALSE, controlGLMfit = list())
restricted |
If |
controlGLMfit |
List. Arguments to be passed to |
Returns a list containing the parameters specified in the arguments
to be used in walsGLM
(and walsGLMfitIterate
).
walsGLM, walsGLMfitIterate, glm.fit, glm.control.
data("HMDA", package = "AER")
fitBinomial <- walsGLM(deny ~ pirat + hirat + lvrat + chist + mhist + phist |
selfemp + afam, data = HMDA,
family = binomialWALS(),
prior = weibull(),
controlInitGLM = controlGLM(restricted = TRUE,
controlGLMfit = list(trace = TRUE)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.