Sleep problems have been frequently viewed as a symptom of mental illness rather than a causative factor. However, a growing body of evidence suggests that they are both a cause and a symptom of mental illness. Insomnia is a significant predictor of major depressive disorder; a meta-analysis of 170,000 people showed that insomnia at the beginning of a study period indicated a more than the twofold increased risk for major depressive disorder. Some studies have also indicated correlation between insomnia and anxiety, post-traumatic stress disorder, and suicide. Sleep disorders can increase the risk of psychosis and worsen the severity of psychotic episodes.