Skip to contents

Create list of data for Stan likelihood computation

Usage

createStanDataForLikelihood(
  wins,
  losses,
  choices,
  numDecks,
  utility,
  updating,
  temperature,
  scale
)

Arguments

utility

Name of utility function

updating

Name of updating function

temperature

Name of temperature function

pars

A named list of parameters. See details.

Value

A list of data for stan

Details

Argument "pars" is a named list with fields:

  • "utility": A named list of parameter values. Names must correspond to the parameters of the utility function specified by argument "utility".

  • "updating": See above.

  • "temperature": See above.