There's a possibility of risk thatone could think that ma-term couldbe of importance, soI'd rather addopen very_bad_data10.gdtn = $nvars - 1scalar number_of_non_convergence = 0loop i= 1..n -qnami = sprintf("var%d",i)kpss -1 @namicatch arima 1 0; @namierr = $errorif errnumber_of_non_convergence +=1endifendloopprintf "\nThe total number of variable in the datafile = %d\n", nprintf "\nThe number of non-convergent arma(1,0) models = %d\n", n####################################################test1 = randint(1,16)testnami = sprintf("var%d",test1)catch arima 1 0; @testnami --verboseeval mean(@testnami)arima 1 0; @testnami --x-12-arimamatrix ma = {mean(@testnami),0.001}set initvals maarima 1 0; @testnamiOleh13 листопада 2018, 16:11:28, від oleg_komashko@ukr.net:Dear Allin,To see the problem, use the attached data fileand run the chunk of code below<hansl>########################################################### run 2 chancks separatelyopen very_bad_data.gdt# let we decide that series y# is staionary if kpss p-value# is greater than 0.01# this means that# arima 2 1; y# is by no means apriory misspecifiedn = $nvars - 1scalar number_of_non_convergence = 0loop i= 1..n -qnami = sprintf("var%d",i)kpss -1 @namicatch arima 2 1; @namierr = $errorif errnumber_of_non_convergence +=1endifendloopprintf "\nThe total number of variable in the datafile = %d\n", nprintf "\nThe number of non-convergent arma(2,1) models = %d\n", n####################################################################################################################test1 = randint(1,81)testnami = sprintf("var%d",test1)arima 2 1; @testnami --verboseeval mean(@testnami)arima 2 1; @testnami --x-12-arima### what to compare:# 1) final values of arma parameters# with --x-12-arima estimates# 2) compare initial constant with# (i) final value of constant# (ii) mean of the series# (iii) with --x-12 constant estimate# it seems there are serious problems# with initial value for constant<hansl>Oleh_______________________________________________ Gretl-devel mailing list Gretl-devel@lists.wfu.edu http://lists.wfu.edu/mailman/listinfo/gretl-devel_______________________________________________ Gretl-devel mailing list Gretl-devel@lists.wfu.edu http://lists.wfu.edu/mailman/listinfo/gretl-devel