Learn R Programming

Zelig (version 4.2-1)

robust.gee.hook: Classify Fitted Object as Naive or Robust

Description

This hook is ran after the call to the external mode. It sets the class of the object (in addition to its other designations) as 'gee.naive' or 'gee.robust' depending on the value of the robust parameter.

Usage

robust.gee.hook(obj, Zall, Call, robust, ...)

Arguments

obj
a zelig object
Zall
the call made to the zelig function
Call
the call made to the external model
robust
a logical specifying whether to use the naive or robust covariance matrix
...
ignored parameters

Value

  • a zelig object with the additional class gee.robust or gee.naive