Search found 7 matches

by luckygift2002
Sat Dec 17, 2011 1:29 pm
Forum: Programming
Topic: Wald test in rolling regression
Replies: 1
Views: 3627

Wald test in rolling regression

Dear all, I would like to perform the wald test and save the test statistics in the rolling regression. The standard wald test for i=1 to 145 would be the following: for !i=1 to 145 eq{!i}.cointreg( method=dols, trend=linear, cov=hac, nodf, lag=4, lead=4) freeze(waldtable) eq{!i}.wald c(3)=0 walds(...
by luckygift2002
Mon Nov 15, 2010 12:15 pm
Forum: Programming
Topic: Save coefficient in VAR estimation
Replies: 3
Views: 4398

Re: Save coefficient in VAR estimation

Thank you Gareth, The code works well. However, the mycoefs only shows the coefficients in the final VAR estimation since it overwrites the previous estimates. I am wondering how to save these 9 coefficient individually as a vector. I am new to programming, your help is very appreciated. Thanks agai...
by luckygift2002
Mon Nov 15, 2010 11:34 am
Forum: Programming
Topic: Save coefficient in VAR estimation
Replies: 3
Views: 4398

Save coefficient in VAR estimation

Dear all, I am trying to save the coefficient matrix after an VAR estimation but I could not. Can anyone tell me how to save this. This is my code which is working but I do not know where to find the coefficient matrix: for !i = 1 to 1000 var mvar{!i}.ls(noconst) 1 1 a{!i} b{!i} c{!i} @coefmat next ...
by luckygift2002
Fri Oct 15, 2010 1:02 pm
Forum: Programming
Topic: save wald stat
Replies: 1
Views: 2684

save wald stat

Dear all, I need to estimate 100 equation and find the significance of the coefficient using wald test. I need to save the wald stat. Can anyone tell me how to programe this? I only know how to estimate these 100 equations and how to do the wald test, but do not know how to save the wald stat for i=...
by luckygift2002
Sun Mar 07, 2010 11:38 am
Forum: Programming
Topic: Johansen test
Replies: 1
Views: 2361

Johansen test

Dear all,

Can anybody help me to write a code to save the trace statistc in Johanen cointegration test. Any help would be very appreciated.
Best,
Jing
by luckygift2002
Tue Feb 23, 2010 12:33 pm
Forum: Estimation
Topic: VAR estimation
Replies: 2
Views: 2898

Re: VAR estimation

Many thanks Gareth
by luckygift2002
Mon Feb 22, 2010 2:43 pm
Forum: Estimation
Topic: VAR estimation
Replies: 2
Views: 2898

VAR estimation

Dear all,
Can any one help me?

I would like to estimate a VAR(1), the command is

var .ls 1 1 y x

But I have found that the estimation has included constant, I am wondering how to get rid off the constant. Any help would be very appreciated.

Many thanks,

Jing

Go to advanced search