加载中…
  
博文
标签:

杂谈

分类: 最优化计算
   计算投资组合的有效边界,资本市场线,证券市场线,alpha,beta,基本上是投资分析学的基本要求,大部分教科书都是用EXCEL来做,但EXCEL总的来所处理大数据还是欠缺了点。对于教科书上几支股票当然好处理,一当处理几百上千股票,要从数据库直接调用数据来分析,还得借助第三方软件来处理。然而这点对于SAS来说,当然不在话下。
    SAS里的最优化计算源于其中的OR产品,在IML亦有一些子程序可以调用。两者的区别:

The advantages of the IML procedure are as follows:

  • You can use matrix algebra to specify the objective function, nonlinear constraints, and their derivatives in IML modules.
  • The IML procedure offers several subroutines that can be used to specify the objective function or nonlinear constraints, many of which would be very difficult to write for the NLP procedure.
  • You can formulate your own termination criteria by using the 'ptit' module argument.
The advantages of the NLP procedure are as follows:
  • Although
标签:

杂谈

分类: 金融工程计算

由BSM公式得到的期权定价公式为

                

这是偏微分方程里的抛物线方程,显式差分的方程为:

移项可以进一步得到:

               

  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有