A Timing Problem of A Simple Two-country model
Posted: Mon Jan 21, 2013 10:30 am
Dear Experts,
Attached please find a very simple two-country model, which has a bond as financial intermediary. I use it to test the response of current account when the two country have asymmetric intertemporal elasticity of substitution, when facing symmetric TFP shocks.
we have the following equations:
c1^(-gamma1)=beta*c1(+1)^(-gamma1)*(1+Rb(+1));
c2^(-gamma2)=beta*c2(+1)^(-gamma2)*(1+Rb(+1));
b1+c1+i1= y1+b1(-1)* (1+Rb);
b2+c2+i2= y2+b2(-1)* (1+Rb);
I was wondering if I should write Rb(+1) in equation 12 and Rb in equation 34, or, use Rb and Rb(-1) instead? In fact, if I write Rb(+1) and Rb, the code does not work, and report "Matrix is singular..." .
Could you please help me?
Thanks a lot!
Attached please find a very simple two-country model, which has a bond as financial intermediary. I use it to test the response of current account when the two country have asymmetric intertemporal elasticity of substitution, when facing symmetric TFP shocks.
we have the following equations:
c1^(-gamma1)=beta*c1(+1)^(-gamma1)*(1+Rb(+1));
c2^(-gamma2)=beta*c2(+1)^(-gamma2)*(1+Rb(+1));
b1+c1+i1= y1+b1(-1)* (1+Rb);
b2+c2+i2= y2+b2(-1)* (1+Rb);
I was wondering if I should write Rb(+1) in equation 12 and Rb in equation 34, or, use Rb and Rb(-1) instead? In fact, if I write Rb(+1) and Rb, the code does not work, and report "Matrix is singular..." .
Could you please help me?
Thanks a lot!