Generate y values for the "combo" / SARAR / SAC model.
sim_sarar(u, xb, listw, rho = 0.5, lambda = 0.2, model = c("sar", "ma"))A numeric vector
an error vector
predicted x values as calculated by make_xb()
a listw object generated with sim_grid_listw().
the spatial autoregressive coefficient for the spatially lagged dependent variable.
a value value between -1 and 1. The spatial autoregressive coefficient for the error term.
default "sar". Which model should be simulated. Provide "ma" for the moving average.