Skip to content

fpppy Figure 5.23 lagging forecast values #59

@robjhyndman

Description

@robjhyndman

Discussed in https://github.com/orgs/OTexts/discussions/57

Originally posted by Phlos October 29, 2025
The forecast values in fpppy Figure 5.23 appear to be lagging:
image
The image is correct for the corresponding fpp3 Figure 5.21:
image

This appears to be an error inside the statsforecast package, as you can see in the preds dataframe that first timestamp is the last quarter of 2007 (which should be the training set) instead of the first quarter of 2008:
image

@MMenchero

Metadata

Metadata

Assignees

No one assigned

    Labels

    fpppyForecasting: Principles and Practice Python edition

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions