coef.glm | R Documentation |
coef.glm
is a S3
method computing the raw coefficients,
leading order bias, and bias corrected coefficients from a
generalized linear model (glm) fit.
## S3 method for class 'glm' coef(object, type = c("raw", "bias", "corrected"), ...)
object |
An object with similar structure as returned from
|
type |
A character scalar, being one of |
... |
Not used. |
A numeric vector of requested components.
When type='corrected'
, the 'bias'
attribute
will be set to a numeric vector of estimated biases
being subtracted from the raw coefficients.
Long Qu <rtistician@gmail.com>
McCullagh and Nelder (1989) "Generalized Linear Models", 2nd edition. London: Chapman and Hall.
Cordeiro and McCullah (1991) "Bias Correction in Generalized Linear Models", Journal of the Royal Statistical Society: Series B, 53, 629-643.
x=1:30 y=rpois(30L, x/10) glmfit=glm(y~x, poisson('log')) coef(glmfit) coef(glmfit, type='bias') coef(glmfit, type='corrected')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.