set_NG {bsreg} | R Documentation |
Set up a Normal-Gamma prior
Description
Set up a Normal-Gamma prior
Usage
set_NG(
mu = 0,
precision = 1e-08,
shape = 0.01,
rate = 0.01,
beta = NULL,
sigma = NULL
)
set_SNG(
lambda_a = 0.01,
lambda_b = 0.01,
theta_scale = 0,
theta_a = 1,
lambda = 1,
tau = 10,
theta = 0.1
)
set_HS(lambda = 1, tau = 1, zeta = 1, nu = 1)
Arguments
mu |
Numeric scalar or vector with the prior mean of 'beta'. |
precision |
Numeric scalar or matrix with the prior precision of 'beta'. Not used for shrinkage priors. |
shape , rate |
Numeric scalars with the prior shape and rate of 'sigma'. |
lambda_a , lambda_b |
Numeric scalars with the prior shape and rate of 'lambda'. |
theta_scale |
Numeric scalar with the proposal scale of 'theta'. Defaults to zero for a fixed value. |
theta_a |
Numeric scalar with the prior rate of 'theta'. |
lambda , tau , theta , zeta , nu , beta , sigma |
Numerics with starting values for the respective parameter. |
Value
Returns a list with priors and settings.
[Package bsreg version 0.0.2 Index]