I am new to statistics and R and want to run some analyses, I wonder if you can help?
I am looking at a moderated mediation effect where perceived stress predicts sleeping problems through rumination, and how this is moderated by biosex.
It was suggested I first run a t-test to see how these variables relate to each other (ie does stress predict sleeping problems and so on), but i cannot figure out why I would be comparing mean scores of all of these constructs or really how this would work in R (all the examples I have seen are very different).
If anyone could take the time to explain what a t-test can tell me about this relationship I would be really, really grateful
Thank you in advance