Skip to Content
Mathematica 錦囊妙計
book

Mathematica 錦囊妙計

by Sal Mangano
April 2014
Beginner to intermediate
830 pages
15h 21m
Chinese
GoTop Information, Inc.
Content preview from Mathematica 錦囊妙計
14.12 以樹狀圖呈現利率敏感性高的金融商品
|
587
接下來,只要指定邊界值及樹的深度,便可輕鬆繪製樹狀圖。
[Page-589]
討論說明
以上只是樹狀圖繪製的基本原理,如果要呈現 Hull-White 樹,還需對節點加上標示,
最簡單的辦法是直接在樹狀圖上的節點處添加文字元件,並直接以節點座標作為文字內
容,接著只要利用 Mathematica 的模式匹配功能取代為指定文字即可。
ch14.indd 587 2014/4/2 下午 02:59:12
588
|
第十四章
以下使用單因素利率模型(single-factor interest rate model)樹狀圖為例,其模型描述如
下:
其中
r
為短期利率,而
a
與
σ
為常數。[Page-590]
從先前繪製的
gr
樹狀圖出發,將節點標示文字(即節點座標)取代為利率變化量。使
用
Replace
指令取代時,只要指定深度為
Infinity
,便可匹配任意深度的表示式,而不
必擔心圖形真正深度為何。
ch14.indd 588 2014/4/2 下午 02:59:12
14.12 以樹狀圖呈現利率敏感性高的金融商品
|
589
延伸資訊
本 文 內 容 源 自 Weber & Partner 公 司 的 Thomas Weber 之 開 發 工 作(
http://bit. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Mathematica Cookbook

Mathematica Cookbook

Sal Mangano

Publisher Resources

ISBN: 9789863470106