Regarding serial correlation on RATS for the VAR

Use this forum to post questions about syntax problems or general programming issues. Questions on implementing a particular aspect of econometrics should go in "Econometrics Issues" below.
RK2509
Posts: 30
Joined: Wed Apr 15, 2015 3:16 pm

Regarding serial correlation on RATS for the VAR

Unread post by RK2509 »

Hi Tom,

I am trying to test for serial auto correlation in the residuals after estimating the var. I used

@mvqstat(lags=p)
# residuals

(where p=4)

And I get the output as

Multivariate Q(4)= 27.54972
Significance Level as Chi-Squared(100)= 1.00000

I guess that the first line shows the Q statistic with the number of correlations tested (here 4). The second shows the significance level and the degrees of freedom.
So what would this mean then? That there's no serial correlation in the residuals?
Also what if I want to perform the BG LM test for serial correlation on RATS for the VAR ? Could you tell me how to do that?

Many Thanks
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: Regarding serial correlation on RATS for the VAR

Unread post by TomDoan »

RK2509 wrote:Hi Tom,

I am trying to test for serial auto correlation in the residuals after estimating the var. I used

@mvqstat(lags=p)
# residuals

(where p=4)

And I get the output as

Multivariate Q(4)= 27.54972
Significance Level as Chi-Squared(100)= 1.00000

I guess that the first line shows the Q statistic with the number of correlations tested (here 4). The second shows the significance level and the degrees of freedom.
So what would this mean then? That there's no serial correlation in the residuals?
Right. 4 correlations, 5 variables means 100 correlations and cross correlations. The null is no correlation, so yes, you would conclude that there's no (joint) serial correlation.
RK2509 wrote: Also what if I want to perform the BG LM test for serial correlation on RATS for the VAR ? Could you tell me how to do that?
You rerun the VAR adding lags (however many you want to test) of all residuals.
RK2509
Posts: 30
Joined: Wed Apr 15, 2015 3:16 pm

Re: Regarding serial correlation on RATS for the VAR

Unread post by RK2509 »

Many Thanks Tom.
Post Reply