epict_inference_opts: Format inference options for use with stan

epict_inference_optsR Documentation

Format inference options for use with stan

Description

Format inference options for use with stan

Usage

epict_inference_opts(
  pp = FALSE,
  likelihood = TRUE,
  debug = FALSE,
  output_loglik = FALSE
)

Arguments

pp

Logical, defaults to FALSE. Should posterior predictions be made for observed data. Useful for evaluating the performance of the model.

likelihood

Logical, defaults to TRUE. Should the likelihood be included in the model

debug

Logical, defaults to FALSE. Should within model debug information be returned.

output_loglik

Logical, defaults to FALSE. Should the log-likelihood be output. Disabling this will speed up fitting if evaluating the model fit is not required.

Value

A list as required by stan.

Author(s)

Sam Abbott

See Also

Functions used to design and setup models adjustment_formula(), epict_formula_as_list(), epict_individual_priors_as_list(), epict_model_opts(), epict_obs_as_list(), epict_onset_obs_as_list(), epict_population_priors_as_list(), epict_posterior_as_prior(), piecewise_formula(), select_piecewise_parameters()

Examples

epict_inference_opts()

seabbs/epict documentation built on July 3, 2023, 6:42 a.m.