Free time & chunking modeling
  • Versions
    • Latest
    • v0.1
  • Source Code
  • Report a Bug
  1. Function reference
  2. Serial Recall Model
  • Version 0.1
  •  
  • About
  • Development notes
    • Notes
    • 2024-05-16 Meeting Notes
    • Extra primacy parameter
  • Notebooks
    • Data
      • View the data structure
      • Exploratory data analysis
      • Subject-level data
    • Model 1: Original model
      • Main results
      • Parameter identifiability
      • Sensitivity to tau
      • Experiment 3
      • Exploring model predictions
    • Model 2: Include encoding time
      • Main results
    • Model 3: Non-linear recovery
      • Explore model predictions
      • Basic fits
      • Bootstrapping data and fits for parameter uncertainty estimation
      • Extra primacy parameter
      • Linear recovery as a random variable
  • Function reference
    • Aggregate Data
    • Perform bootstrapped estimation
    • Calculate the deviance of a model
    • Get data object from a file
    • Generate a bootstrapped dataset
    • get_data function
    • Inverse Logit Transformation
    • Logit Transformation
    • Calculate the overall deviance
    • Plot Bootstrap Results
    • Plot Linear RV Recovery
    • Preprocesses the data
    • Execute an expression and save the result to a file or load the result from a file if it already exists.
    • Serial Recall Model

On this page

  • Serial Recall Model
    • Description
    • Usage
    • Arguments
    • Details
    • Value
    • Examples

Serial Recall Model

Description

This function implements the model currently described in the draft on page 19. It gives the predicted recall probability for each item in a set of items.

Usage

serial_recall(
  setsize,
  ISI = rep(0.5, setsize),
  item_in_ltm = rep(TRUE, setsize),
  prop = 0.2,
  prop_ltm = 0.5,
  tau = 0.15,
  gain = 25,
  rate = 0.1,
  r_max = 1,
  lambda = 1,
  growth = "linear"
)

Arguments

  • setsize: The number of items in the set.
  • ISI: A numeric vector representing the inter-stimulus interval for each item.
  • item_in_ltm: A logical vector indicating whether each item is in LTM.
  • prop: The proportion of resources allocated to each item.
  • prop_ltm: Proportion by which the resources used by LTM items are multiplied.
  • tau: The threshold for recall probability.
  • gain: The gain parameter for the recall probability function.
  • rate: The rate at which resources are recovered.
  • r_max: The maximum amount of resources.
  • lambda: The exponent converting resources to strength.
  • growth: The growth function for resource recovery. Either ‘linear’ or ‘asy’.

Details

The function uses a simulation approach. It loops over trials

Value

A numeric vector representing the recall probability for each item.

Examples

serial_recall(setsize = 3, ISI = rep(0.5, 3))
Back to top
Execute an expression and save the result to a file or load the result from a file if it already exists.