@method equation data member

For questions regarding programming in the EViews programming language.

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

bparksb
Posts: 56
Joined: Mon Mar 21, 2011 9:26 pm

@method equation data member

Postby bparksb » Fri Mar 05, 2021 8:55 am

Something changed, recently I think, in Eviews 12.
equationname.@method used to report "command line form of estimation method "
Now it reports VARSEL
Similarly, @command has VARSEL as the first six characters.
Eviews 11 does the correct report.

You can use the summary table version of the add-in EQSUMTAB to view the VARSEL as the method in Eviews 12.

Supportinfo for my Eviews 12
=======
PRODUCT
=======
Version: EViews 12 64-bit
Build date: Mar 3 2021
Serial Number: 12S00216

=========
LICENSING
=========
Standalone xxxxxx: C:\ProgramData\IHS EViews\EViews\12.00.000\license.txt

=====
PATHS
=====
Installation path: C:\Program Files\EViews 12
Default path: G:\xxxx
INI path: C:\Users\xxxx\AppData\Roaming\IHS EViews\EViews
DB INI path: C:\Users\xxxxx\AppData\Roaming\IHS EViews\EViews
Help path: C:\Program Files\EViews 12\Help Files

===========
ENVIRONMENT
===========
OS: Windows 10 x64
Cores in use: 8

