How to interpret an "if and only if" ("iff") statement in a summation?

101 Views Asked by At

I'm a programmer trying to convert the formula below into code, and I don't understand what exactly the "iff" clause on the right side of the numerator is being applied to. The fact that it references the inner double-summation's "j" iterator character makes me think that it's saying that the inner double-summation should only be added to when the iff clause is satisfied; is that right?

enter image description here

2

There are 2 best solutions below

0
On

The answer is "Yes, the iff is limiting when things should be added to the inner double-summation". I proceeded with the assumption that this was the case and was able to reproduce a result from the paper, so it seems to be right.

The paper it's from is "Measuring the Reliability of Qualitative Text Analysis Data" by Klaus Krippendorf.

And the formula is not technically correctly-written:

[@DaveL.Renfro:] Literally, it says that the objects being summed over (at some point, either the inner summations or the summations outside the square brackets) are if and only if statements.

...which does not appear to have been what the author of the paper intended.

4
On

From what you say in the first and second post, it looks plausible to understand the iff as $[l_{cjh} \ge l_{cig}]$ , where the square brackets denote the Iverson bracket $$ \left[ P \right] = \left\{ {\begin{array}{*{20}c} 1 & {P = TRUE} \\ 0 & {P = FALSE} \\ \end{array} } \right. $$