Certain risk factors contribute to opioid misuse, including depression, back pain and previous drug use, according to an analysis of data.