Assessing spatial autocorrelation in structural equation models

by Filipe Dias   Last Updated July 17, 2017 09:19 AM

I have a SEM built with lavaan and I would like to assess spatial autocorrelation. I found this code written by Jared Byrnes that does exactly that:

However in this page there is warning that as of 2016/10/1 lavaan is not producing correct errors. I browsed lavaan's development page and it seems the bug has not been fixed. Jared Byrnes recommends that users calculate the errors by hand.

Does anyone know of an alternative way of assessing spatial autocorrelation? Alternatively, how can I calculate the errors by hand?


Related Questions

Latent growth model with autoregressive error

Updated August 08, 2017 17:19 PM

Why is Moran's $I$ coming out greater than $1$?

Updated July 08, 2015 15:08 PM