Configure prior hyper-parameters for HTLR model fitting
Arguments
- ptype
The prior to be applied to the model. Either "t" (student-t, default), "ghs" (horseshoe), or "neg" (normal-exponential-gamma).
- df
The degree freedom (aka alpha) of t/ghs/neg prior for coefficients.
- logw
The log scale of priors for coefficients.
- eta
The
sd
of the normal prior for logw. When it is set to 0, logw is fixed. Otherwise, logw is assigned with a normal prior and it will be updated during sampling.- sigmab0
The
sd
of the normal prior for the intercept.
Details
The output is a configuration list which is to be passed to prior
argument of htlr
.
For naive users, you only need to specify the prior type and degree freedom, then the other hyper-parameters
will be chosen automatically. For advanced users, you can supply each prior hyper-parameters by yourself.
For suggestion of picking hyper-parameters, see references
.