vb_iterative: vb_iterative

vb_iterativeR Documentation

vb_iterative

Description

Runs iteratively variational bayes until it suceeds

Usage

vb_iterative(
  model,
  output_samples = 2000,
  iter = 10000,
  tol_rel_obj = 0.01,
  additional_parameters_to_save = list(),
  init = "random",
  data = list(),
  ...
)

Arguments

model

A Stan model

output_samples

An integer of how many samples from posteriors

iter

An integer of how many max iterations

tol_rel_obj

A real

additional_parameters_to_save

A character vector

init

A list

data

A list

...

List of paramaters for vb function of Stan

Value

A Stan fit object


stemangiola/ARMET documentation built on July 9, 2022, 1:25 a.m.