ee.GEE: GEE estimating functions

Description Usage Arguments Functions

View source: R/geefns.R

Description

Internal functions for computing the GEE. Should generally not be called by user.

Usage

1
2
3
4
5
6
7
ee.GEE(Y, X, b, mu.Y, g.Y, v.Y, aux, id = 1:length(Y),
  uid = sort(unique(id)), rows.indivs = lapply(uid, function(j) {    
  which(id == j) }), corstr = "ind")

ee.GEE.aux(Y, X, b, mu.Y, g.Y, v.Y, id = 1:length(Y),
  uid = sort(unique(id)), rows.indivs = lapply(uid, function(j) {    
  which(id == j) }))

Arguments

Y

Vector of (correlated) outcomes

X

Matrix of predictors

b

Vector of coefficients

mu.Y

Mean function

g.Y

Link function (inverse of mean function)

v.Y

Variance function

aux

Auxiliary function for coputing (co)variance parameters

id

Vector of cluster IDs

uid

Vector of unique subject IDs

rows.indivs

List of rows of X corresponding to each subject ID

corstr

Working correlation structure

Functions


threeboost documentation built on May 2, 2019, 2:37 a.m.