Covariates of length of stay in residential treatment. · Study