This function provides informations about the posterior classification stemmed from a hlme
, lcmm
, multlcmm
or Jointlcmm
object.
1 2 3 4 5 6 7 8 |
x |
an object inheriting from classes |
threshold |
optional vector of thresholds for the posterior probabilities |
... |
further arguments to be passed to or from other methods. They are ignored in this function. |
This function provides the number of subjects classified a posteriori in each latent class, the percentage of subjects classified with a posterior probability above a certain threshold, and the classification table that contains the mean of the posterior probability of belonging to each latent class over the subjects classified in each of the latent classes. This table aims at evaluating the quality of the posterior classification.
For hlme
, lcmm
objects, the posterior classification and the classification table are derived from the posterior class-membership probabilities given the vector of repeated measures that are contained in pprob output matrix.
For a Jointlcmm
object, the first posterior classification and the classification table are derived from the posterior class-membership probabilities given the vector of repeated measures and the time-to-event information (that are contained in columns probYT1, probYT2, etc in pprob output matrix). The second posterior classification is derived from the posterior class-membership probabilities given only the vector of repeated measures (that are contained in columns probY1, probY2, etc in pprob output matrix).
A list containing the posterior classification, the posterior classification table and the percentage of subjects classified with a posterior probability above the given thresholds.
This function can only be used with latent class mixed models and joint latent class mixed models that include at least 2 latent classes
Cecile Proust-Lima, Benoit Liquet and Viviane Philipps
Jointlcmm
, lcmm
, hlme
,plot.lcmm
1 2 3 4 |
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.