bayespecon.dgp.generate_panel_poisson_flow_data_separable¶
-
bayespecon.dgp.generate_panel_poisson_flow_data_separable(n=
None, T=5, G=None, rho_d=0.3, rho_o=0.2, **kwargs)[source]¶ Simulate panel Poisson flow data from a separable SAR flow model.
Identical to
generate_panel_poisson_flow_data()except the network parameter is derived as \(\rho_w = -\rho_d \rho_o\). Use this function to generate training data forPoissonSARFlowSeparablePanel.- Parameters:¶
- n : int¶
Number of spatial units.
- T : int¶
Number of time periods.
- G : libpysal.graph.Graph¶
Row-standardised spatial graph on n units.
- rho_d : float, default 0.3¶
Destination autocorrelation parameter.
- rho_o : float, default 0.2¶
Origin autocorrelation parameter.
- **kwargs¶
Forwarded to
generate_panel_poisson_flow_data()(e.g.beta_d,beta_o,seed).
- Returns:¶
Same as
generate_panel_poisson_flow_data(). The"rho_w"entry will equal-rho_d * rho_o.- Return type:¶