Question
A clinical psychologist thinks that depression may affect sleep. She decides to test this idea. She monitored nine depressed clients and eight non-depressed clients for
A clinical psychologist thinks that depression may affect sleep. She decides to test this idea. She monitored nine depressed clients and eight non-depressed clients for three successive nights. The average number of hours slept by each subject during the last two nights is recorded. The data for the two conditions are stored in the following vectors. depressedClients <- c(7.1, 6.8, 6.7, 7.3, 7.5, 6.2, 6.9, 6.5, 7.2) normalClients <- c(8.2, 7.5, 7.7, 7.8, 8.0, 7.4, 7.3, 6.5) Assuming that the population variances for the two conditions are equal, conduct an appropriate -test to address the research question. What is your obtained p-value? How do you interpret this p-value? Attach R code
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