A simple implementation of the Fitter class for testing purposes only. This fitter returns predetermined values and does not perform actual Bayesian inference.
WARNING: MockFitter ignores the fit_spec model specification.
Do NOT use for scientific simulation studies comparing different models.
For real inference, use BrmsFitter or create a custom fitter.
For a lightweight no-Stan alternative, see the LinearFitter example
in vignette("custom-fitters").
Usage
MockFitter(
name = "mock",
supports_predictions = TRUE,
supports_log_lik = TRUE,
supports_loo = TRUE,
n_draws = 100L,
n_chains = 4L
)See also
Fitter for the abstract base class, BrmsFitter for real inference