N/A AIC when doing lasso varsel

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

Kayla427
Posts: 2
Joined: Mon Jun 02, 2025 8:51 am

N/A AIC when doing lasso varsel

Postby Kayla427 » Mon Jun 02, 2025 10:41 am

Hi Everyone,

Rookie user here. My eviews version is 12 I tried to use the lasso method under varsel.

It is mysterious to me why sometimes the 'criteria graph' under 'model selection summary' doesn't show anything, and the AIC value under criteria table is NA while the model still ran.

Here is an illustration code:
series unrate_level = fred::unrate
series unrate_delta = fred::unrate-fred::unrate(-1)
aic1.varsel(method=lasso, cvmethod=rolling, test=2,cvseed=1) fred::unrate c @ fred::unrate(-3) fred::unrate(-5)
aic2.varsel(method=lasso, cvmethod=rolling, test=2,cvseed=1) unrate_delta c @ unrate_delta(-3) unrate_delta(-5)

Both aic1 and aic2 were estimated. However, aic1 shows the AIC chart properly whereas aic2 does not. Attached the screenshot.

Thank you for your help!

Best
Attachments
eviews.png
eviews.png (82.37 KiB) Viewed 36247 times

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

Re: N/A AIC when doing lasso varsel

Postby EViews Gareth » Mon Jun 02, 2025 11:24 am

Looks like a bug that was fixed in EViews 14. (I ran your code in EViews 12 and 13 and had NAs, but in EViews 14 it worked fine).


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests