Question: The table below gives the frequency with which a sample of women drink tea and coffee (Arab, Lenore et al. Gender differences in tea, coffee,

The table below gives the frequency with which a sample of women drink tea and coffee (Arab, Lenore et al. "Gender differences in tea, coffee, and cognitive decline in the elderly: the Cardiovascular Health Study." Journal of Alzheimer's disease : JAD vol. 27,3 (2011): 553-66. doi:10.3233/JAD-2011-110431). Do women drink tea and coffee with the same frequency at the alpha = 0.01 significance level?

FreqTeaCoffee
5801019
5 - 10 / year289169
1 - 3 / month503178
1 - 4 / week618208
> 5 / week7421148
  • Enter the data into an array.
  • Calculate the chi-square statistic and p-value
  • an if statement to determine if the null hypothesis that women drink tea and coffee with the same frequency is rejected or not.

Ex: If the data for men is used,

FreqTeaCoffee
551637
5 - 10 / year244139
1 - 3 / month387152
1 - 4 / week452225
> 5 / week443915

the output is:

3.776187E+02 1.903049E-80 The hypothesis that tea and coffee are drunk with the same frequency is rejected.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock