You are here

Constraining mxAlgebra across submodels

2 posts / 0 new
Last post
WuandMu's picture
Offline
Joined: 06/15/2015 - 04:33
Constraining mxAlgebra across submodels

Hi,

This is actually quite a quick question and the title says most of it already.
Anyway, is there anyway to constrain mxAlgebra objects across multiple submodels?

I would like to constrain estimated heritability of two separate twin models to be the same while allowing each submodel to have separate parameter estimations.

Unfortunately I was unable to find a way to do so. I have tried mxConstraint(modelA.algebra1==modelA.algebra2) but that seemed not to work.

I would be thankful for any reply!

AdminRobK's picture
Offline
Joined: 01/24/2014 - 12:15
It sounds like you have the

It sounds like you have the right idea. Could you show the syntax you're using, and explain how it doesn't do what you want?