Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARIMA does not pass parameter "method" to stats::arima #330

Closed
hjhffmGH opened this issue Apr 19, 2021 · 1 comment
Closed

ARIMA does not pass parameter "method" to stats::arima #330

hjhffmGH opened this issue Apr 19, 2021 · 1 comment

Comments

@hjhffmGH
Copy link

When trying to pass the parameter "method" to stats::arima like in
arima111ML = fable::ARIMA(formula, method="ML")
(formula: formula according to specification)
the error message:
1 error encountered for arima111ML
[1] formal argument "method" matched by multiple actual arguments

is displayed.

@mitchelloharawild
Copy link
Member

Fixed, thanks.

library(fable)
#> Loading required package: fabletools
as_tsibble(USAccDeaths) %>% 
  model(ARIMA(value, method = "ML"))
#> # A mable: 1 x 1
#>   `ARIMA(value, method = "ML")`
#>                         <model>
#> 1     <ARIMA(0,1,1)(0,1,1)[12]>

Created on 2021-05-06 by the reprex package (v1.0.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants