mpt_options: Options Settings for MPT Comparison

View source: R/mpt_options.R

mpt_optionsR Documentation

Options Settings for MPT Comparison

Description

Set and examine a variety of options which affect the way MPT models are estimated.

Usage

mpt_options(...)

Arguments

...

Named parameters to set. Possible values are:

  • bootstrap_samples: Numeric. The number of bootstrap samples to be drawn for the calculation parametric bootstrap confidence intervals.

  • n.optim: Numeric. The number of optimization runs for the models estimated with maximum-likelihood methods.

  • n.chains: Numeric. The number of MCMC chains for the Bayesian models.

  • n.adapt: Numeric. The number of iterations for adaptation.

  • n.burnin: Numeric. The number of burn-in/warm-up iterations.

  • n.iter: Numeric. The total number of iterations to be drawn after adaptation (including burnin).

  • n.thin: Numeric. Thinning interval.

  • Rhat_max: Numeric. The maximum rhat.

  • Neff_min: Numeric. The minimum number of effective samples you are willing to accept.

  • extend_max: Numeric.

  • n.PPP: Numeric. The number of posterior predictive samples drawn for the calculation of fit statistics T_1 and T_2.

  • n.CPU: Numeric. The number of CPU cores to use for obtaining the parametric bootstrap dsitribution. Defaults to the number of available cores on your machine.

  • ci_size: Numeric.

  • max_ci_indiv: Numeric. Used for excluding individual parameter estimates in the bootstrap approaches. If the range of the CI (i.e., distance between minimum and maximum) is larger than this value, the estimate is excluded from the group-level estimates.

  • silent_jags: Logical. Whether to suppress JAGS output.

  • save_models: Logical. Default is FALSE which does not save the individual MCMC samples in .RData files. Instead only summairzes are retained in results object.

Examples

# Examine options:
mpt_options()

# Set number of MCMC chains to 20:
mpt_options(n.chains = 20)
mpt_options()


mpt-network/MPTmultiverse documentation built on May 25, 2023, 4:10 p.m.