Description Usage Arguments Value Author(s)
This function performs one step of the DFP with the Bayesian Lasso prior. The inputs are described in Algorithm 1 and the Supplementary Materials of Guhaniyogi & Gutierrez.
1 | dfpBayLasSte(P, XX, Xy, yy, sN, hb, hs, hl, ht, hlsc, hlsh, nmcmc)
|
P |
Current partition to be used. |
XX |
Sufficient statistic X'X. |
Xy |
Sufficient statistic X'y. |
yy |
Sufficient statistic y'y. |
sN |
Number of Observations. |
hb |
Point estimate of the coefficients. |
hs |
Point estimates of the variance of the error. |
hl |
Point estimate for the global shrinking parameter. |
ht |
Point estimate for the local shrinking parameters. |
hlsc |
Hyper-prior for the lambda parameter rate. |
hlsh |
Hyper-prior for the lambda parameter shape. |
nmcmc |
Number of samples of the parameters. |
A list containing samples for the model parameters.
A matrix with samples for coefficients, 1 sample per row.
A matrix with samples for local shrinkage parameters, 1 sample per row.
Samples for sigma.
Samples for the global shrinkage parameter.
Rene Gutierrez Marquez
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.