fit_model_approximate function

Fit a Stan Model using an approximate method

Fit a Stan Model using an approximate method

Fits a stan model using variational inference.

fit_model_approximate(args, future = FALSE, id = "stan")

Arguments

  • args: List of stan arguments.
  • future: Logical, defaults to FALSE. Should future be used to run stan chains in parallel.
  • id: A character string used to assign logging information on error. Used by regional_epinow() to assign errors to regions. Alter the default to run with error catching.

Returns

A stan model object