最近在估计LPPL模型,需要对拟合的参数tc取值,从大于t的那一期开始取值,一直取到120为止,t是自变量,其上限为109(从1开始),不知道如何编程,下面是我自己写的code,但是运行出问题:!tc=1
!p=1
genr t1=(ip)
for !tc=2 to 120
if !tc>109 then
for !p=1 to 109
else
for !p=1 to !tc-1
endif
next
next
其中t1是我重新设的一组自变量,来自于t,之后的回归模型中,用t1表示t


雷达卡



京公网安备 11010802022788号







