Skip to content

forecast() doesn't back transform box_cox transformations if the lambda value isn't the same for all key groups #103

Closed
@markfairbanks

Description

@markfairbanks

The following code doesn't automatically back transform a box_cox transformation:

UKLungDeaths <- as_tsibble(cbind(mdeaths, fdeaths), pivot_longer = TRUE)

UKLungDeaths %>%
  left_join(UKLungDeaths %>% features(value, features = guerrero)) %>%
  model(ETS(box_cox(value, lambda_guerrero))) %>%
  forecast(h = 12)

Is there a different way to specify different lambda vals for different key groups?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions