The chi-square test of independence is typically used to analyze the relationship between two variables when
both variables are nominal.
the two variables have been measured on different individuals.
the observations on each variable are within-subjects in nature.
all of the above