You are here

Help Plotting Observed and Estimated Model Means in OpenMx - Growth Models

3 posts / 0 new
Last post
Aivil's picture
Offline
Joined: 03/14/2019 - 09:44
Help Plotting Observed and Estimated Model Means in OpenMx - Growth Models

Hello,

I have been fitting different growth models to my data, and I would like to plot the observed and estimated model means in OpenMx.

I would like to obtain similar graphs to the ones attached, which are produced in Mplus. The paper they belong to is: (https://academic.oup.com/jpepsy/article/39/2/188/885587#supplementary-data)

Do you have any advice for that?

Many thanks.

AdminRobK's picture
Offline
Joined: 01/24/2014 - 12:15
a hint to get you started

Could you share your script?

In any event, you can use mxGetExpected() to calculate the model-expected means, for example,

mxGetExpected(myFittedModel, "means")

.

Aivil's picture
Offline
Joined: 03/14/2019 - 09:44
Thanks for the hint.

I attach the script. Sorry it's pretty long.