Patients with dementia and agitation are more likely to transition to a more supportive living setting after psychiatric hospitalization.