abreton wrote:I've found that Gary's advice (MARK Workshops at CSU ~2003 and 2004) to accomodate your general model in the PIMs, close them and then do all subseuqent model building/running from the design matrix is an efficient way to proceed in MARK. If you want to 'pool groups', you do not need to remove rows from your DM, you only need to change how they are coded.
For example, have a look at the design matrix on page 7-10 (Chapter 7) in the Gentle Intro: note that the 2nd column (half 1's; half 0's) codes for sex. To 'pool sexes' (groups), all you would have to do is remove column 2 from this DM. Check out other examples in Chapter 7.
I never asked Gary why he suggested the approach I described, but I suspect it is to reduce confusion...a real problem when your model results include a variaety of PIM and DM structures.
The DM represents a set of linear constraints applied to the underlying PIMs. If the PIMs change, then by definition so does the corresponding DM.
A thorough reading of Chapter 7 will probably help with some of the confusion a few folks are apparently having. You set the basic parameter structure of your problem with the PIMs, construct the DM corresponding to it, and then build models nested within the general model by modifying the corresponding DM (e.g., adding or deleting columns).
But, to reiterate, a simple pooling across levels of a classification variable for a given underlying PIM (parameter) structure involves recoding elements of the DM. It does *not* require recoding the PIMs.
And, finally, the number of rows in the DM are determined by the number of parameters in the PIMs, and the number of levels of one or more classification variables. So, for example, for a phi(t) model, with 7 occasions (6 intervals), and 3 groups, you'd have 6x3 = 18 rows for the parameter phi. Its really not much more complicated than that.