I constructed a contingency table with three categorical variables (species, elevation, and year) and performed a chi-square analysis to test for independence between them. My initial goal was to determine the probability that observed differences in species elevational ranges between two surveys (years) were due to chance.
The test revealed a significant relationship between the variables. This, however, presents me with a new question: how do I go about determining precisely where this relationship exists (e.g. species & elevation vs. species & year vs.elevation & year, etc.)?
Any advice or suggestions on how I can figure this out? Thanks!