' eViews program to optimize a model usin different starting values
' The program below specifically changes the coefficient for the standard error of the error term, which proves to be effective.
' In the example below Koyck3_no_M3is1 represents the estimation code for Model F with m_30 = 1.

for !i= 1 to 1000 
    smpl 5 241
    cc(11) = 2000 + !i * 5
    koyck3_no_M3is1.ml(showopts, m=1000, c=1e-9)
    show koyck3_no_M3is1.output
      if (koyck3_no_M3is1.@covariance(1,1) <> NA) then
        exitloop
      endif
next

