vuong_statistic: Implementation of the Vuong test for our setting
Description
Implementation of the Vuong test for our setting
Usage
vuong_statistic(data, pred_i, pred_j)
Arguments
data
Data of the experiment (matrix of ints/data.frame): columns are treatments, rows are actions, values are number of subjects who chose each action on each treatment
pred_i
Model prediction for a theory (matrix of doubles/data.frame): rows are prediction of playing action 1,2,3..., columns are treatments
pred_j
Model prediction for a theory (matrix of doubles/data.frame): rows are prediction of playing action 1,2,3..., columns are treatments
Value
The z score of testing theory I against theory J, given the data