==========
COMPONENTS
==========
EViews 32-bit Layer: Registered | C:\Program Files\EViews 11\EViews32Com.exe
32-bit Proxy: Registered | C:\Program Files\EViews 11\EViews32ComPS.dll
64-bit Proxy: Registered | C:\Program Files\EViews 11\EViews32ComPS64.dll
COM Automation & OLE (64-bit): Registered | C:\Program Files\EViews 12\EViews12_x64.exe
EViews 1.0 Type Library: Registered | C:\Program Files\EViews 11\EViewsMgr7.tlb
EViews 8.0 Type Library: Registered | C:\Program Files\EViews 11\EViewsMgr8.tlb
EViews 9.0 Type Library: Registered | C:\Program Files\EViews 11\EViewsMgr9.tlb
EViews 10.0 Type Library: Registered | C:\Program Files\EViews 11\EViewsMgr10.tlb
EViews 11.0 Type Library: Registered | C:\Program Files\EViews 11\EViewsMgr.dll
EViews 12.0 Type Library: Registered | C:\Program Files\EViews 12\EViewsMgr.dll
COM Automation & OLE (32-bit): Not Registered |
EViews 1.0 Type Library: Registered | C:\Program Files\EViews 11\EViewsMgr7.tlb
EViews 8.0 Type Library: Registered | C:\Program Files\EViews 11\EViewsMgr8.tlb
EViews 9.0 Type Library: Registered | C:\Program Files\EViews 11\EViewsMgr9.tlb
EViews 10.0 Type Library: Registered | C:\Program Files\EViews 11\EViewsMgr10.tlb
EViews 11.0 Type Library: Registered | C:\Program Files\EViews 11\x86\EViewsMgr.dll
EViews 12.0 Type Library: Not Registered |
Database Extension Interface (64-bit): Registered | C:\Program Files\EViews 11\ev_dbase.dll
Database Extension Interface (32-bit): Registered | C:\Program Files\EViews 11\x86\ev_dbase.dll
Database Extension Interface (.NET): Registered | C:\Program Files\EViews 11\EViewsEdxNet64.tlb
IHS Magellan Database (64-bit): Registered | C:\Program Files\EViews 11\EDX_45\EdxMagellan.DLL
IHS Magellan Database (32-bit): Registered | C:\Program Files\EViews 11\EDX_45\EdxMagellan.DLL
IHS Global Insight Database (64-bit): Registered | C:\Program Files\EViews 11\EDX_45\IHS.DataInsight.Database.Edx.DLL
IHS Global Insight Database (32-bit): Registered | C:\Program Files\EViews 11\EDX_45\IHS.DataInsight.Database.Edx.DLL
Bloomberg Database (64-bit): Registered | C:\Program Files\EViews 11\EDX_45\Bloomberg\EdxBloomberg.DLL
Bloomberg Database (32-bit): Registered | C:\Program Files\EViews 11\EDX_45\Bloomberg\EdxBloomberg.DLL
EIA - U.S. Energy Information Administration (64-bit): Registered | C:\Program Files\EViews 11\EDX_45\EIA\EdxEia.DLL
EIA - U.S. Energy Information Administration (32-bit): Registered | C:\Program Files\EViews 11\EDX_45\EIA\EdxEia.DLL
EIA Bulk File - U.S. Energy Information Administration (64-bit): Registered | C:\Program Files\EViews 11\EDX_45\EIA\EdxEia.DLL
EIA Bulk File - U.S. Energy Information Administration (32-bit): Registered | C:\Program Files\EViews 11\EDX_45\EIA\EdxEia.DLL
FRED Database (64-bit): Registered | C:\Program Files\EViews 11\EDX_45\Fred\EdxFred.DLL
FRED Database (32-bit): Registered | C:\Program Files\EViews 11\EDX_45\Fred\EdxFred.DLL
WorldBank Database (64-bit): Registered | C:\Program Files\EViews 11\EDX_45\WorldBank\EdxWorldBank.DLL
WorldBank Database (32-bit): Registered | C:\Program Files\EViews 11\EDX_45\WorldBank\EdxWorldBank.DLL
SDMX_ML Files (64-bit): Registered | C:\Program Files\EViews 11\EDX_45\SDMX\EdxSDMX.DLL
SDMX_ML Files (32-bit): Registered | C:\Program Files\EViews 11\EDX_45\SDMX\EdxSDMX.DLL
Eurostat SDMX Database (64-bit): Registered | C:\Program Files\EViews 11\EDX_45\SDMX\EdxSDMX.DLL
Eurostat SDMX Database (32-bit): Registered | C:\Program Files\EViews 11\EDX_45\SDMX\EdxSDMX.DLL
European Central Bank SDMX Database (64-bit): Registered | C:\Program Files\EViews 11\EDX_45\SDMX\EdxSDMX.DLL
European Central Bank SDMX Database (32-bit): Registered | C:\Program Files\EViews 11\EDX_45\SDMX\EdxSDMX.DLL
United Nations SDMX Database (64-bit): Registered | C:\Program Files\EViews 11\EDX_45\SDMX\EdxSDMX.DLL
United Nations SDMX Database (32-bit): Registered | C:\Program Files\EViews 11\EDX_45\SDMX\EdxSDMX.DLL
IMF SDMX Database (64-bit): Registered | C:\Program Files\EViews 11\EDX_45\SDMX\EdxSDMX.DLL
IMF SDMX Database (32-bit): Registered | C:\Program Files\EViews 11\EDX_45\SDMX\EdxSDMX.DLL
Bureau Of Labor Statistics (64-bit): Registered | C:\Program Files\EViews 11\EDX_45\BLS\EdxBLS.DLL
Bureau Of Labor Statistics (32-bit): Registered | C:\Program Files\EViews 11\EDX_45\BLS\EdxBLS.DLL
National Oceanic And Atmospheric Administration (64-bit): Registered | C:\Program Files\EViews 11\EDX_45\NOAA\EdxNOAA.DLL
National Oceanic And Atmospheric Administration (32-bit): Registered | C:\Program Files\EViews 11\EDX_45\NOAA\EdxNOAA.DLL
Bureau of Economic Analysis (64-bit): Registered | C:\Program Files\EViews 11\EDX_45\BEA\EdxBEA.DLL
Bureau of Economic Analysis (32-bit): Registered | C:\Program Files\EViews 11\EDX_45\BEA\EdxBEA.DLL
US Census (64-bit): Registered | C:\Program Files\EViews 11\EDX_45\CENSUS\EdxCensus.DLL
US Census (32-bit): Registered | C:\Program Files\EViews 11\EDX_45\CENSUS\EdxCensus.DLL
DBnomics (64-bit): Registered | C:\Program Files\EViews 12\EDX_45\DBNOMICS\EdxDBnomics.DLL
DBnomics (32-bit): Registered | C:\Program Files\EViews 12\EDX_45\DBNOMICS\EdxDBnomics.DLL
IHS Markit API (64-bit): Registered | C:\Program Files\EViews 12\EDX_45\IHSMarkit\EdxIHSMarkit.DLL
IHS Markit API (32-bit): Registered | C:\Program Files\EViews 12\EDX_45\IHSMarkit\EdxIHSMarkit.DLL
OECD SDMX Database (64-bit): Registered | C:\Program Files\EViews 12\EDX_45\SDMX\EdxSDMX.DLL
OECD SDMX Database (32-bit): Registered | C:\Program Files\EViews 12\EDX_45\SDMX\EdxSDMX.DLL
EViews R Connector Interface (32-bit): Registered | C:\Program Files\EViews 11\x86\EViewsRConn.exe
EViews R Connector Interface (64-bit): Registered | C:\Program Files\EViews 11\EViewsRConn.exe
EViews Python 2 Connector Interface (32-bit): Registered | C:\Program Files\EViews 11\x86\EViewsPy2Conn.exe
EViews Python 2 Connector Interface (64-bit): Registered | C:\Program Files\EViews 11\EViewsPy2Conn.exe
EViews Python 3 Connector Interface (32-bit): Registered | C:\Program Files\EViews 11\x86\EViewsPy3Conn.exe
EViews Python 3 Connector Interface (64-bit): Registered | C:\Program Files\EViews 11\EViewsPy3Conn.exe
OLEDB Provider (64-bit): Registered | C:\Program Files\EViews 11\EViewsOleDbProvider.dll
OLEDB Provider (32-bit): Registered | C:\Program Files\EViews 11\x86\EViewsOleDbProvider.dll
Excel 2010 Add In: Registered | C:\Program Files\EViews 11\Excel2010AddIn\EViews_Excel2010_40_AddIn.vsto

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

