glmMLE {gofedf}R Documentation

Compute maximum likelihood estimates for a generalized linear model with Gamma response.

Description

Compute maximum likelihood estimates for a generalized linear model with Gamma response.

Usage

glmMLE(fit)

Arguments

fit

is an object of class glm and its default value is NULL. If a fit of class glm is provided, the arguments x, y, and l will be ignored. We recommend using glm2 function from glm2 package since it provides better convergence while optimizing the likelihood to estimate coefficients of the model by IWLS method. It is required to return design matrix by x = TRUE in glm or glm2 function. For more information on how to do this, refer to the help documentation for the glm or glm2 function.

Value

a numeric vector of estimates.


[Package gofedf version 0.1.0 Index]