tidyverts / tidyverts/fable

adding exogenous regressors only to one level in hierarchy

Open
#350 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
588
Forks
71
Avg merge
1h 58m
Merged PRs (30d)
1

Description

Hello,

I was adding exogenous regressors to the forecasting hierarchy using ARIMA model and formula notation. It works well when the exogenous values are added to all levels in a hierarchy.

However, I would like to try applying them only to one level in hierarchy.

I tried replacoing values of exogenous values on the levels I do NOT need with NA. This solution causes all models to become "NULL model" after fitting model() object. During fitting, I also get a warning messages saying that exogenous variables have been dropped because the matrix was rank deficient.

I can not drop exogenous values completely, since exogenous values are columns in the data frame with the forecasting groups.

Would love to hear your feedback on that. Seems like an essential functionality to me

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the hierarchy forecast with ARIMA, formula notation, exogenous columns, and NA values at levels where regressors should not apply. Investigate how model() handles those columns and define completion as supporting regressors at only one hierarchy level without producing NULL models or rank-deficiency warnings.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
analytics, data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.