reason is simple,check out the following function:
function mdl
type model mdl
.
.
estimate(model=mdl)
.
end
now whether I call this function with either ect type or not , the result is not ect result.
Search found 5 matches
- Thu Jan 28, 2010 7:00 pm
- Forum: Help With Programming
- Topic: estimate and estimate(model=....
- Replies: 5
- Views: 8276
- Thu Jan 28, 2010 4:20 am
- Forum: Help With Programming
- Topic: estimate and estimate(model=....
- Replies: 5
- Views: 8276
Re: estimate and estimate(model=....
system(model=m1) . ect longeqn1 end system(model=m2) . ect longeqn2 end(system) . . . (some orther code) . estimate(model=m1);<<--generating VAR(m1) result,not VAR with ect result. ;if i type "estimate" without model name, it give me VAR(m2). But I need the result of VAR(m1)'s ect result. ...
- Wed Jan 27, 2010 2:12 am
- Forum: Help With Programming
- Topic: estimate and estimate(model=....
- Replies: 5
- Views: 8276
estimate and estimate(model=....
The model is specified follow, linreg(define=longeqn) y # constant x system(model=m2) variables x y z lags 1 to 2 det d_x1 constant ect longeqn end(system) estimate ;*<<----------OK estimate(model=m2) 1 100 ;*<<----------- NOT OK; (insteaded the ect model is estimated, the var model did.) i need to ...
- Fri Oct 02, 2009 7:24 am
- Forum: Help With Programming
- Topic: function to convert rect to vect[vect]
- Replies: 1
- Views: 5551
function to convert rect to vect[vect]
the following function wo't work right: I dont understand why it will dispay different tpvv declare rect tp(2,2) compute tp=||0.7,0.2|0.3,0.8|| declare vect[vect] tpvv(2) compute tpvv = %rectovv(tp) disp tpvv(1) disp tpvv(2) * result ok * 0.70000 0.30000 * 0.20000 0.80000 do i=1,2 compute tpvv(i) = ...
- Sun Apr 13, 2008 8:41 am
- Forum: State Space Models/DSGE
- Topic: yhat in dlm?
- Replies: 1
- Views: 6820
yhat in dlm?
The following is a piece code of example from the textbook example dlm(a=1.0,c=1.0,sv=100.0,sw=5.0,x0=130.0,sx0=400.0,y=kurit,$ yhat=yhat,svhat=svhat) 1 9 xstate vstate while i execute the above code, winrats response : ## OP3. This Instruction Does Not Have An Option YHA >>>> yhat=<<<< Another ques...