楼主: ojsapp
6107 18

how to calculate percentile level [推广有奖]

  • 0关注
  • 0粉丝

初中生

85%

还不是VIP/贵宾

-

威望
0
论坛币
27 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
216 点
帖子
21
精华
0
在线时间
0 小时
注册时间
2006-4-19
最后登录
2008-3-14

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
计算VaR (Vale at risk) 时, 已经知道density function(不是normal 和 t, 查表得不到), 在95% 置信度下,如何计算percentile level? 需要用什嘛软件? 多谢.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:percentile calculate percent Level Late Level percentile calculate

回帖推荐

zhaosweden 发表于2楼  查看完整内容

You can divide the probability support into G (say G=2000) equi-length intervals. Then compute the area since you have the (Empirical ?) density function(curve?). The value for which the cumulative area is 95% (5%, depending whether you start from the left or the right) is the desired value.   [此贴子已经被作者于2006-5-1 2:29:10编辑过]

本帖被以下文库推荐

沙发
zhaosweden 发表于 2006-5-1 02:28:00 |只看作者 |坛友微信交流群
You can divide the probability support into G (say G=2000) equi-length intervals. Then compute the area since you have the (Empirical ?) density function(curve?). The value for which the cumulative area is 95% (5%, depending whether you start from the left or the right) is the desired value.  

[此贴子已经被作者于2006-5-1 2:29:10编辑过]

已有 1 人评分经验 论坛币 收起 理由
胖胖小龟宝 + 10 + 10 热心帮助其他会员

总评分: 经验 + 10  论坛币 + 10   查看全部评分

使用道具

藤椅
hangover 发表于 2006-5-1 09:42:00 |只看作者 |坛友微信交流群
已经知道density function还有啥可算的啊,,
如果不知道,,随便弄个gauss kernel评估一下,,就行了..一般软件都直接给出,,在95% 置信度下,
当然2楼说的也可以..

使用道具

板凳
ojsapp 发表于 2006-5-1 12:41:00 |只看作者 |坛友微信交流群

To zhaosweden and hangover:

Thank you two.

I want to use RiskMetrics to calculate VaR and assme the error is mixed normal distribution. The prob density fuction is g(x)=p*f1(u1, segma1) + (1-p) f2(u2, segma2). I will use MLE to estimate the five parameters and get the density function. But it does not make much sense if I only calcuate condition variance; then use VaR=1.65* CONDITIONAL VARIANCE. I also need to use the definition of VaR to calculate percentile level of mixed normal distribution and get the desire value.

zhaosweden is right, but the process is a little bit complex. Could you tell me how to use some specfic software to solve this problem? Does Eviews work? Could you explain in more details?

Many thanks in advance.

使用道具

报纸
zhaosweden 发表于 2006-5-1 19:43:00 |只看作者 |坛友微信交流群
I do not know whether Eviews is OK. If you use that software, I guess you must make your own code(within Eviews). When comes to such question, you have to step into the detail.  

[此贴子已经被作者于2006-5-1 19:44:09编辑过]

使用道具

地板
ojsapp 发表于 2006-5-2 00:36:00 |只看作者 |坛友微信交流群
Will  any other software work? I do need sove this problem quickly.  Aslo I am not good at programming. A big headache!

使用道具

7
zhaosweden 发表于 2006-5-3 02:43:00 |只看作者 |坛友微信交流群
My suggestion is simple: do not choose the topic you are not able to do. Otherwise it will take too long time or you end up with some rubbish.

使用道具

8
ojsapp 发表于 2006-5-3 11:55:00 |只看作者 |坛友微信交流群

Thans lot.

Thanks a lot, zhao. You are definitely right.

使用道具

9
zhaosweden 发表于 2006-5-3 19:59:00 |只看作者 |坛友微信交流群

reply to: Thanks a lot, zhao. You are definitely right.

***************************

Please note that there are more that people can take than taking my word literally.

I found many Master students choose to use some complicated Econometric Modesl in their master thesis. And such model normally asks for making code (either GAUSS, Metlab, c, ...). But they have only very very veyr poor experience with Eviews or SPSS. The thesis is normally required to be completed within 2-3 month. But to learn GAUSS only may takes them 2 month! My words may not be targetted at you. But I hope you can pick up some useful information here.

使用道具

10
ojsapp 发表于 2006-5-3 21:19:00 |只看作者 |坛友微信交流群
老大,I have solved this problem using MATHCAD. Since I am not good at programming, I choose to use some simple software. Just use integral to get the desired value. It is very convenient.

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-24 03:12