sminus
比如说,
>module(finmetrics)
> archTest(ford.s)
出现如下提示,怎么回事?
Problem in archTest.default(ford.s): Couldn't find a function definition
for "stop.on.bdObject"
Use traceback() to see the call stack
当然了,ford.s是Fin自带的对象。
anning189
显然还是软件的问题
你用什么版本S+?什么版本Finmetrics
如果是6.2+2.0
那么缺少stop.on.bdObject函数
sminus
谢谢楼上,写了个代码,解决了。
有一个新的问题。若有data.frame为exch,运行如下代码:
> exch.s_timeSeries(exch)
> dexch_diff(exch.s)
> hist(dexch)
出现如下提示,请教是怎么回事?
Problem in e1@data & e2: length of longer operand (469) should be a mult
iple of length of shorter (11)
Use traceback() to see the call stack
sminus
感谢1楼,问题均已解决,第一个问题产生的原因确实是在6+Fin时Couldn't find a function definition
for "stop.on.bdObject"
第二个问题同样是缺少某个库函数,导致差分序列无法识别。