Usage
bridge.reg(y, X, nsamp, alpha=0.5,
sig2.shape=0.0, sig2.scale=0.0, nu.shape=2.0, nu.rate=2.0,
alpha.a=1.0, alpha.b=1.0,
sig2.true=0.0, tau.true=0.0,
burn=500, method="triangle", ortho=FALSE)bridge.reg.tri(y, X, nsamp, alpha=0.5,
sig2.shape=0.0, sig2.scale=0.0, nu.shape=2.0, nu.rate=2.0,
alpha.a=1.0, alpha.b=1.0,
sig2.true=0.0, tau.true=0.0,
burn=500, ortho=FALSE, betaburn=0, extras=FALSE)
bridge.reg.stb(y, X, nsamp, alpha=0.5,
sig2.shape=0.0, sig2.scale=0.0, nu.shape=2.0, nu.rate=2.0,
alpha.a=1.0, alpha.b=1.0,
sig2.true=0.0, tau.true=0.0,
burn=500, ortho=FALSE)
Arguments
y
An N dimensional vector of data.
X
An N x P dimensional design matrix.
nsamp
The number of MCMC samples saved.
alpha
The exponential power parameter; set
sig2.shape
Shape parameter for sig2's prior.
sig2.scale
Scale parameter for sig2's prior.
nu.shape
Shape parameter for nu's prior.
nu.rate
Rate parameter for nu's prior.
alpha.a
First shape parameter for alpha's prior.
alpha.b
Second shape parameter for alpha's prior.
sig2.true
The variance when it is known.
tau.true
The scale parameter tau when it is known.
burn
The number of MCMC samples discarded.
method
The method to use. Either "triangle" or "stable".
ortho
When the design matrix is orthogonal set to TRUE.
betaburn
Number of burn iterations when sampling beta.
extras
Only used for package testing.