Multilevel Path Analyses
Message/Author
 Erik Thoonen posted on Thursday, February 21, 2008 - 2:17 am
To answer the question whether differences in perceptions (teachers vs. school leader) of school leaders' leadership influence organizational variables, I would like to perform a multilevel path analysis (intraclass correlation between schools <.25)

The next input I used to perform the first analysis:

VARIABLE: NAMES ARE school A_popul wel07m par07m iv07m perlv perlic perlis;
BETWEEN = A_popul;
CLUSTER = school;
MISSING ARE ALL (-1);
ANALYSIS: TYPE = TWOLEVEL;
MODEL: %WITHIN%
par07m wel07m iv07m ON perlv; (etc.)
%BETWEEN%
par07m wel07m iv07m ON perlv;
(etc.)
perlv perlic perlis ON A_popul;
However, Mplus could not run this input and gave me the next error messages:

*** ERROR in Model command
Variable is a y-variable on the BETWEEN level but is an x-variable
on the WITHIN level: PERLV
(same for other per-variables)

"A_popul" means the number of students and is equal for all teachers of the same school, and therefore automatically a between-variable.

Mu question is: how can I run this path analyses in which the variables: perlv, perlic, perlis can be the X-variabel on the within-level, but are an intermediate variable on the between-level?

Or is this not possible at all?

Thanks a lot!
 Boliang Guo posted on Thursday, February 21, 2008 - 2:46 am
you pls read following paper for reference.
Krull, J. L. & MacKinnon, D. P. (1999). Multilevel Mediation Modeling in Group-Based Intervention Studies. Evaluation Review, 23, 418-444.
Krull, J. L. & MacKinnon, D. P. (2001). Multilevel modeling of individual and group level mediated effects. Multivariate Behavioral Research, 36, 249-277.
MacKinnon, D. P. (2007). Introduction to Statistical Mediation Analysis. Mahwah, NJ: Erlbaum.
multilevel path analysis is easy to set up for 2-2-1, 1-1-1 and 2-1-1 model, not available foe 1-2-1 model, which the depend variable(M) is level 2 variable but the predicator is level 1 variable, there is a latest paper in PM2007 show the multilevel equation for level 2 dependent variable predicated by level 1 variable, pls have a look for reference.you can find it in Mplus web.
 Erik Thoonen posted on Thursday, February 21, 2008 - 7:18 am
With regard to the mentioned model, my model estimates that A_popul (level-2) has an influence on perlv, perlic, perlis (level-1) which influence organizational variables (level-1). So I consider only A_popul as a between-variable, because there is no variation within schools regarding the number of students.
So, isn't it that I have a 2-1-1 model or do I misunderstand something?
 Bengt O. Muthen posted on Thursday, February 21, 2008 - 6:10 pm
Look at the Mplus V5 UG ex 9.4 and 9.9 using the WLSM estimator.
 SY Khan posted on Sunday, May 20, 2018 - 12:15 pm
I am evaluating a 2 level moderated mediation model using mean score varaibles. At the between level moderation occurs at path b.

I get the following fit indecies:
Chi-Square Value = 6151.317
Degrees of Freedom 2
P-Value 0.0000

RMSEA estimate 0.383

CFI 0.949
TLI -2.077

Chi-Square Test of Model Fit for the Baseline Model Value 121023.273
Degrees of Freedom 121
P-Value 0.0000

SRMR (Standardized Root Mean Square Residual)

Value for Within 0.000
Value for Between 0.096

I requested the modification indicies and got the following message:

MODINDICES option is not available in conjunction with nonlinear constraints
through the use of MODEL CONSTRAINT. Request for MODINDICES is ignored.

Can you suggets why my model fit is generally bad and how can I improve it?

Many thanks,
 Bengt O. Muthen posted on Sunday, May 20, 2018 - 5:57 pm
This type of general analysis question is better suited for SEMNET. - And they need to know more detail about your model.
 SY Khan posted on Monday, May 21, 2018 - 4:10 am
Thanks Dr Muthen, I will try SEMNET.
I have another question please. When I run my above mentioned 2-level moderated mediated model, I notice that at the within-level only the outcome variables are correlated. I have control variables and 3 predictors at the within-level, which are not correlated. Likewise, at the between-level only 3 outcome variables are correlated, and 3 between-level covariates and 4 predictors are not correlated.
Using with statements, I entered the correlation at the appropriate levels. The model runs fine with adding within-level correlations, but gives the following error when I correlate between-level predictors:
THE MODEL ESTIMATION DID NOT TERMINATE NORMALLY DUE TO AN ILL-CONDITIONED
FISHER INFORMATION MATRIX. CHANGE YOUR MODEL AND/OR STARTING VALUES……
THIS MAY BE DUE TO THE STARTING VALUES BUT MAY ALSO BE AN INDICATION OF MODEL NONIDENTIFICATION. THE CONDITION
NUMBER IS -0.104D-12.
THE STANDARD ERRORS OF THE MODEL PARAMETER ESTIMATES COULD NOT BE
COMPUTED. PROBLEM INVOLVING THE FOLLOWING PARAMETER:
Parameter 158, %BETWEEN%: TURECG WITH AGGJD
THE MODEL IS NOT IDENTIFIED. THE DEGREES OF FREEDOM FOR THIS MODEL ARE
NEGATIVE. CHI-SQUARE TEST AND SAMPLE STATISTICS ARE NOT AVAILABLE.

Does Mplus correlate predictors by default and which would be ideal starting values?

Many thanks,
 Bengt O. Muthen posted on Monday, May 21, 2018 - 5:32 pm
We need to see the full output to comment on this - send to Support along with your license number.
 SY Khan posted on Thursday, May 31, 2018 - 2:51 am
Hi Dr Muthen,

I would be very grateful for your input and advice on my sent outputs which give the error message mentioned in the post above.

Additionally, I get the following error when I run the same model with just the within-level correlations:

THE STANDARD ERRORS OF THE MODEL PARAMETER ESTIMATES MAY NOT BE
TRUSTWORTHY FOR SOME PARAMETERS DUE TO A NON-POSITIVE DEFINITE
FIRST-ORDER DERIVATIVE PRODUCT MATRIX. THIS MAY BE DUE TO THE STARTING
VALUES BUT MAY ALSO BE AN INDICATION OF MODEL NONIDENTIFICATION. THE
CONDITION NUMBER IS 0.153D-10. PROBLEM INVOLVING THE FOLLOWING PARAMETER:
Parameter 11, %WITHIN%: [ JDXMS ]