Dataset and label checks · Question 52 of 60
In a dataset of election results, the vote shares of all parties in one constituency add up to 104%, although they should be exactly 100%. Which constraint detects this defect?
1 answer is correct. Hard
Show answer
Answer
- A Sum
Explanation
The sum constraint checks whether the total of several values reaches, exceeds or falls below a set value. Here the shares must add up to exactly 100%. Range would only check each share on its own, and each of them may be plausible by itself.