mcesteqn: Generate and Correct Generalized Estimating Equations

Description Usage Arguments Details

View source: R/mcesteqn.R

Description

The mcesteqn function generates the corrected generalized estimating equations for each subject and each time point. Then the corrected estimating equations are combined using General Method of Moments (GMM) for each time point.

Usage

1
mcesteqn(beta, lb, n, m, X, mcov, ind, Y)

Arguments

beta

The value of covariates

lb

the dimension of covariates

n

the total number of observations

m

the number of observations for each subject

X

model matrix for the covariates for each ID

mcov

the covariance matrix for the surrogate variables

ind

the index of the surrogate covariates

Y

the response variable vector for each ID

Details

This function is used in eivgmm function to get the estimates.


ytalau/eiv documentation built on Dec. 23, 2021, 8:18 p.m.