neighbayes.models.priors.SARHurdlePriors¶
-
class neighbayes.models.priors.SARHurdlePriors(beta_mu=
None, beta_sigma=None, sigma2_alpha=2.0, sigma2_beta=None, nu=4.0, alpha_sigma=2.5, alpha_nu=3.0, alpha_fixed=None, beta_mu_zero=None, beta_sigma_zero=None, rho_lower=None, rho_upper=None, rho_lower_zero=None, rho_upper_zero=None)[source]¶ Priors for
neighbayes.models.SARHurdleNegBin.- beta_mu, beta_sigma
Normal prior on the count coefficients β; default Gelman et al. (2008) on the log scale, the intercept centred at
log mean(y | y > 0).
- beta_mu_zero, beta_sigma_zero
Normal prior on the zero part’s coefficients; default Gelman et al. (2008) on the logit scale, the intercept centred at
logit(mean(y > 0)).
- rho_lower, rho_upper, rho_lower_zero, rho_upper_zero
Uniform bounds on the count and zero parts’ ρ; default the stability bounds of the weights.
- alpha_sigma, alpha_nu, alpha_fixed
The NB dispersion of the truncated count, as
NegBinPriors.
-
__init__(beta_mu=
None, beta_sigma=None, sigma2_alpha=2.0, sigma2_beta=None, nu=4.0, alpha_sigma=2.5, alpha_nu=3.0, alpha_fixed=None, beta_mu_zero=None, beta_sigma_zero=None, rho_lower=None, rho_upper=None, rho_lower_zero=None, rho_upper_zero=None)[source]¶
Methods
__init__([beta_mu, beta_sigma, ...])Attributes