make_w_fab: make_w_fab

Description Usage Arguments Value Author(s)

View source: R/FABfuns.R

Description

Make spending function for FAB setting, with spike-slab prior

Usage

1
2
make_w_fab(sigma, p, tau, alpha = 0.1, theta_min = -7, theta_max = 7,
  num_theta = 5000, epsilon = 1e-05, verbose = F)

Arguments

sigma

standard deviation of sampling distribution

p

prior probabilitiy of signal

tau

standard deviation of Gaussian slab

alpha

confidence level

theta_min

minimal value of theta to create spending function

theta_max

maximal value of theta to create spending function

num_theta

number of thetas over which to create grid

epsilon

tolerance level

verbose

logical; if TRUE, print progress bar

Value

a vector of w's, corresponding to the spending function

Author(s)

Spencer Woody


spencerwoody/saFAB documentation built on Feb. 18, 2020, 5:56 a.m.