如下的程序在EVIEWS中显示的是SPOT没有定义或者非法语句,求稳是什么原因 怎样才能改正?
workfile euro u 1 500
rndseed 12345
!N=125
!TTM=0.5
'maturity
!Nreps=500
!sigma=0.28
!u=0.0624
'riskless interest rate
!dt=!TTM/!N
'strike price
!s0=6289.7
for !repc=1 to !nreps
smpl 1 !N
series spot=0
smpl @first @first
spot=!s0*exp(!drift+!sigmaunit*nrnd)
smpl 2 !N
spot=spot(-1)*exp(!drift+!sigmaunit*nrnd)


雷达卡


京公网安备 11010802022788号







