vb_iterative: vb_iterative

Description Usage Arguments Value

View source: R/utilities.R

Description

Runs iteratively variational bayes until it suceeds

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
vb_iterative(
  model,
  output_samples,
  iter,
  tol_rel_obj,
  additional_parameters_to_save = c(),
  data,
  seed,
  ...
)

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

...

List of paramaters for vb function of Stan

Value

A Stan fit object


stemangiola/sccompTemp documentation built on Dec. 23, 2021, 5:30 a.m.