update the new residuals

Questions and discussions on Vector Autoregressions

update the new residuals

Postby iloverats » Tue Apr 12, 2011 10:06 pm

dear
when i estimate the varmodel using ols,and then using SUR
how can i update the new coefficients and residuals of model(eq)

my model is

linreg(define=eq1) x/ r1
# constant x{1 to 2}
linreg(define=eq2) y/ r2
# constant x{1 to 2} y{1 to 2}
group eq eq1 eq2
sur(model=eq)
iloverats
 
Posts: 45
Joined: Thu Dec 02, 2010 11:32 am

Re: update the new residuals

Postby moderator » Wed Apr 13, 2011 10:14 am

Not sure I understand the question.

When you do the SUR instruction, the coefficients and residuals associated internally with the model EQ will in fact be the SUR residuals. So, no action is required assuming those are the values you want associated with the model. You can, of course, use options on SUR to save the residuals and coefficients in user-accessible variables.

The values of R1 and R2 won't change--those will still be the OLS residuals.

Regards,
Tom Maycock
moderator
Site Admin
 
Posts: 306
Joined: Thu Oct 19, 2006 4:33 pm


Return to VARs (Vector Autoregression Models)

Who is online

Users browsing this forum: No registered users and 1 guest

cron