drop1.geeglm | R Documentation |
Compute all the single terms in the scope argument that can dropped from the model, and compute a table of the corresponding Wald test statistics.
## S3 method for class 'geeglm'
drop1(
object,
scope,
test = c("Wald", "none", "score", "sasscore"),
method = c("robust", "naive", "sandwich"),
...
)
object |
a fitted object of class geese. |
scope |
a formula giving the terms to be considered for adding or dropping. |
test |
the type of test to include. |
method |
Indicates which method is used for computing the standard
error. |
... |
other arguments. Not currently used |
An object of class "anova" summarizing the differences in fit between the models.
Claus Ekstrom claus@ekstroem.dk
drop1
, geeglm
, geese
library(geepack)
data(ohio)
fit <- geeglm(resp ~ age + smoke + age:smoke, id=id, data=ohio,
family=binomial, corstr="exch", scale.fix=TRUE)
drop1(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.