https://github.com/nixtla logo
#general
Title
# general
g

Ginger Holt

09/14/2022, 4:50 PM
I am using hierarchicalforecast to reconcile entity-level forecasts. Does anyone have experience in dealing with new entities entering the hierarchy? Basically, the hierarchy is not constant over time. The specific example is forecasting revenue at these levels: account, sub-business unit, and business unit for 1 quarter ahead. New accounts will enter the hierarchy, and I want to account for that in my higher-level (sub-business unit, business unit) forecasts.
👀 1
f

fede (nixtla) (they/them)

09/14/2022, 10:03 PM
Hi @Ginger Holt. The easiest way to include them is to balance the dataset. For example, if you have new entities, you can impute with zeros (or another default value) the past of those entities, train your models and then reconcile them. The only drawback is that you have to be extra careful when producing forecasts for that new entities to avoid a misleading influence of the imputed values. Does that make sense? 🙂
g

Ginger Holt

09/14/2022, 10:39 PM
Yes, that makes sense, thanks. If I have an estimate of how much I expect the new entities to represent, let's say 20% of the total, then this would definitely effect the reconciliation weights of the other entities. My approach will be to include a dummy account which includes 20% of the total so as to not get biased reconciliation weights for the existing entities (I know the existing entities should only represent 80% of the total).
👀 1
m

Max (Nixtla)

09/15/2022, 12:40 AM
Happy to help if you need anything else.