bayespecon.dgp.simulate_panel_ols_fe

bayespecon.dgp.simulate_panel_ols_fe(N, T, beta=None, sigma=1.0, sigma_alpha=0.5, err_hetero=False, rng=None, seed=None, W=None, gdf=None, contiguity='queen', create_gdf=False, geometry_type='polygon', wide=False)[source]

Simulate pooled data compatible with OLSPanelFE model assumptions.

Equivalent to simulate_panel_sdm_fe() with rho=0 and beta2=[]; the spatial weights matrix is required for shape validation but does not appear in the data equation.

Returns:

Keys: y, X, unit, time, W_dense, W_graph, params_true with {beta, sigma, sigma_alpha}.

Return type:

dict