This is meant to be answer in R. There are two questions. 2.From the previous qu
ID: 3310982 • Letter: T
Question
This is meant to be answer in R. There are two questions.
2.From the previous question, what is the expected value of cell (1,1) (Heavy & [,1])? (up to three decimal places, please)
Dataset survey in MASS package contains the responses of 237 Statistics students at the University of Adelaide to a number of questions. One tested if how much the student smokes (smoke) and how often the student exercises (exer) are independent using chi-sq test. The result, however, got a warning message: In chisq.test(tbl): Chi-squared approximation may be incorrect. So, 'none' and 'some' categories in 'exer' variable are combined. the following table is the reallocated data: Heavy Never Occas Regul Report the test statistic using the table above. (up to three decimal places, please) 7 87 12 4 102 7 8Explanation / Answer
The statistical software output for this problem is:
Contingency table results:
Rows: var14
Columns: None
Chi-Square test:
Hence,
1. Test statistic = 3.233
2. Expected count for cell [1, 1] = (11*115)/236 = 5.360
[.1] [.2] Total Heavy 7 4 11 Never 87 102 189 Occas 12 7 19 Regul 9 8 17 Total 115 121 236Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.