我有一个简单的问题,我相信解决方案很简单,但我不能解决它。然而,当我操作时:
smpl 1 500
genr u1=nrnd*4
genr u2=nrnd*5
genr serix =.1
genr serix =.1
genr seriy=.1
for !i=2 to 500
smpl !i !i
serix=17.129+0.00676*serix(-1)+0.6125*seriy(-1)+ u1
serix=12.863+0.1756*serix(-1)+0.2992*seriy(-1)+ u2它显示了一个错误,在“enter image description here”指令中,它说“控制语句流...”
发布于 2017-05-02 02:41:37
尝尝这个
create Test u 500
mode quiet
smpl 1 1
series x=0.1
series y=0.1
for !i=2 to 500
!u1=@nrnd*4
!u2=@nrnd*5
smpl !i !i
series x=17.129+0.00676*x(-1)+0.6125*y(-1)+ !u1
series y=12.863+0.1756*x(-1)+0.2992*y(-1)+ !u2
next !i
smpl @allhttps://stackoverflow.com/questions/43715990
复制相似问题