Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 5: A study is underway to determine if the customer's age is related to the type of movie the customer is renting. From a
Question 5: A study is underway to determine if the customer's age is related to the type of movie the customer is renting. From a random sample of 240 clients, we cross-classified the clients according to type of movie they are renting and age. > c. table Type Age Documentary Humour Mystery 12-20 14 9 8 21-29 15 14 30-38 9 21 39 39-47 22 17 48 or more 38 12 (a) We are display the observed value of the test statistic for Pearson's chi-square test for independence between the type of movie and the age of the client. Formulate the hypothesese that are being tested. Compute the p-value and give the conclusion. > chisq. test (c. table)$statistic X-squared 46.73544 (b) Below are the standardized Pearson residuals. Use these residuals to identify a 2 x 2 sub-table with an interesting odds ratio. Compute the corresponding odds ratio, and interpret it within the context of the study. > chisq. test (c. table) $stdres Type Age Documentary Humour Mystery 12-20 3. 487479 -1.7218969 -1. 1988983 21-29 2. 993320 -0.8801845 -1.6483393 30-38 -1.974179 -2.5615223 4.3426506 39-47 -1. 112459 0. 6839453 0. 2428843 48 or more -2. 201152 4.2296436 -2.4996847
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