| aomIdentify | R Documentation |
'aomIdentify' implements the mixed-integer characterization of homogeneous Attention Overload. Binary variables encode pairwise comparisons, while totality, transitivity, and the observed 'succ'-Regularity inequalities characterize the sharp set of compatible strict preferences. The routine tests model feasibility and all pairwise revealed-preference conclusions without enumerating the factorial collection of rankings. A status of 2 is treated as a solver-certified infeasibility result; any other nonzero status is reported as a solver error rather than as model incompatibility.
aomIdentify(menu, prob, tolerance = sqrt(.Machine$double.eps), pairwise = TRUE)
menu |
Numeric zero-one matrix with one row per observed menu. |
prob |
Numeric matrix of population choice probabilities with the same dimensions as 'menu'. |
tolerance |
Nonnegative numerical tolerance added to the population inequalities. |
pairwise |
Logical; if 'TRUE', determine whether each direction of every pairwise comparison occurs in a compatible preference. |
An object of class 'ramchoiceAOMIdentification'. It contains model 'compatible', one feasible 'preference' when the model is nonempty, pairwise possibility and revelation results, solver diagnostics, and the mixed-integer system used in the calculation.
M. D. Cattaneo, P. H. Y. Cheung, X. Ma, and Y. Masatlioglu (2026). Attention Overload. Working paper.
menu <- prob <- matrix(c(
1, 1, 1,
1, 1, 0,
1, 0, 1,
0, 1, 1
), ncol = 3, byrow = TRUE)
for (i in seq_len(nrow(prob))) {
prob[i, menu[i, ] == 1] <- logitAtte(sum(menu[i, ]), 2)$choiceProb
}
aomIdentify(menu, prob)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.