Published on *OpenMx* (http://openmx.psyc.virginia.edu)

By *suzannejak*

Created *01/03/2012 - 08:59*

Tue, 01/03/2012 - 08:59 — suzannejak [1]

I'm sorry if this is a too specific question, I tried to use the Python parser but I am totally unfamiliar with Python and can't get it working.

I keep finding differences between my Mx and OpenMx analysis and I think I must have made a mistake in translating the following algebra:

in Mx:

G = (Y-X)@(A.((A.A)*(V-J))) + X@(A.((U-I)*(A.A)));

in OpenMx (wrong?):

algebraG = mxAlgebra(expression = (Y-X) %x% (A*((A*A)%*%(V-J))) + X %x% (A * ((U-I)%*%(A*A))), name = "G")

Does anyone of you check whether this is correct or not? I hope so, thanks in advance,

Suzanne

**Links:**

[1] http://openmx.psyc.virginia.edu/users/suzannejak

[2] http://openmx.psyc.virginia.edu/thread/1293

[3] http://openmx.psyc.virginia.edu/thread/251

[4] http://openmx.psyc.virginia.edu/forums/openmx-help/converting-and-openmx