Skip to contents

Likelihood calculation for a specified model.

Usage

likelihoodIGT(
  wins,
  losses,
  choices,
  numDecks,
  utility,
  updating,
  temperature,
  pars,
  scale = 0.01
)

Arguments

wins

Vector of wins

losses

Vector of losses

numDecks

Number of decks

updating

Name of updating function

temperature

Name of temperature function

pars

A named list of parameters. See details.

scale

How to scale outcomes before passing to the model. Typically, outcomes are divided by 100 (i.e. scale = .01).

choice

Vector of deck choices

Value

A named list containing simulated IGT data.

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.