Page 1 of 1

Error message....

Posted: Tue Mar 12, 2013 6:27 pm
by kalolibaby
for !i=1 to 190
!coef1=(!i-1)*2+1
!coef2=(!i-1)*2+2
scalar svec0=1
scalar svar0=1

sspace tvp!i
tvp!i.append @mprior svec0
tvp!i.append @vprior svar0
tvp!i.append num!i=sv1!i*h+[var=exp(c(!coef1))]
tvp!i.append @state sv1!i=sv1!i(-1)+[var=exp(c(!coef2))]
param c(!coef1) .0 c(!coef2) .0
tvp!i.ml
next

Error message is : Initial state mean prior "SVEC0" is not defined or is not a vector object in "DO_TVP1.ML".

Each parameter is defined as scalar. How can i fix it?

Cheers

Re: Error message....

Posted: Tue Mar 12, 2013 8:00 pm
by EViews Gareth
The clue is in the error message. You need to define it as a vector, not a scalar.