Learn R Programming

spdgp (version 0.1.0)

sim_mess: Simiulate Matrix Exponential Spatial Lag Model

Description

Simiulate Matrix Exponential Spatial Lag Model

Usage

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

Value

A numeric vector

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.

References

dgp_mess