Change in slow-wave sleep from early to late abstinence ( SWS ; p = 0.05 ) , late abstinence rapid eye movement sleep ( REM ; p = 0.002 ) , and late abstinence total sleep time ( p = 0.02 ) were negatively correlated with the amount of cocaine self-administered .