tidyverts / tidyverts/fable

Feature request: serial correlation test for VAR residuals

Open
#348 0 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

I am working with VAR models based on Forecasting: Principles and Practice. I switched to the third edition because the tidyverse fable integration is very intuitive. However I could not find an alternative to the vars::serial.test() function that works with fable VAR models. The fable::breusch_godfrey test seems to only work with TSLM models. Is there an easy way to perform a serial correlation test on fable VAR models? If I extract the residuals from the fable VAR model, is there a function you know of, that can perform the test on this tbl of residuals?

Many thanks,
Felix

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 reviewing fable VAR models, the existing fable::breusch_godfrey test, and how residuals are represented in a residuals tbl. Compare the expected behavior with vars::serial.test and define a supported serial-correlation test for VAR residuals, including validation against representative VAR models.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.