Discriminant analysis for longitudinal profiles based on fitted GLMM's
The idea is that we fit (possibly different) GLMM's for data in training
groups using the function GLMM_MCMC
and then use the fitted
models for discrimination of new observations. For more details we
refer to Komárek et al. (2010).
Currently, only continuous responses for which linear mixed models are assumed are allowed.
GLMM_longitDA(mod, w.prior, y, id, time, x, z, xz.common=TRUE, info)
mod |
a list containing models fitted with the
|
w.prior |
a vector with prior cluster weights. The length of this
argument must be the same as the length of argument |
y |
vector, matrix or data frame (see argument |
id |
vector which determines clustered observations (see also
argument |
time |
vector which gives indeces of observations within
clusters. It appears (together with |
x |
see |
z |
see |
xz.common |
a logical value. If If |
info |
interval in which the function prints the progress of computation |
This function complements a paper Komárek et al. (2010).
A list with the following components:
ident |
ADD DESCRIPTION |
marg |
ADD DESCRIPTION |
cond |
ADD DESCRIPTION |
ranef |
ADD DESCRIPTION |
Arnošt Komárek arnost.komarek[AT]mff.cuni.cz
Komárek, A., Hansen, B. E., Kuiper, E. M. M., van Buuren, H. R., and Lesaffre, E. (2010). Discriminant analysis using a multivariate linear mixed model with a normal mixture in the random effects distribution. Statistics in Medicine, 29(30), 3267–3283.
### WILL BE ADDED.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.