我在用R软件用极值理论做VaR时,用gpd.fitange(a,0,5,nint=100)这一函数时,出现了
Error in solve.default(x$hessian) : Lapack routine dgesv: system is exactly singularIn addition: There were 47 warnings (use warnings() to see them)
怎么做都做不出来,那位高手能帮我一下
请注明:姓名-公司-职位
以便审核进群资格,未注明则拒绝
#Try rescaling the series
library(ismev)
data(euroex)
euroex.ldr <- log(euroex[-1]/euroex[-975])
gpd.fitrange(euroex.ldr, -1, 1.4, nint = 100)
就会有你说的问题.
改为如下:
euroex.ldr <- 100*euroex.ldr
函数没有调进来吧?
Error in solve.default(x$hessian)
这说明x$hessian不是>=0的矩阵,所以没办法算逆