Question 4 The dataset KidsFeet (in the package mosaicData) contains data on 39 fourth-grade students in Ann Arbor, MI in October 1997. Suppose we are interested in answering the following Research Question: Is there any relationship, in the population of fourth grade students, between a student's dominant hand and their biggest (longest) foot? Based on the sample data, it appears that there is a relationship between dominant hand and biggest foot. This can be seen by looking at the table of counts and row percentages shown below: FeetTable<-xtabs(~biggerfoot+domhand, data=KidsFeet) FeetTable domhand biggerfoot L R L 2 20 R 6 11 rowPerc(FeetTable) domhand biggerfoot L R L 9.09% 90.91% R 35.29% 64.71% Kids whose left foot is their bigger foot tend to be right handed (90.91%) more often than kids whose right foot is their bigger foot (64.71%). We are then interested in knowing if this observed relationship holds for the population at large, or if this relationship is simply due to chance. A five-step test of significance is performed. Step 1: Hypotheses Ho: In the fourth grade student population, there is no relationship between a student's dominant hand and their biggest foot. Ha: In the fourth grade student population, there is a relationship between a student's dominant hand and their biggest foot. Step 2: Chi-square statistic and p-value Run the following line of code: chisqtestGC(~biggerfoot+domhand, data=KidsFeet) Notice that you get an error regarding low expected cell counts. Which of the expected cell counts are contributing to this error message? Group of answer choices (A) 17.49, 13.51 (B) 4.51, 3.49 (C) 2, 6 (D) 0.36, 0.47
The dataset KidsFeet (in the package mosaicData) contains data on 39 fourth-grade students in Ann Arbor, MI in October 1997. Suppose we are interested in answering the following
Research Question: Is there any relationship, in the population of fourth grade students, between a student's dominant hand and their biggest (longest) foot?
Based on the sample data, it appears that there is a relationship between dominant hand and biggest foot. This can be seen by looking at the table of counts and row percentages shown below:
FeetTable<-xtabs(~biggerfoot+domhand, data=KidsFeet)
FeetTable
domhand | ||
biggerfoot | L | R |
L | 2 | 20 |
R | 6 | 11 |
rowPerc(FeetTable)
domhand | ||
biggerfoot | L | R |
L | 9.09% | 90.91% |
R | 35.29% | 64.71% |
Kids whose left foot is their bigger foot tend to be right handed (90.91%) more often than kids whose right foot is their bigger foot (64.71%). We are then interested in knowing if this observed relationship holds for the population at large, or if this relationship is simply due to chance. A five-step test of significance is performed.
Step 1: Hypotheses
Ho: In the fourth grade student population, there is no relationship between a student's dominant hand and their biggest foot.
Ha: In the fourth grade student population, there is a relationship between a student's dominant hand and their biggest foot.
Step 2: Chi-square statistic and p-value
Run the following line of code:
chisqtestGC(~biggerfoot+domhand, data=KidsFeet)
Notice that you get an error regarding low expected cell counts. Which of the expected cell counts are contributing to this error message?
Chi square test requires each cells to have an expected count greater than 5.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps