Learn R Programming

threeboost (version 1.1)

ee.GEE: GEE estimating functions

Description

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

Usage

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

  • :