Discrete frequency models for inventory management