Page 1 of 1

HAC Panel Data

Posted: Wed May 11, 2016 1:50 am
by stefanp
Is the HACestimation procedure described at http://www.eviews.com/help/helpintro.ht ... rrors.html available in panel data sets?

Equation Estimation\Panel Options has a Coef covariance drop down menu, but I cannot find the HAC method. Using Eviews 9

Re: HAC Panel Data

Posted: Wed May 11, 2016 4:31 am
by EViews Gareth
Since it is, econometrically, not a panel procedure, it is not available for panels.

For robust covariance options available in panels, look at the panel robust covariance section:
http://www.eviews.com/help/helpintro.ht ... 23ww187927

Re: HAC Panel Data

Posted: Wed May 11, 2016 7:11 am
by stefanp
I think White period method works for me.

I further need to access the t-stats of the coefficients estimate. However, I end up with a message
"Square root of negative number in "GENR STATS=@TSTATS(3)"

Any ideas what causes the issue?

Re: HAC Panel Data

Posted: Wed May 11, 2016 7:24 am
by EViews Gareth
Would need to have the work file with the equation in question

Re: HAC Panel Data

Posted: Thu May 12, 2016 12:15 am
by stefanp
I am afraid I cannot upload the workfile here.

However, the estimation itself does not cause any problems. Only the line

Code: Select all

STATS=@TSTATS(3)
produces the error message. Without any knowledge of the Eviews "black box" it is hard to understand that as the t-values are computed regardless of the command above. It seems like the assignment of the t-stats to the vector stats is troublesome.

Re: HAC Panel Data

Posted: Thu May 12, 2016 12:19 am
by EViews Gareth
What's the version/build date of your copy (Help->About EViews)?

Re: HAC Panel Data

Posted: Thu May 12, 2016 2:40 am
by stefanp
Version 9, Nov 2 2015 build

Re: HAC Panel Data

Posted: Thu May 12, 2016 4:18 am
by EViews Gareth
You should update to the latest version.