View source: R/functions_mar_select_fill_20240805.R
MGEE | R Documentation |
The function is used to calculate a empirical MSE minimization criterion (EMMC) value in the "Selected.GEE" function.
MGEE(id, y, x, lod, substitue, corstr, typetd, maxiter)
id |
A column matrix of subject IDs. The number of rows is the total number of observations. Data must be sorted by IDs. |
y |
A column matrix of the observed outcome values or responses. |
x |
A matrix of covariate values, for which the number of columns is the number of covariates. |
lod |
A numeric value of limit of detection (LOD). |
substitue |
A character string specifying the substitution approach, including "None", "LOD", "LOD2", "LODS2", "BetaMean", "BetaGM", "MIWithID", "MIWithIDRM", and "QQplot". |
corstr |
A character string specifying the working correlation structure, given by either "exchangeable" or "AR-1". |
typetd |
An atomic vector specifying the types of time-dependent covaraites. The length of this vector is the number of regression paramenters, including the intercept. "1" is assigned to any time-indepednet covariates or covariates in a cluster study. |
maxiter |
The maximum number of iterations. |
An object of class "MGEE".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.