Skip to contents

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

Sam Abbott

Examples

epict_inference_opts()
#> $debug
#> [1] 0
#> 
#> $likelihood
#> [1] 1
#> 
#> $pp
#> [1] 0
#> 
#> $output_loglik
#> [1] 0
#>