Calculate interval vector
Analyze categories