Logical fallacy
Atomistic fallacy
A pattern seen between individuals is assumed to hold between groups or populations. Group-level processes and aggregation can change or even reverse the association.
Examples
Within each school, older students read more books. So schools with older average enrollment must have higher reading totals.
An employee who saves more money can build a larger balance. That proves that if everyone saves more at once the town's total income will rise.