Skip to content

arch_lm perfect fit #85

@mitchelloharawild

Description

@mitchelloharawild

@robjhyndman
What would you expect from this feature's output?

Issue with this series is that it drops to zero after 12 observations.

library(tsibbledata)
library(feasts)
#> Loading required package: fabletools
library(dplyr)
#> 
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#> 
#>     filter, lag
#> The following objects are masked from 'package:base':
#> 
#>     intersect, setdiff, setequal, union
PBS %>% 
  filter(ATC2 == "D04", Concession == "General", Type == "Co-payments") %>% 
  features(Cost, stat_arch_lm)
#> Warning in summary.lm(fit): essentially perfect fit: summary may be unreliable
#> # A tibble: 1 x 5
#>   Concession Type        ATC1  ATC2  stat_arch_lm
#>   <chr>      <chr>       <chr> <chr>        <dbl>
#> 1 General    Co-payments D     D04            NaN

Created on 2020-01-06 by the reprex package (v0.3.0)

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions