document.write( "Question 869677: On the basis of her experience with clients, a clinical psychologist thinks that\r
\n" ); document.write( "\n" ); document.write( "depression may interfere with sleep. She decided to test this idea. The sleep of nine \r
\n" ); document.write( "\n" ); document.write( "depressed patients and eight normal controls is monitored for three successive nights. \r
\n" ); document.write( "\n" ); document.write( "The average number of hours slept by each subject during the last two nights is shown \r
\n" ); document.write( "\n" ); document.write( "Hours of sleep \r
\n" ); document.write( "\n" ); document.write( "Depressed 9.2 7.5 3.9 7.1 6.1 6.6 7.4 7.4 5.9 \r
\n" ); document.write( "\n" ); document.write( "Control 6.7 6.9 9.5 6.8 7.4 8.2 9.2 6.6 \r
\n" ); document.write( "\n" ); document.write( "Is the clinician correct? Use α = 0.05 in making your decision.
\n" ); document.write( "

Algebra.Com's Answer #524366 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
On the basis of her experience with clients, a clinical psychologist thinks that depression may interfere with sleep.
\n" ); document.write( "She decided to test this idea.
\n" ); document.write( "The sleep of nine depressed patients and eight normal controls is monitored for three successive nights.
\n" ); document.write( "The average number of hours slept by each subject during the last two nights is shown.
\n" ); document.write( "Hours of sleep
\n" ); document.write( "Depressed 9.2 7.5 3.9 7.1 6.1 6.6 7.4 7.4 5.9 ::: mean = 6.82 with s = 1.47
\n" ); document.write( "Control 6.7 6.9 9.5 6.8 7.4 8.2 9.2 6.6:: mean = 7.66 with s = 1.16
\n" ); document.write( "------------------------------------------
\n" ); document.write( "Is the clinician correct? Use α = 0.05 in making your decision.
\n" ); document.write( "Ho:: ud-uc >= 0
\n" ); document.write( "Ha: ud - uc < 0
\n" ); document.write( "====================
\n" ); document.write( "sample stat:: ud - uc = 6.82-7.66 = -0.84
\n" ); document.write( "----
\n" ); document.write( "test stat:: t(-0.84) = (-0.84-0)/sqrt[(1.47^2/9)+(1.16^2/8)] = -1.3146
\n" ); document.write( "=================
\n" ); document.write( "p-value = P(t < -1.3146 when df = 9+8-2 = 15) = tcdf(-100,-1.3146,15) = 0.1042
\n" ); document.write( "=====================
\n" ); document.write( "Since the p-value is > 5%, fail to reject Ho.
\n" ); document.write( "----
\n" ); document.write( "Conclusion:: Depression makes no difference in amt. of sleep.
\n" ); document.write( "==============
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" );