Investigators use a method of research called Psychological Autopsy. It is a method that tries to explain why a person could have taken their life on the basis of recent medical records, interviewing close ones and such factors. Then research is conducted to gauge the person's state of mind prior to their death.