arima(lh, order = c(1,0,1))
Call:
arima(x = lh, order = c(1, 0, 1))
Coefficients:
ar1 ma1 intercept
0.4522 0.1982 2.4101
s.e. 0.1769 0.1705 0.1358
sigma^2 estimated as 0.1923: log likelihood = -28.76, aic = 65.52
########
library(forecast)
Arima(lh, order = c(1,0,1))
Series: lh
ARIMA(1,0,1) with non-zero mean
Coefficients:
ar1 ma1 intercept
0.4522 0.1982 2.4101
s.e. 0.1769 0.1705 0.1358
sigma^2 estimated as 0.1923: log likelihood=-28.76
AIC=65.52 AICc=66.45 BIC=73.01