Syntax for mutual influence APIM model? PreviousNext
Mplus Discussion > Multilevel Data/Complex Sample >
 Joseph Trombello posted on Thursday, December 19, 2013 - 8:44 am

I've looked through the User's Manual and this website but seem to be struggling on the appropriate syntax for the following model.

I want to test partner effects (i.e., husbands' predictor 1 and predictor 2 scores on wives' outcome variable) and vice-versa. However, I will also need a mutual influence model, as I am interested in the effects between husbands' and wives' outcome scores. I ran a version of this (incorrectly) in multilevel modeling using HLM, and the link between husbands' and wives' outcome really seems to be the key significant variable.

Could anyone point perhaps to an example that would enable me to include both the partner effects for two predictors and the mutual influence between husbands' and wives' Y's?

Thank you.
 Bengt O. Muthen posted on Thursday, December 19, 2013 - 1:32 pm
Perhaps you find what you are interested in here:

James L. Peugh, David DiLillo & Jillian Panuzio (2013) Analyzing Mixed-Dyadic Data Using Structural Equation Models. Structural Equation Modeling. Pages: 314-337 DOI: 10.1080/10705511.2013.769395
 Joseph Trombello posted on Friday, December 27, 2013 - 2:42 pm
As a follow-up, I think I have my syntax mostly down, but I continue to get an error message that "horisk cannot be on the left-hand side of a BY command". Do you have any thoughts on how I may successfully run a partner effects and mutual influence model simultaneously?

My predictors are husband family-of-origin and wife family-of-origin distress alongside husband and wife depression history, to predict partner's scores on the risk variable as an outcome. However, I am also interested in whether one's own risk predicts risk in a partner (i.e., the relationship between husbands' and wives' risk scores ... or the mutual influence part).

TITLE: basic test

DATA: FILE = C:\Users\joetrombello\desktop\brief file for dom.sav;

VARIABLE: NAMES = cID hfoi wfoi horisk worisk hdep wdep;


MODEL: horisk ON wfoi wdep;
worisk ON hfoi hdep;
horisk BY worisk;


*** ERROR in MODEL command
horisk cannot be on the left-hand side of a BY statement.
 Bengt O. Muthen posted on Friday, December 27, 2013 - 4:12 pm
You have "horisk" as an observed variable in the NAMES list and then you are trying to define it as a latent variable using BY.
 Joseph Trombello posted on Saturday, December 28, 2013 - 12:50 pm
So I will need an ON or WITH instead?
 Linda K. Muthen posted on Saturday, December 28, 2013 - 1:39 pm
You cannot use the name of an observed variable on the left-hand side of a BY statement. A BY statement defines a factor. The name on the left-hand side of the BY statement should be the name of the factor defined by the BY statement. You should use ON for regression or WITH for covariance.
 Joseph Trombello posted on Tuesday, December 31, 2013 - 9:24 am
Is there a way to attach an output file on here? I think I finally have all the syntax down correctly for a mutual influence and partner effects model, but my estimates and standard errors for the wives' portions seem wildly off.
 Linda K. Muthen posted on Tuesday, December 31, 2013 - 9:26 am
Please send the output and your license number to
 J.D. Haltigan posted on Sunday, December 18, 2016 - 7:52 pm

Instead of the WIDE SEM-based approach to dyadic analyses outlined by Peugh, I am conducting a dyadic APIM analyses in the MLM setup. Looking to predict Y at T2....k from actor (autogressive) and partner (cross-influence) at time k-1.

Because I have the person-period-pairwise data set up (LONG), I am struggling with how to create the relevant time variables even using dummy codes for infant and parent (the individuals) because the two data vectors for actor and partner are stacked variables (thus, yield the same overall information). Is there an example of the APIM model within the MLM framework anyone could point me to?
 Bengt O. Muthen posted on Tuesday, December 20, 2016 - 2:01 pm
I am not familar with these various formats - you may want to ask on SEMNET. Not sure if our longtowide and widetolong reformatting options are helpful.
Back to top
Add Your Message Here
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Options: Enable HTML code in message
Automatically activate URLs in message