Event history analysis of children in care