Examine whether cognitive behavioral therapy for insomnia ( CBT-I ) improves sleep in posttraumatic stress disorder ( PTSD ) as well as nightmares , nonsleep PTSD symptoms , depression symptoms , and psychosocial functioning .