Spatial lag model with brms and predictions/marginal_effects

marginal_effects will always exclude autocorrelation structures, but when you compute predictions via posterior_predict, they will be included.

1 Like