VAR and back-transformation: A particular case #129
nickcox896
started this conversation in
General
Replies: 1 comment 1 reply
-
|
You could take cumulative sums of the variable you don't want to difference, then apply differencing to both variables in the model. But the forecasts of the summed variable will then need to be differenced to get back to the levels. If you also have a log or other transformation in the model, this would need to be handled manually. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In a bivariate VAR, supose we want one variable to be in first difference [difference(log(Open)] and the other one in levels [log(High)]
The code below
although it allows for difference(log(Open)) it does not accommodate the levels.
Beta Was this translation helpful? Give feedback.
All reactions