Sociological foundations

What is the main purpose of a Weberian ideal type in sociological analysis?