pred: Prediction for subjects

Description Usage Arguments Examples

View source: R/pred.R

Description

Prediction of the alcoholic status using the estimates from local Bayesian modeling and variable selection

Usage

1
pred(n0b, bInd, X.test, cEst)

Arguments

n0b

tau x p matrix of estimates of beta as returned by varSelc function

bInd

indices of selected locations after two-stage variable selection as returned by varSelc function

X.test

test data with dimensions m x p x tau

cEst

tau estimates of c for each local models

Examples

1
pred()

shariq-mohammed/SpikeSlabEEG documentation built on July 21, 2020, 12:17 a.m.