neighbayes.dgp.simulate_sem¶
-
neighbayes.dgp.simulate_sem(n_side=
None, W=None, gdf=None, lam=0.5, beta=None, sigma=1.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, dynamic=False, unit_effect_sd=None, time_effect_sd=None)[source]¶ Simulate data from SEM DGP
y = X beta + (I-lam W)^(-1) eps.Parameters are analogous to
simulate_sar()withlamreplacingrho.Notes
Equivalent to
simulate_sdemwithbeta2=[](no WX terms); seesimulate_sdem()for the unified Spatial Durbin Error form.