Hi,
I'm trying to modify a script for a heterogeneity twin model with continuous data in order to fit my ordinal outcome variable. I think I need to make the following changes:
- Matrices and algebra statements for the expected threshholds for each of my groups
- Incorporating a threshold statement into my mxModels for each of my groups.
I am getting a syntax error, which normally makes me think I'm missing a comma or parenthesis in the lines immediately proceeding the error. However, I cannot find it and based on the placement of the error I think it may be more serious. I am not confident that I have properly specified the model to incorporate the need for a threshold. Any advice or sample code would be appreciated. I've attached my code.
Thank you!