trineq {eba} | R Documentation |
Trinary Inequality
Description
Checks if binary choice probabilities fulfill the trinary inequality.
Usage
trineq(M, A = 1:I)
Arguments
M |
a square matrix or a data frame consisting of absolute choice frequencies; row stimuli are chosen over column stimuli |
A |
a list of vectors consisting of the stimulus aspects;
the default is |
Details
For any triple of stimuli , the trinary inequality states
that, if
and
, then
where ,
, and
denotes that
and
share at least one aspect that
does not have
(Tversky and Sattath, 1979, p. 554).
inclusion.rule
checks if a family of aspect sets is
representable by a tree.
Value
Results checking the trinary inequality.
n |
number of tests of the trinary inequality |
prop |
proportion of triples confirming the trinary inequality |
quant |
quantiles of |
n.tests |
number of transitivity tests performed |
chkdf |
data frame reporting |
References
Tversky, A., & Sattath, S. (1979). Preference trees. Psychological Review, 86, 542–573. doi: 10.1037/0033-295X.86.6.542
See Also
Examples
data(celebrities) # absolute choice frequencies
A <- list(c(1,10), c(2,10), c(3,10),
c(4,11), c(5,11), c(6,11),
c(7,12), c(8,12), c(9,12)) # the structure of aspects
trineq(celebrities, A) # check trinary inequality for tree A
trineq(celebrities, A)$chkdf # trinary inequality for each triple