Examples of data with hierarchical attributes
Let’s assume we are forecasting sales for a meat processing company. The total quantity of products sold by the manufacturer can be categorized into items such as beef, pork, and chicken. However, product categorization doesn’t have to stop there. At the top-level groups, we might have broader categories like fresh meat, sausages, delicatessen, and semi-finished products. Within each group, for instance, the ‘sausages’ category, there can be subgroups such as boiled, air-dried, smoked, and so on. Each of these subgroups can further be broken down into more specific attribute categories.
Sales hierarchy can also be defined by geographical features. For example, the overall quantity of sold goods can be segmented by countries, regions, cities, down to distribution channels or individual points of sale. Regional preferences significantly impact the product lineup. In some regions, manufacturers use specific attributes like ‘halal,’ indicating compliance with traditional norms for a significant population group in that area. Regardless, all these attributes are categorical and should be considered during forecasting.
Below, an abstract example of a two-level hierarchical data structure is presented.