Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A newspaper claimed that difficulty with sleeping is associated with depression. To test this hypothesis, you recruit a random sample of second year undergraduate students
A newspaper claimed that difficulty with sleeping is associated with depression. To test this hypothesis, you recruit a random sample of second year undergraduate students and obtain information on difficulty with sleeping l'Slp_Trouble'l and depression status ('Depressed'). Conduct an appropriate statistical test to examine the association between the sleep trouble and depression. Significance is set at 0.05 for a two-tail test. {14 Marks} Note: Depressed: 1 = Excellent. 2 = Good, 3 = Fair, 4 = Poor Slp_Trouble: 0 = No, 1 = Yes a} Provide all R codes used to answer this question {5 Marks): b) Provide null and alternative hypotheses {2 Marks)
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