Issue when calling a ARCH(4) test from a program command

For notifying us of what you believe are bugs or errors in EViews.
Please ensure your copy of EViews is up-to-date before posting.

Moderators: EViews Gareth, EViews Moderator

econpaq
Posts: 6
Joined: Thu Aug 10, 2017 4:42 pm

Issue when calling a ARCH(4) test from a program command

Postby econpaq » Sat Jul 12, 2025 8:09 pm

Hello,

After estimating an equation by OLS or ARDL, when calling an ARCH(4) test with the command "equationname.archtest(lags=4,p)" from a batch/PRG file, the program yields a ARCH(1) test, as with the command "equationname.archtest(lags=1,p)" . This occurs for any value of lags > 1.

There is no bug when calling these tests from the menus, but the problem occurs when using a batch file.

Example of a batch file:

spool sp_arch
output(s) sp_arch

smpl 1994Q1 2019Q1

equation example.ls dlm3_real c dlgdp
example.results(p)

example.archtest(lags=1,p)

example.archtest(lags=4,p)

In the PDF file enclosed, you will see the batch file on page 1 and a printout of the spool file.

Thanks !
Attachments
SP_ARCH.pdf
(49.15 KiB) Downloaded 719 times

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13600
Joined: Tue Sep 16, 2008 5:38 pm

Re: Issue when calling a ARCH(4) test from a program command

Postby EViews Gareth » Mon Jul 14, 2025 8:27 am

lags=4 isn't a valid option. It should be

Code: Select all

equationname.archtest(4,p)


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 2 guests