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.


RprobitB documentation built on Nov. 10, 2022, 5:12 p.m.