The article says it is the ecological fallacy. Google "ecological fallacy example" and you'll find lots. A simple example: take a group of 3 people. One has an IQ of 200. The other 2 have an IQ of 50. The average IQ is 100. So the group is "average IQ" but if you pick a person at random they are likely to be substantially below average IQ. Examples get substantially more complicated in reality.