Skip to contents

\((I - \rho W)^{-1}\), as spatialreg::invIrW; it maps innovations to the process \(u = \rho W u + e\).

Usage

ErrorOperator(W, rho)

Arguments

W

Spatial weights matrix.

rho

Autoregressive parameter.

Value

Matrix.

Examples

ErrorOperator(matrix(c(0, 1, 1, 0), 2), 0.5)
#>           [,1]      [,2]
#> [1,] 1.3333333 0.6666667
#> [2,] 0.6666667 1.3333333