pred_acc: Compute prediction accuracy

View source: R/model_selection.R

pred_accR Documentation

Compute prediction accuracy

Description

This function computes the prediction accuracy of an RprobitB_fit object. Prediction accuracy means the share of choices that are correctly predicted by the model, where prediction is based on the maximum choice probability.

Usage

pred_acc(x, ...)

Arguments

x

An object of class RprobitB_fit.

...

Optionally specify more RprobitB_fit objects.

Value

A numeric.


loelschlaeger/RprobitB documentation built on Oct. 15, 2024, 11:08 a.m.