Ecological fallacy

A bias due to deriving inferences about individual characteristics from aggregate data, or an error of inference due to a failure to distinguish between different levels of organisation.  The bias or error may occur because an association that is observed among variables at an aggregate level does not necessarily exist at an individual level.  

See Inferences, Levels of analysis, Levels of organization, Typological thinking