Hi,
I have been trying to specify the parameters and constraints for a cross-lagged model, though I'm not sure how to identify it correctly (sorry if I use incorrect terminology). Some of the values are similar to what I would expect, though I'm thinking about how the data should behave given free or fixed parameters. I won't say anymore, rather I'll past the model below.
Any suggestions about how to set the parameters to get the most accurate estimate of what is going on in the data would be greatly appreciated. On another note when I post a message I receive this error message
'warning: implode(): Invalid arguments passed in /private/var/openmx/drupal-6.16/sites/all/modules/mollom/mollom.module on line 1439'
regards,
j
CrossLaggedModel<-mxModel("cross lagged correlation",
type="RAM",
manifestVars=c("f1A","f1B","f2A","f2B","f3A","f3B"),
latentVars="one",
mxData(observed=myCrossData, type="raw"),
mxPath(from="f1A", to="f2B", arrows=1, free=FALSE, values=.5),
mxPath(from="f1B", to="f2A", arrows=1, free=TRUE, values=.7),
mxPath(from="f1B", to="f1A", arrows=2, free=TRUE, values=.5),
mxPath(from="f1B", to="f2B", arrows=1, free=TRUE, values=.5),
mxPath(from="f1A", to="f2A", arrows=1, free=TRUE, values=.5),
mxPath(from="f2B", to="f3A", arrows=1, free=TRUE, values=.5),
mxPath(from="f2A", to="f3B", arrows=1, free=TRUE, values=.7),
mxPath(from="f2B", to="f2A", arrows=2, free=TRUE, values=.7),
mxPath(from="f2B", to="f3B", arrows=1, free=TRUE, values=.5),
mxPath(from="f2A", to="f3A", arrows=1, free=TRUE, values=.5),
mxPath(from="f3A", to="f3B", arrows=2, free=TRUE, values=.5),
mxPath(from=c("f1A","f1B","f2A","f2B","f3A","f3B"), arrows=2, free=c(F,F,T,T,T,T),
values=1, labels=c ("var1A","var1B","residualA","residualB","residualA","residualB")),
mxPath(from="one",
to=c("f1A","f1B","f2A","f2B","f3A","f3B"),
free=c(T,T,T,T,T,T), values=c(0,0,0,0,0,0), labels=c ("m1A","m1B","m2A","m2B","m3A","m3B"))
)
crossLaggedFit<-mxRun(CrossLaggedModel)