Re: @method equation data member

Postby EViews Gareth » Fri Mar 05, 2021 9:34 am

Hello.

Could you provide an example?

This seems to report the correct "LS":

Code: Select all

wfcreate m 1990 2020
series y=nrnd
series x=nrnd
equation eq1.ls y c x
string a = eq1.@method
show a
Follow us on Twitter @IHSEViews

bparksb
Posts: 56
Joined: Mon Mar 21, 2011 9:26 pm

Re: @method equation data member

Postby bparksb » Sun Mar 07, 2021 2:53 pm

wfcreate m 1990 2020
series y=nrnd
for !i=1 to 5
series x!i=nrnd
next !i
equation eq1.stepls y c x1 x2 x3 x4 x5
string a = eq1.@method
show a

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

Re: @method equation data member

Postby EViews Gareth » Sun Mar 07, 2021 4:31 pm

The stepls method was changed in EViews 12 to be varsel
Follow us on Twitter @IHSEViews

bparksb
Posts: 56
Joined: Mon Mar 21, 2011 9:26 pm

Re: @method equation data member

Postby bparksb » Tue Mar 09, 2021 8:33 am

THANKS. Seems like maybe a politically correct renaming? Wasted my time and I guess a few seconds of yours.

Bob

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

Re: @method equation data member

Postby EViews Gareth » Tue Mar 09, 2021 9:13 am

No, we expanded variable selection in EViews 12 with two new methods - LASSO and GETS. It didn't seem right to have the command to run LASSO or GETS be "StepLS", since neither are stepwise methods. (Well, in my opinion GETS is, but that's a different story).

STEPLS still works, it is just aliased by the more generic varsel to avoid confusion.
Follow us on Twitter @IHSEViews

bparksb
Posts: 56
Joined: Mon Mar 21, 2011 9:26 pm

Re: @method equation data member

Postby bparksb » Wed Mar 10, 2021 1:26 pm

Ah, well now to rewrite that lecture. THANKS for the enhancement!!!
Bob


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 25 guests