I do not even know if such a test exists, although, ideally, it does. I want to run a comparison of proportions test as seen here, that adjusts for a 3 part categorical variable (either "A","B", or "C") as well. The link is just an example - what it basically does is run a chi-square test (I think) based on a ratio and sample sizes and determines the statistical significance of the difference between ratios in groups [comparison of proportions, as it is called]. What would be the proper statistical test to look into running to determine the statistical significance in the comparison of proportions that also takes into account that categorical variable?
Thanks. I hope this isn't a terrible/obvious question.