The best way to collect the data if we want to compare the average ages of the teachers at your high school is census.
A census is the total enumeration of a population or groups at a point in time with respect to well defined characteristics, such as: population, production, traffic on particular roads. A census is a study of every unit, everyone or everything, in a population. This is also known as a complete enumeration, that means a complete count.
In governmental sector, government agencies use census data to inform their planning, enforcement and policy decisions. This census data helps the federal government in monitoring the voting rights, enforcement of civil rights laws, and equal employment opportunities and protections. The advantage of a census is that data for small areas may be available, assuming satisfactory response rates are reached.
Learn more about census at: https://brainly.com/question/28839458
#SPJ4