Basal rate analysis