Learn R Programming

RprobitB (version 1.2.0)

pred_acc: 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, ...)

Value

A numeric.

Arguments

x

An object of class RprobitB_fit.

...

Optionally specify more RprobitB_fit objects.