What restrictions are allowed on the deterministic terms depend on the ‘Deterministic Trend Specification’ choice.
If you choose ‘(3) Intercept (no trend) in CE and VAR’ the constant term is concentrated out before the cointegrating vector is estimated. It is not identified how much of the constant is ‘inside’ the cointegrating vector and how much is ‘outside’. EViews arbitrarily puts a constant inside the cointegrating vector (to make the sample mean of the cointegrating vector equal to zero?) and puts the rest outside.
At any rate, with option (3) a restriction on the constant is always non-binding because the constant is not identified. The error message isn’t all that obvious though.
So only option (2) and (4) have an extra term that can be restricted. In (2) it is the constant, in (4) it is the coefficient of the linear trend.
So, changing your program to be:
Code: Select all
%ex7 = "\Example Files\EV7 Manual Data\"
%ch32 = "Chapter 32 - Vector Autoregression and Error Correction Models"
%wf = @evpath + %ex7 +%ch32 +"\var1.wf1"
wfopen %wf
var vec01
vec01.cleartext(coint)
vec01.append(coint) b(1,1) = 1
vec01.append(coint) b(1,3) = 0 'error
freeze(tb01r) vec01.ec(b,1,restrict) 1 2 ff tb3
Appears to work (I changed the EC option from a C to a B).