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 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | dfpSpiLasSte(
XX,
Xy,
yy,
sN,
c,
hb,
ht,
hl,
hs,
hd,
hg,
hlsh = 1,
hlsc = 1,
hds1 = 1,
hds2 = 1,
nmcmc
)
|
XX |
Sufficient statistic X'X. |
Xy |
Sufficient statistic X'y. |
yy |
Sufficient statistic y'y. |
sN |
Number of Observations. |
c |
Spike variance parameter. |
hb |
Point estimate of the coefficients. |
ht |
Point estimate for the local shrinking parameters. |
hl |
Point estimate for the global shrinking parameter. |
hs |
Point estimates of the variance of the error. |
hd |
Point estimate for the sparsity parameter. |
hg |
Point estimate for the indicator functions. |
hlsh |
Hyper-prior for the lambda parameter shape. |
hlsc |
Hyper-prior for the lambda parameter rate. |
hds1 |
Hyper-prior for the sparsity parameter. |
hds2 |
Hyper-prior for the sparsity parameter. |
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.
Samples for the sparsity parameter.
Samples for the Lasso indicators.
Rene Gutierrez Marquez
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.