GeoBosh / sarima

Time series modelling with extended regression SARIMA models
https://geobosh.github.io/sarima/
4 stars 3 forks source link

g formula throws error #3

Open samkodes opened 1 month ago

samkodes commented 1 month ago

For example

testdata <- data.frame(y1=rnorm(100),x1 = rnorm(100))

smod2.g <- sarima( y1 ~   0 | ar(1) | x1,
                 data=testdata
                 )

gives the error:

Error in uniKalmanLikelihood0b(y, mod, nit, FALSE, update) : 
  as_scalar(): incompatible dimensions