pred_acc function

Compute prediction accuracy

Compute prediction accuracy

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.

pred_acc(x, ...)

Arguments

  • x: An object of class RprobitB_fit.
  • ...: Optionally specify more RprobitB_fit objects.

Returns

A numeric.

  • Maintainer: Lennart Oelschläger
  • License: GPL-3
  • Last published: 2024-02-26

Downloads (last 30 days):