bayespecon.dgp.generate_poisson_flow_data_separable¶
-
bayespecon.dgp.generate_poisson_flow_data_separable(n=
None, k=2, rho_d=0.3, rho_o=0.2, **kwargs)[source]¶ Simulate Poisson flow count data from a separable SAR flow model.
Identical to
generate_poisson_flow_data()except the network parameter is derived as \(\rho_w = -\rho_d \rho_o\), so it is not a free argument. Use this function to generate training data forPoissonSARFlowSeparable.- Parameters:¶
- n : int, default 10¶
Number of spatial units.
- k : int, default 2¶
Number of destination/origin attribute columns.
- rho_d : float, default 0.3¶
Destination autocorrelation parameter.
- rho_o : float, default 0.2¶
Origin autocorrelation parameter.
- **kwargs¶
Forwarded to
generate_poisson_flow_data()(e.g.beta_d,beta_o,seed,G).
- Returns:¶
Same as
generate_poisson_flow_data(). The"rho_w"entry will equal-rho_d * rho_o.- Return type:¶