centered movav in model
Posted: Fri Jul 13, 2018 1:10 pm
Hi, I have a model (mod) and I want it to generate a variable that is the centered moving average of another one to use it in further calculations in the model.
lets say I have the mod model
mod.append y=mx+n
mod.append z = @movavc(y,4)
the model runs ok only if the @movavc(.) is not included in it.
Any ideas?
(notice that I want the model to do further calculations with z, so genrating the serie z = @movavc(y_0,4) after solving the model is not a solution)
lets say I have the mod model
mod.append y=mx+n
mod.append z = @movavc(y,4)
the model runs ok only if the @movavc(.) is not included in it.
Any ideas?
(notice that I want the model to do further calculations with z, so genrating the serie z = @movavc(y_0,4) after solving the model is not a solution)