neighbayes.dgp.simulate_sdem_negbin

neighbayes.dgp.simulate_sdem_negbin(n_side=None, W=None, gdf=None, lam=0.5, beta=None, theta=None, alpha=2.0, err_hetero=False, rng=None, seed=None, contiguity='queen', create_gdf=False, geometry_type='polygon', *, T=None, N=None, unit_effects=None, time_effects=False, unit_effect_sd=None, time_effect_sd=None)[source]

Simulate the latent SDEM negative binomial that SDEMNegBin fits.

\[\eta = X\beta + WX\theta + (I - \lambda W)^{-1}\varepsilon\]

with the disturbances of simulate_sem_negbin(); theta (default 0.5 for each covariate) multiplies the lags of the non-intercept columns.