I applied ARIMA to a time-series dataset (dataset
).
In order to archive stationary, I applied the following steps:
- log transformation
log_dataset <- log(dataset)
difflog_dataset <- diff(log_dataset,1)
to my dataset.- I tested stationary by Ljung-Box.
I fitted difflog_dataset
by ARIMA(1,0,2) adequately.
fit <- Arima(difflog_dataset, order=c(1,0,2))
Do I need to de-transformation from fitted(fit)
to get $\hat{y}$ value? How can I do that ?