gees_estimation: Fit (Weighted) Generalized Estimating Equations based on MCD

Description Usage Arguments

View source: R/RcppExports.R

Description

Fit (weighted) generalized estimating equations based on MCD.

Usage

1
2
gees_estimation(m, Y, X, Z, W, H, method, corrStruct, rho, start,
  trace = FALSE, profile = TRUE, errorMsg = FALSE)

Arguments

m

an integer vector of number of measurements for each subject.

Y

a vector of responses for all subjects.

X

model matrix for mean structure model.

Z

model matrix for the diagonal matrix.

W

model matrix for the lower triangular matrix.

H

a vector of weights used in WGEE-MCD.

method

choose 'gee-mcd' (Ye and Pan, 2006) or 'wgee-mcd' (Pan et al. 2012).

corrStruct

choose 'id' (independent), 'cs' (compound symmetry) or ar1' (AR(1)).

rho

a parameter used in the 'working' covariance structure.

start

starting values for the parameters in the model.

trace

the values of the objective function and the parameters are printed for all the trace'th iterations.

profile

whether parameters should be estimated sequentially using the idea of profile likelihood or not.

errorMsg

whether or not the error message should be print.


gee4 documentation built on May 2, 2019, 10:14 a.m.