Question
NEED HELP WITH #6 4.Run analyses to get a cross-tabulated frequency table to look at the frequency of children who made a particular choice depending
NEED HELP WITH #6
4.Run analyses to get a cross-tabulated frequency table to look at the frequency of children who made a particular choice depending on their age (Hint. You need to use the Age_binary and Choice variables and it does not matter which is the row or the column). (2 points)
- Paste the R code below. (1 point)
table(Assignment9$Choice, Assignment9$Age_binary)
- Paste the output below. (1 point)
Older Younger
Both3014
Non-recipient111
Recipient2836
5.Conduct a chi-square test of independence to explore whether the observed frequencies for the child's choice about who the distributor was better friends with depending on age group. (Hint. Make sure to run a test of independence, not a goodness-of-fit test) (2 points)
- Paste the R code below. (1 point)
chisq.test(table(Assignment9$Choice, Assignment9$Age_binary))
- Paste the output below. (1 point)
Pearson's Chi-squared test
data:table(Assignment9$Choice, Assignment9$Age_binary)
X-squared = 15.122, df = 2, p-value = 0.0005203
6.Interpret the results for the chi-square analysis that you conducted above using APAstyle. Make sure to interpret the results in the context of the study and in relation to how chi-square is actually conducted (e.g., comparing observed to expected frequencies). [Hint. Use the slide in the lab section to make sure that you have all of the components in the interpretation.] (7 points)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started