Currently, I am studying three mixed variables in which I expect dissimilar classes for each of the three variables. It is not unlike example 8.2 in the Mplus manual (only with continuous variables). I can do this in Mplus, but I am wondering if it is also possible in OpenMx. So I need to define separate classes for each variable, but the definition of the model is a puzzle to me. Is it possible (yet)? If so, how do I define the matrix of class probabilities and how do I bind the six classes and their objectives together?
My copy of the Mplus manual lists example 8.2 as a two class growth mixture model with user-specified starting values, which should be exactly what is given in the gmm.R file in the 'posterior class probabilities and entropy' thread we both just came from. I'll be basing this off of your description instead of that Mplus example.
Rather than think of each person being simultaneously in three classes (one of two classes in each of the three variables), I'd think of there being 8 classes, one for each combination of binary class membership (2^3), with appropriate constraints across classes. To make things very simple, we'll say you have three variables x, y and z. These three variables are each assumed to be mixtures of two normal distributions, varying in their mean and variance across classes. I'll further assume that each class differs in its covariances between the three variables for simplicity, though including those parameters may make the model difficult to estimate. I'm writing code directly in the window, so I apologize for unforseen errors. Here's how I'd make the model for class 1 (or class 111, as it is).
Sorrie I led you astray with the example: it is example 8.12 (in my manual for Mplus4.1). I'll try to extend your example.