R: Drop All Possible Single Terms to a geem Model Using Wald or...

drop1.geem {MESS} | R Documentation

## Drop All Possible Single Terms to a geem Model Using Wald or Score Test

### Description

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.

### Usage

    ## S3 method for class 'geem'
    drop1(
      object,
      scope,
      test = c("Wald", "none", "score", "sasscore"),
      method = c("robust", "naive", "sandwich"),
      ...
    )

### Arguments

`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. `robust` is the default and corresponds to the modified sandwich estimator. `naive` is the classical naive cariance estimate. `sandwich` is an alias for `robust`.
`...` | other arguments. Not currently used

### Value

An object of class "anova" summarizing the differences in fit between the models.

### Author(s)

Claus Ekstrom claus@ekstroem.dk

### See Also

`drop1`, `geem`

### Examples

    library(geeM)
    library(geepack)
    data(ohio)
    ## Not run:
    fit <- geem(resp ~ age + smoke + age:smoke, id=id, data=ohio,
                family="binomial", corstr="exch", scale.fix=TRUE)
    drop1(fit)

    ## End(Not run)

[Package MESS version 0.5.9 Index]