Historical ethnicity analysis