Hi, sorry if this is a really newb question but I'm working on a dataset for class on the relationship between depression and sleep. I have two variables, depression with a yes/no response, and average hours of sleep for each respondent (5,6,7,etc.). I analyzed the two for ANOVA and found their R-squared and the P value for the relationship, but is there a better test for this specific situation? I just want to establish if there is a link between the two variables and the significance or impact of depression on average hours of sleep.
Thank you for your help