neighbayes.models.priors.PanelCountPriors¶
-
class neighbayes.models.priors.PanelCountPriors(beta_mu=
None, beta_sigma=None, sigma2_alpha=2.0, sigma2_beta=None, nu=4.0, rho_lower=-1.0, rho_upper=1.0, alpha_sigma=2.5, alpha_nu=3.0, alpha_fixed=None, time_effect_mu=None, time_effect_sigma=2.5, unit_effect_mu=None, unit_effect_sd_scale=1.0)[source]¶ Priors for the count panels (
neighbayes.models.SARNegBin& co).The dispersion and period-effect priors of
_PanelCountBasePriors, plus the unit effects’:- unit_effect_mu[source]¶
Mean of the unit effects: 0 when the design keeps an intercept (it carries the level), else
log(mean(y)).
- unit_effect_sd_scale[source]¶
Scale of the half-Student-t(3) prior on the effects’ sd, which is learned (the effects are partially pooled). Default 1.
-
__init__(beta_mu=
None, beta_sigma=None, sigma2_alpha=2.0, sigma2_beta=None, nu=4.0, rho_lower=-1.0, rho_upper=1.0, alpha_sigma=2.5, alpha_nu=3.0, alpha_fixed=None, time_effect_mu=None, time_effect_sigma=2.5, unit_effect_mu=None, unit_effect_sd_scale=1.0)[source]¶
Methods
__init__([beta_mu, beta_sigma, ...])Attributes