bootstrap_vb: Fit Parameteric Bootstrap for Variational Bayes

Description Usage Arguments Value

View source: R/fit.R

Description

Fit Parameteric Bootstrap for Variational Bayes

Usage

1
bootstrap_vb(method, data, B = 500)

Arguments

method

[character] The path to stan file containing model fitting code.

data

[list] A list of data to input in the data field of the stan file.

B

[integer] The number of bootstrap replicates to compute.

Value

result [list] A list containing beta and theta fields, which is an array similar to what is output by stan(), except columns are now bootstrap replicates instead of sampling iterations


krisrs1128/nmfSim documentation built on May 20, 2019, 1:30 p.m.