Time to nursing home admission and death in people with dementia