Modular Functions for a modified Cholesky decomposition (MCD) based (weighted) generalised estimating equations (GEE/WGEE) fits
1 2 3 4 5 6 7 8 9 | ldFormula(formula, data = NULL, triple = c(3, 3, 3), method = c("gee-mcd",
"wgee-mcd"), corr.struct = c("id", "cs", "ar1"), rho = 0.5,
ipw.order = 1, weights.vec = NULL, control = geerControl(),
start = NULL)
optimizeGeer(m, Y, X, Z, W, H, time, method, corr.struct, rho, ipw.order,
control, start)
mkGeerMod(opt, args, triple, rho, corr.struct, mc)
|
formula |
a two-sided linear formula object describing the covariates for both the mean and covariance matrix part of the model, with the response, the corresponding subject id and measurement time on the left of a operator~, divided by vertical bars ("|"). |
data |
a data frame containing the variables named in formula. |
triple |
an integer vector of length three containing the degrees of the three polynomial functions for the mean structure, the log innovation -variances and the autoregressive coefficients. |
method |
choose 'gee-mcd' (Ye and Pan, 2006) or 'wgee-mcd' (Pan et al. 2012). |
corr.struct |
choose 'id' (independent), 'cs' (compound symmetry) or 'ar1' (AR(1)). |
rho |
a parameter used in the 'working' covariance structure. |
ipw.order |
the order for MAR remaining model. |
weights.vec |
a user specified vector for the weights H in WGEE-MCD. |
control |
a list (of correct class, resulting from geerControl()) containing control parameters, see the *geerControl documentation for details. |
start |
starting values for the parameters in the model. |
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. |
time |
a vector of time from the data. |
opt |
optimized results returned by optimizeGeer. |
args |
arguments returned by ldFormula. |
mc |
matched call from the calling function. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.