Can you please suggest if the following code is correct? I am trying to use a simple state space model to decompose structural shock generated using SVAR into a region-specific shock and a country-specific shock. This is a case of supply shock in a two-country setting. Here is my code:
Code: Select all
@signal sup1 = c(1)*s1+s2+[var=exp(c(2))]
@signal sup2 = c(3)*s1+s3+[var=exp(c(4))]
@state s1=[var=1]
@state s2=[var=exp(c(5))]
@state s3=[var=exp(c(6))]
param c(1) .0 c(2) .0 c(3) .0 c(4) .0 c(5) .0 c(6) .0
Estimating the model is consistently giving this message ''WARNING: Singular covariance - coefficients are not unique.'' Moreover, when I chose Proc/Make Model, I keep getting syntax error message.
Any suggestion would be highly appreciated!
