coding expected variables
Posted: Thu Jul 09, 2009 1:07 pm
Dear all,
I am new to Dynare and I have a very simple question. I want to implement the formula:
A(t) = ( E_t[B(t+1)^x] ) ^ (1/x)
where x is a parameter and A and B two variables.
Is the following code correct :
C=B(+1)^x;
A=C^(1/x);
Thanks,
Alexis
I am new to Dynare and I have a very simple question. I want to implement the formula:
A(t) = ( E_t[B(t+1)^x] ) ^ (1/x)
where x is a parameter and A and B two variables.
Is the following code correct :
C=B(+1)^x;
A=C^(1/x);
Thanks,
Alexis