Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i have made a 3 column table for my garden data collection. The columns are: day, food given, bird seen.

Day is from 1 to 31

Food given is blank if i missed that day, or 1 if i put food out and 2 if i did not

Bird seen is blank if i missed it, 1 if i saw the bird and 2 if i did not.

How can i mathematically see if there is a link between me leaving the food out for the bird and me seeing the birds please?

share|cite|improve this question

If I misunderstood and made any incorrect assumptions let me know. I think the day is not a factor so it can be used as a pairing variable. Hopefully since you only have 31 potential pairs you don't have many missing days. Now count the number of cases that are (1,1) (2,1) (1,2) and (2,2). where the first component in the score is food put out yes or no and the second is bird seen yes or no. Then construct the 2x2 table to test independence against an alternative of concordance/discordance. For your intuition if a large majority of the counts are in the (1,1) and (2,2) cells in combination you have concordance. If a large majority are in the (2,1) and (1,2) pairs then you have discordance. Otherwise you would see the concordant cell totals almost equal to the discordant cell totals indicating independence. Fisher's exact test in a 2x2 table tests for this.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.