Where do A and alpha come from?
Where do actual data fit into this scheme?
I'll bet you could program it with the MATRIX facility?
That is where I would go.
You might consider providing additional context.
---
quote author="chalam">
This is part of a bigger non linear estimation. If I can figure this out, I will be able to run that estimation.
I have a variable A and a constant alpha.
I need to compute B, initial B is 0.
B(t) = B(t-1) + alpha * (A(t-1) - B(t-1))
i.e.
B = Lag(B) + alpha * (A - Lag(B))
I tried
Compute B = 0.
Compute B = Lag(B) + alpha*(A- Lag(B)).
Execute.
I couldn't get anywhere.
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me.
---
"Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis."
Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"