AR effects with lagged() vs. without ... PreviousNext
Mplus Discussion > Dynamic Structural Equation Modeling >
Message/Author
 Michael Lorber posted on Monday, February 25, 2019 - 5:50 pm
I'm curious about the analytic differences between specifying an AR model with vs. without using the lagged command.

Let's say we wanted to run an AR2 model. It would seem that one can specify it like so, using the "lagged" command:

VARIABLE:
usevariables = y;
lagged = y(2);

MODEL:
%within%
AR1 | y ON y&1;
AR2 | y ON y&2;

However, it would seem that one could specify the same model if the two lagged variables (y_1 and y_2) already existed in one's data set, *without* using the "lagged" command:

VARIABLE:
usevariables = y y_1 y_2;
within = y_1 y_2;

MODEL:
%within%
AR1 | y ON y_1;
AR2 | y ON y_2;

Are there any "under the hood" analytic differences in these two approaches?

Thanks!
 Tihomir Asparouhov posted on Tuesday, February 26, 2019 - 9:34 am
Yes. Y&1 = Y_1 - YB where YB is the random intercept/between part of Y. So Y&1 is centered while Y_1 is not. Another difference is how the first two periods are treated.
 Michael Lorber posted on Wednesday, February 27, 2019 - 8:30 am
Thanks!
Back to top
Add Your Message Here
Post:
Username: Posting Information:
This is a public posting area. Enter your username and password if you have an account. Otherwise, enter your full name as your username and leave the password blank. Your e-mail address is optional.
Password:
E-mail:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: