| copsd3 | R Documentation |
Computes the
COPSD
for one or more parameters in a
fitted generalized linear model.
The object has "glm".
The functions comprise an S3 generic and method.
copsd3(object, ...)
## Default S3 method:
copsd3(object, ...)
## S3 method for class 'glm'
copsd3(object, doffset = 0.1, ...)
object |
a fitted GLM, created by
|
doffset |
Same as |
... |
additional argument(s) for methods. |
While VGAM is written in S4, this
copsd3 is an S3 generic function
so that the COPSD can be computed for
glm models.
Since vglm and
glm have different
convergence criteria, computing these
for
effectively the same model may differ.
See copsd.
cops,
coef,
wsdm,
fbeetle.
## Not run:
fit1 <- glm(cbind(dead, n-dead) ~ logdose, binomial, fbeetle, tr = TRUE)
coef(fit1)
copsd3(fit1)
fit2 <- vglm(cbind(dead, n-dead) ~ logdose, binomialff, fbeetle, tr = TRUE)
coef(fit2)
copsd(fit2)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.