运用MATLAB的好方法

MAXIMUMLIKELIHOODESTIMATIONOFTHECOX-INGERSOLL-ROSSPROCESS:THEMATLAB

IMPLEMENTATION

KamilKlad´ vko1

DepartmentofStatisticsandProbabilityCalculus,UniversityofEconomics,Prague

andDebtManagementDepartment,MinistryofFinanceoftheCzechRepublic

kladivk@vse.czorkamil.kladivko@mfcr.cz

Abstract

Thesquarerootdi usionprocessiswidelyusedformodelinginterestratesbehaviour.Itisanunderlyingprocessofthewell-knownCox-Ingersoll-Rosstermstructuremodel(1985).Weinvestigatemaximumlikelihoodestimationofthesquarerootprocess(CIRprocess)forinterestratetimeseries.TheMATLABimplementationoftheestimationroutineisprovidedandtestedonthePRIBOR3Mtimeseries.

1CIRProcessforInterestRateModeling

Acontinuous-timemodelin nancetypicallyrestononeormorestationarydi usionprocesses{Xt,t≥0},withdynamicsrepresentedbystochasticdi erentialequations:

dXt=µ(Xt)dt+σ(Xt)dWt,

(1)

where{Wt,t≥0}isastandardBrownianmotion.Thefunctionsµ(·)andσ2(·)are,respectively,thedriftandthedi usionfunctionsoftheprocess.

Thefundamentalprocessininterestratemodelingisthesquarerootprocessgivenbythefollowingstochasticdi erentialequation:

drt=α(µ rt)dt+

√tσdWt,

(2)

wherertistheinterestrateandθ≡(α,µ,σ)aremodelparameters.Thedriftfunctionµ(rt,θ)=α(µ rt)islinearandpossessameanrevertingproperty,i.e.interestratertmovesinthedirectionofitsmeanµatspeedα.Thedi usionfunctionσ2(rt,θ)=rtσ2isproportionaltotheinterestratertandensuresthattheprocessstaysonapositivedomain.

Thesquarerootprocess(2)isthebasisfortheCox,Ingersoll,andRossshort-terminterestratemodel[1]andthereforeoftendenotedastheCIRprocessinthe nancialliterature.

1.1CIRprocessdensities

Ifα,µ,σareallpositiveand2αµ≥σ2holds,theCIRprocessiswell-de nedandhasasteadystate(marginal)distribution.Themarginaldensityisgammadistributed.

Formaximumlikelihoodestimationoftheparametervectorθ≡(α,µ,σ)transitionden-sitiesarerequired.TheCIRprocessisoneoffewcases,amongthedi usionprocesses,wherethetransitiondensityhasaclosedformexpression.Wefollowthenotationgivenin[1]onpage391.Givenrtattimetthedensityofrt+ tattimet+ tis

√vq

p(rt+ t|rt;θ, t)=ce u v()Iq(2),

u

1

(3)

ThisworkwassupportedbygrantofIGAVSEnr.IG410046

