The effect of staffing variables on nursing home resident outcomes