Question: 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.

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!