Skip to contents

Simiulate Matrix Exponential Spatial Lag Model

Usage

sim_mess(u, xb, listw, rho = 0.5)

Arguments

u

an error vector

xb

predicted x values as calculated by make_xb()

listw

a listw object generated with sim_grid_listw().

rho

the spatial autoregressive coefficient for the spatially lagged dependent variable.

Value

A numeric vector

References

dgp_mess