Is cognitive aging associated with levels of REM sleep or slow wave sleep?

Is cognitive aging associated with levels of REM sleep or slow wave sleep?