cir模型matlab代码,CIR模型MATLAB程序相关推荐

  1. 一个BP神经网络的完整matlab代码(含模型公式提取)

    原文来自  老饼玩转-BP神经网络http://bp.bbbdata.com/teach#140 目录 一.建模的步骤 二.建模代码 三.模型的提取流程 四.模型提取的代码 五.一些个性化操作 本文介 ...

  2. bsm公式的matlab代码_1000份MATLAB源代码,拿走不谢!

    前阵子写了一个HaoTdms工具,在给德国同事介绍完这个工具之后,同事表示太牛*了,同时想知道如何用MATLAB解析tdms文件. 这个问题让我有些意外,我说,其实这些代码,在MATLAB官网File ...

  3. cca matlab代码,CCA的matlab小实验

    最近在看CCA,为了证明CCA的性能,自己写了一个matlab代码 有关CCA的网页   http://www.cnblogs.com/jerrylead/archive/2011/06/20/208 ...

  4. 用matlab代码实现QDA,matlab数据库

    matlab--yeast数据库--qda方法示例_计算机软件及应用_IT/计算机_专业资料.matlab 编程. QDA 方法.load yeasttotaldata; datalabel = te ...

  5. cir模型matlab代码,CIR模型

    CIR模型(Cox–Ingersoll–Ross model,英文简称CIR Model) [编辑] 什么是CIR模型 在20世纪80年代中期,约翰·考克斯(John Carrington Cox), ...

  6. 正态云公式matlab代码,云模型代码 - MATLAB等数学软件专版 - 经管之家(原人大经济论坛)...

    本人用两种方法生成正态分布随机数,并产生云滴绘图.但一种离散程度很高,一种基本不离散,希望找出原因!!!源代码如下: load G1.txt;    %%% 矩阵G1为一个评语的取值范围(一列). [ ...

  7. 解抛物型微分方程c语言程序,偏微分方程的matlab代码_偏微分方程matlab程序,matlab偏微分代码...

    matlab偏微分方程含源代码,大家可以下载运行,里面的都能用 Pie Eais ae h t lat BLep 话k气飞"目基回 古班比比,一生热件身的些懂 1身定 回量1 古典显式格式稳 ...

  8. 离散信号频谱matlab代码,离散信号MATLAB频谱分析程序

    %FFT变换,获得采样数据基本信息,时域图,频域图 %这里的向量都用行向量,假设被测变量是速度,单位为m/s clear; close all; load data.txt               ...

  9. matlab 代码风格,10 Matlab 函数与代码风格

    函数 函数,本质上是一种可复用的代码.现实生活中,有大量的工作都是重复的,变化的只是其中一小部分. 举个例子,假如要你计算 " 1+2+3+4+5+6+7+8+9+10 ",最简单 ...

最新文章

  1. 制作OS X El CAPITAN安装U盘
  2. 都觉得FFT简单实用,可为什么还有人不断问问题呢?
  3. Determine destination location of apt-get install package?
  4. 高性能网站架构设计之缓存篇(5)- Redis 集群(上)
  5. 创建第一个Django项目
  6. 华为5g鸿蒙折叠,华为5G折叠概念新机:内折叠+麒麟9000+鸿蒙OS 这才是华为的实力...
  7. python语音识别框架_横评:五款免费开源的语音识别工具
  8. plotloss记录
  9. 碰撞与鲜血:人类与自动驾驶的坎坷摩擦
  10. 基于SSM的物业管理系统-JSP MYSQL小区物业费管理系统
  11. matlab 带通滤波函数,用matlab制作带通滤波器.doc
  12. 利用LFW对人脸识别模型进行精度评测
  13. 中国甲鱼养殖行业发展现状分析,浙江省产量最高「图」
  14. 电脑忽然不能开机,主板自检灯亮了
  15. 不用U盘,给自己的电脑重装一个win10系统
  16. continue在c语言中什么作用,continue在c语言中什么意思?
  17. 计算机网络交换机无法ping,无法Ping通路由器交换机提示request time out修复方法
  18. 这几年我看过的书,力荐书单(含技术和非技术)
  19. 【基本办公软件】万彩办公大师教程丨高级计算器的应用
  20. 机械原理复习试题及答案

热门文章

  1. jupyter内核突然失效!突然!
  2. 国家发改委“点名”这些新业态,将推动开展政策试点
  3. 王佩丰excel课程笔记
  4. 光学动作捕捉系统在自动化控制领域中的应用
  5. Java时间处理:根据日期计算并转化为前天昨天凌晨早上下午晚上明天后天15天内等标签
  6. Python分析三季度基金调仓
  7. 潮流课设matlab编程,毕业设计- 配电网潮流计算方法分析与实现(附带matlab源程序)...
  8. HCIP 证书过期后要怎么重新认证?需要注意什么?
  9. Win10 QQ无法启动问题
  10. uniapp HBuilder 无法运行微信小程序的问题解决