经管之家App
让优质教育人人可得
立即打开
全部版块
我的主页
›
论坛
›
数据科学与人工智能
›
数据分析与数据科学
›
R语言论坛
R PerfomanceAnalytics 算historical simulation
楼主
yangyifan1003
2085
1
收藏
2014-04-20
我的code如下>getSymbols("^GSPC", src = "yahoo",from="2000-01-01",to="2014-03-30")
>GSPC.r=diff(GSPC$GSPC.Close)
>VaR(GSPC.r,p = 0.95, method=”historical”)
额,菜鸟问题,怎么可以显示算出来的VaR。还有,我怎么设置moving window?
有什么其他的package可以解决这个问题?
跪求答案!
扫码加我 拉你入群
请注明:姓名-公司-职位
以便审核进群资格,未注明则拒绝
全部回复
沙发
huyiustc
2014-4-27 19:31:17
历史模拟法完全可以自己编程吧,窗宽去好后,直接quantile求对应置信水平分位数不就行了嘛
扫码加我 拉你入群
请注明:姓名-公司-职位
以便审核进群资格,未注明则拒绝
相关推荐
[历史焦点].The.Historical.Focus.(英)约翰·格里宾.扫描版.pdf
An improved historical simulation approach
A GARCH Option Pricing Model with Filtered Historical Simulation
求助historical US repo rate (300金)
Historical Simulation and Delta Normal VaR and C-VaR (matlab)
Behind the Crisis (Historical Materialism Book) by Guglielmo Carchedi
Lecture 3 - Risk Return and the Historical Record
VAR (Historical Simulation)
Marxism and Historical Practice Volume I
The World Trade Historical Database
栏目导航
R语言论坛
经管文库(原现金交易版)
爱问频道
市场营销
数据分析与数据科学
金融实务版
热门文章
瓦尔拉斯方程组及其求解历史
一般均衡证明中的关键人物与全 1 解的关联探 ...
粤港澳大湾区智能制造产业司法观察2025
2025年中国医院研究影响力-全球卫生政策和临 ...
蔡定创经济学 《信用价值论续—集聚生产与资 ...
2025 中国不良资产行业发展研究
Handbook of Multilevel Analysis
A Course in Formal Languages, Automata a ...
2024年债券市场分析研究报告
从倡议到实践:2024中外文化交流报告
推荐文章
AI狂潮席卷学术圈,不会编程也能打造专属智 ...
最快1年拿证,学费不足5W!热门美国人工智能 ...
关于如何利用文献的若干建议
关于学术研究和论文发表的一些建议
关于科研中如何学习基础知识的一些建议 (一 ...
一个自编的经济学建模小案例 --写给授课本科 ...
AI智能体赋能教学改革: 全国AI教育教学应用 ...
2025中国AIoT产业全景图谱报告-406页
关于文献求助的一些建议
几种免费下载文献的方法----我的文献应助经
说点什么
分享
微信
QQ空间
QQ
微博
扫码加好友,拉您进群
各岗位、行业、专业交流群