Fixed bandwidth for PP unit root

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

tcfoon
Posts: 54
Joined: Fri May 15, 2009 4:33 am

Fixed bandwidth for PP unit root

Postby tcfoon » Tue Jan 11, 2011 1:52 am

Dear All,

I am using the following code to generate PP unit root result with fixed bandwidth but Eviews still use the automatic selection procedure:

Y.uroot(pp, const, lag=4, dif=1)

Please advice,

Thank you,
tcfoon

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: Fixed bandwidth for PP unit root

Postby EViews Glenn » Wed Jan 12, 2011 10:21 am

The reason for this behavior is that a lag is not a bandwidth and vice versa. You need to use the "band=" or "b=" option to set the bandwidth. The "lag=" option sets the lag length used in ADF style estimators.

tcfoon
Posts: 54
Joined: Fri May 15, 2009 4:33 am

Re: Fixed bandwidth for PP unit root

Postby tcfoon » Thu Jan 13, 2011 11:12 pm

Dear Glenn,

Thank you and I manage to do it.

haha... so simple


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests