mafc_test: Evaluate m-alternative forced choice test

View source: R/fitting.R

mafc_testR Documentation

Evaluate m-alternative forced choice test

Description

This function evaluates a given set of test trials using the provided model memory matrix (word x referent). Each test trial is assumed to present one word and a set of referents of size less than the width of the model memory matrix.

Usage

mafc_test(mperf, test)

Arguments

mperf

A matrix representing model memory with words as rows and referents as columns.

test

A list representing the test trials, each containing a word and its associated referents.

Value

A vector with the probability of choosing the correct object, given each word.


kachergis/XSLmodels documentation built on Feb. 25, 2024, 10:43 p.m.