npb_main: Fit nonparametric Bayes shrinkage model with main effects...

Description Usage Arguments Value

View source: R/npb_main.R

Description

Fit nonparametric Bayes shrinkage model with main effects only

Usage

1
npb_main(niter, nburn, X, Y, W, scaleY = FALSE, priors, intercept = TRUE)

Arguments

niter

number of iterations

nburn

number of burn-in iterations

X

n by p matrix of predictor data

Y

n by 1 vector of response data

W

n by q matrix of covariate data

scaleY

logical; if TRUE response will be centered and scaled before model fit

priors

list of prior hyperparameters

intercept

logical; indicates if an overall intercept should be estimated with covariates

Value

list of model estimates, see npb documentation


lvhoskovec/mmpack documentation built on Aug. 21, 2021, 4:05 p.m.