我想对比若干个模型的AIC来选择最佳模型,然后选用最佳模型进行predict。有没有大神指导下如何写Stata命令?
主要是不知道得到几个aic后,怎么自动进行对比,然后选择AIC最小的模型来predict。
目前只知道如何展示各个模型的AIC。
- foreach p of numlist 1/3{
- foreach q of numlist 1/3{
- qui arima x, arima(`p',0,`q')
- est store arima_`p'_0_`q'
- }
- }
- estimates stats arima_*
问题跟这个帖子(https://bbs.pinggu.org/forum.php?mod=viewthread&tid=3965839)是一样的,可惜没人回答。


雷达卡






京公网安备 11010802022788号







