简体   繁体   English

在R中安装opVaR软件包时遇到困难

[英]facing difficulty in installing the opVaR package in R

I am trying to learn how to deal with operational risks using R, but I could not get opVaR package installed. 我正在尝试学习如何使用R处理操作风险,但无法安装opVaR软件包。 I think it is a necessary package & some examples have used this package. 我认为这是一个必需的程序包,一些示例使用了此程序包。

I tried install.packages("opVaR") 我试过install.packages("opVaR")

but got this Warning in install.packages: 但是在install.packages中得到了以下警告:

package 'opVaR' is not available (for R version 3.2.3) 软件包“ opVaR”不可用(对于R版本3.2.3)

Can you please guide me how to proceed? 您能指导我如何进行吗?

There is no sign of such a package in the list of current packages on CRAN, which is why your install fails: CRAN上的当前软件包列表中没有此类软件包的迹象,这就是安装失败的原因:

https://cran.r-project.org/web/packages/available_packages_by_name.html https://cran.r-project.org/web/packages/available_packages_by_name.html

The nearest match being probably "PopVar", which doesn't seem to be it. 最接近的匹配可能是“ PopVar”,似乎并非如此。 I also checked the Archive folder on CRAN. 我还检查了CRAN上的Archive文件夹。 No sign there either. 那里也没有迹象。

Some simple internet searching has revealed that this package has a mythical status, with many people setting out on a quest to find it, with none succeeding. 一些简单的互联网搜索表明,此软件包具有神话般的地位,许多人开始寻找它,但没有成功。 I suggest you contact the author of whatever document led you to believe it exists, and wish you good luck on your quest... 我建议您联系任何使您相信它存在的文件的作者,并祝您工作顺利。

Time passes... 时间流逝...

The quest may be at an end. 任务可能会结束。 I have found something by searching the name of the author of the paper you linked in the comments: 通过搜索您在评论中链接的论文的作者姓名,我发现了一些东西:

http://mi2.mini.pw.edu.pl/index.php/nasze-projekty/ http://mi2.mini.pw.edu.pl/index.php/nasze-projekty/

Look for "Anna Zalewska" and there is a link to a zip file of the package. 查找“ Anna Zalewska”,并且有指向该软件包的zip文件的链接。

Note this is not a source package, and it was built for a pre-version 3 R, and it doesn't have a NAMESPACE file and so nothing is exported. 请注意,这不是源程序包,它是针对3 R之前的版本构建的,并且没有NAMESPACE文件,因此不会导出任何内容。 The License says it is GPL-3, and so you should be able to demand the source code. 许可证说它是GPL-3,因此您应该能够要求源代码。 The maintainer's email is in the DESCRIPTION file with the zip and that should be your next contact. 维护者的电子邮件在带有zip的Description文件中,应该是您的下一个联系人。

The opVar package is indeed not available in the CRAN repository. 实际上, opVar软件包在CRAN存储库中不可用。 This package is made by UniCredit (an Italian bank) in cooperation with Quantide (an R/IT consultancy firm). 该软件包由UniCredit(一家意大利银行)与Quantide(一家R / IT咨询公司)合作制作。 I think your best bet is to contact one of these two firms, but chances are pretty low they will just give it to you. 我认为您最好的选择是与这两家公司之一联系,但是机会很小,他们只会把它给您。

This package contains functionalities that UniCredit uses in modelling (and setting capital aside for) operational risk according to Basel II using the Advanced Measurement Approach (AMA). 该软件包包含UniCredit根据《巴塞尔协议II》使用高级度量方法(AMA)在建模(以及为运营留出资金)中使用的功能。 The AMA approach allows a bank to make their own model of operational risk and my bet is that UniCredit does not want to share their knowledge with competitors (and thus won't hand out this package), but you can always try. AMA方法使银行可以建立自己的操作风险模型,我敢打赌,UniCredit不想与竞争对手分享他们的知识(因此不会分发此一揽子计划),但是您可以随时尝试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM