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

alpha_fixed

alpha_nu

alpha_sigma

beta_mu

beta_mu_zero

beta_sigma

beta_sigma_zero

nu

rho_lower

rho_lower_zero

rho_upper

rho_upper_zero

sigma2_alpha

sigma2_beta

alpha_fixed = None[source]
alpha_nu = 3.0[source]
alpha_sigma = 2.5[source]
beta_mu = None[source]
beta_mu_zero = None[source]
beta_sigma = None[source]
beta_sigma_zero = None[source]
nu = 4.0[source]
rho_lower = None[source]
rho_lower_zero = None[source]
rho_upper = None[source]
rho_upper_zero = None[source]
sigma2_alpha = 2.0[source]
sigma2_beta = None[source]