Software for Performing Small Sample Adjustments to Wald Types Tests with Sandwich Estimators
 

The main function is called  saws .

It inputs:

It outputs:
 

Because most splus functions output beta, but not the u or omega values, we must make modifications to existing programs so that they will output these values. We give 3 examples:

  1. Generalized Estimating Equations
  2. Conditional Logistic Regression
  3. Cox Proportional Hazards Models
Generalized Estimating Equations
    I have made some modifications version 1.5.1.2 of the YAGS software by VJ Carey  that I obtained from http://biosun1.harvard.edu/~carey/index.ssoft.html The yags software is under the GNU General Public License, therefore all my modifications are under the same license. The complete yags software is a group of many functions. I have modified only the following:
Conditional Logistic Regression
    I have translated Doug Midthune's Fortran function for conditional logistic regression  (PC executible and Fortran code) , based on the work of Gail, Lubin and Rubnstein (1981) into Splus. These  Splus functions output beta, u, and omega for input into the saws function.

Cox Proportional Hazards Model
    I wrote a function, mcoxph, which through repeated calls to coxph outputs beta, u, and omega for input into the saws function. This function does not work correctly when called from inside another function.
 
 

Return to SAWS homepage