Home away from home: factors associated with current functioning in children living in a residential treatment setting · Study