Perform Bayesian Variable Selection in Gaussian regression models
1 2 | mybsvs(X, y, w, lam, tmax = 2, temp.multip = 3, Miter = 50,
threhold = 0.5)
|
X |
An n x p matrix. Sparse matrices are supported and every care is taken not to make copies of this (typically) giant matrix. No need to center or scale. |
y |
The response vector of length |
w |
The prior inclusion probability of each variable. |
lam |
The slab precision parameter. as suggested by the theory of Wang et al. (2019). |
temp.multip |
The temperature multiple. Default: 3. |
M |
The number of iteration. Default: 200. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.