what is a chi square test used for 
chi square is a statistical test used to examine the differences between categorical variables from a random sample in order to judge the goodness of fit between expected and observed results who uses chi square analysis since chi square applies to categorical variables it is most used by researchers who are studying survey response data this type of research can range from demography to consumer and marketing research to political science and economics 