| wsdm3 | R Documentation |
Computes the
WSDM statistic
for one or more parameters in a
fitted generalized linear model.
The object has "glm".
The functions comprise an S3 generic and method.
wsdm3(object, ...)
## Default S3 method:
wsdm3(object, ...)
## S3 method for class 'glm'
wsdm3(object, hdiff = 0.005,
retry = TRUE, mux.hdiff = 1,
maxderiv = 5, theta0 = 0, use.hdeff = FALSE,
doffset = NULL, subset = NULL,
derivs.out = FALSE, fixed.hdiff = TRUE,
eps.wsdm = 0.15, Mux.div = 3, warn.retry = TRUE,
with1 = TRUE, ...)
object |
a fitted GLM, created by
|
hdiff, retry, mux.hdiff |
Same as |
maxderiv, theta0 |
Same as |
use.hdeff, doffset |
Same as |
subset, derivs.out |
Same as |
fixed.hdiff |
Same as |
eps.wsdm, Mux.div |
Same as |
warn.retry, with1 |
Same as |
... |
additional argument(s) for methods. |
While VGAM is written in S4, this
wsdm3 is an S3 generic function
so that the WSDM statistics can be computed for
glm models.
Since vglm and
glm have different
convergence criteria, computing the
WSDM statistics for
effectively the same model may differ.
See wsdm.
cops,
coef,
wsdm,
fbeetle.
## Not run:
fit1 <- glm(cbind(dead, n-dead) ~ logdose, binomial, fbeetle, tr = TRUE)
coef(fit1)
wsdm3(fit1)
fit2 <- vglm(cbind(dead, n-dead) ~ logdose, binomialff, fbeetle, tr = TRUE)
coef(fit2)
wsdm(fit2)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.