spike_slab_params: spike_slab_params

View source: R/helper_functions.R

spike_slab_paramsR Documentation

spike_slab_params

Description

Generates hyperparameters for spike-and-slab

Usage

spike_slab_params(n, p)

Arguments

n

number of observations

p

number of covariates

Value

spike-and-slab hyperparameters q, tau0, tau1, a0, b0

Examples

hyper_params <- spike_slab_params(n=100,p=200)
print(hyper_params)

ScaleSpikeSlab documentation built on May 18, 2022, 5:18 p.m.