Financial Mathematics

6.2k 词

Deterministic Model and Stochastic Model

Deterministic Model

A deterministic model is a model that contains no random variables and always produces the same output for a given set of initial conditions and inputs. Its behavior is entirely predictable and without any element of chance.

Stochastic Model

A stochastic model is a model that incorporates random variables and elements of chance. Due to the presence of randomness, even with the same initial conditions and inputs, the model can produce different outputs, which are typically represented as a probability distribution of possible outcomes.


利息按期支付

image.png

注意求解现值的时候:

  1. 已知 公式是
  2. 已知 公式是

The force of interest

定义:

is called the force of interest

公式:

计算的时候用到的是A:为底的!!!

If and are continuous functions of for , and the principle of consistency holds, then, for

考试例题:

image.png

mock例题

image.png

年金折现

in arrears or in advance

image.png

年金累积:

image.png

年金分p次支付

image.png

image.png

image.png

连续折现

image.png

逐年递增

image.png

改动利率的情况

专业术语:

Reduced term 减少了的还款期限 原本20年,现在19年,reduced term =1

Reduced final instalment: 减少了的最后一期还款金额

举个例子:

  • 固定每年还 £1,000

  • 到第 18 年还完主要本金了,第 19 年只剩 £600 → 就是 reduced final instalment = £600

Net present values and yields

image.png

Loan Repayment Schedules

表格模板:

image.png

符号定义:

: the loan outstanding at time t
: 时刻 的还款金额(Instalment)
:时刻 偿还的本金部分(capital repaid)
:时刻 偿还的利息部分(interest paid)

利息是由loan计算出来的


每期固定还钱金额=还款本金+利息


时刻:

prospective method:

Consider the loan transactions at time , which is the end of the contract term.

Retrospective method:

注意这里:在t时刻是要把的还款也算上:

改变利率的loan题目:

注意:reduced final instalment:算出后还要乘以才是最后一笔还款

专业术语

image.png

还贷款中本金_t与本金_t-1的变化

image.png


Net present values and yields

IRR:指internal rate of return (IRR)

题型1.比较两个项目的IRR:

image.png

注意:不意味着项目 A 就一定比项目 B 更盈利:

**IRR 只是一个内部衡量指标,不能脱离市场贴现率 %i_1%独立做出判断。

真正决定获利的是项目在 下的 NPV 大小。**

题型2.贴现回收期 (DPP)

image.png

image.png

注意:一旦还款结束,折现率了就不再是借钱的那个利率了。

image.png


Securities

Fixed interest security

image.png

Pricing with Tax

image.png

注意点:

  1. i 指的是折现的时候的i
  2. p指的是利息分p次给的p

image.png

Optional redemption dates

题型1.已知给定了发行价

image.png

题型2.投资者希望到达至少的年化利率

image.png

总结:

capital gain :极端情况是:越晚赎回。
capital loss :极端情况是:越早赎回。

记忆方法可以用零息债卷来记忆:

折价买入(capital gain)越晚赎回越亏

溢价买入(capital loss)越早赎回越亏

Real returns and index-linked bonds(Consider Inflation)

image.png


Spot rate

image.png

注意:

这里的定义是这样的在固定n年期限后,代表年里面每一年的回报率都是

求解spot rate

image.png

spot rate 的期望求解:

image.png

image.png

Gross Redemption Yield

Gross Redemption Yield(GRY)(总到期收益率),是指投资者从购买一只债券到其到期为止,按照购买价格获得的年化总回报率,包括:

  1. 所有未来的票息收入(coupons),以及

  2. 到期时本金的偿还(redemption amount),

  3. 不考虑税收或费用影响,因此叫做“gross

forward rates

image.png

n-year par yield

就是发行价和赎回价都是1的时候,利息该给多少
image.png


Duration

Duration 是指债券现金流(利息和本金)按现值权重计算的加权平均到期时间。它回答的是:“投资人平均要等多久,才能回收投入的每一块钱的现值?

image.png

image.png

Effective duration (or volatility),

image.png

注意:
if the interest rate decreases from to ( > 0), the PV will increase from to .

image.png

image.png

Covexity

image.png

Redington’s condition for Immunisation

这就是所谓的“对利率风险免疫”

image.png

注意:第二个condition,只需要直接对求导就可以列式子了,因为已经满足了前提,然后负号也相互抵消了。


Efficient Markets Hypothesis

image.png

The Expected Utility Theorem

风险类型:

image.png

厌恶风险:

image.png

Explain what can be deduced about an investor’s utility function if the investor makes decisions based on:

  1. i. the variance of returns.
  2. ii. the shortfall probability of returns

ans:

  1. i. This may imply that the investor has a quadratic utility function.
  2. ii. This corresponds to a utility function which has a discontinuity at the minimum required retur

Premium and insurance premium

image.png

注意先式子之前:

应该先把财富的表达式w写好,再放入再求期望

个体/被保险人角度:

  • 左边是“不买保险,直接承担损失”时的期望效用,
    -就是本身你的财富-损失

  • 右边是“买保险,损失被转移,但要付保费 P”时的确定效用,
    -就是本身你的财富-保险

  • 所以,P 就是该个体愿意为消除损失风险而支付的最高金额,使得两个方案的效用一样。

保险公司/风险承担方(insurer)的角度:

  • 左边是“收了保费 Q,面对赔付 Y 的不确定性”后的期望效用
    -就是保险公司的财富+收了保费-赔付

  • 右边是“什么都不干,不收钱也不赔付”的原始效用
    -就是保险公司的财富

  • 所以,Q 就是保险公司至少要收的最低金额,保证自己不会因为承担风险而效用下降。

最大效能:


概率分布

Binomial random variable

期望:

方差:

$$Var(X)=np(1-p)$$

Poisson random variable

期望:

方差:

Risk measurements

A shortfall probability

A shortfall probability measures the probability of returns falling below a certain level. For continuous variables, the risk measure is given by:

semi-variance

One measure that seeks to quantify this view is downside semi-variance. This is defined as: Furthermore, if returns on assets are symmetrically distributed, semi-variance is proportional to variance.µ

VaR

image.png

image.png
注意:
算出来是正数说明没亏损,算最后结果的时候还是

算出来是负数说明亏损了,算最后结果其实还是(此时t是负数)

image.png

例题

image.png

image.png

The log-normal distribution

image.png

注意:两者参数一样但是含义不同:

正态分布的期望和方差:

	$logX \sim \mathcal{N}(\mu, \sigma^2)$


log-normal的期望和方差:

	$X \sim \mathcal{logN}(\mu, \sigma^2)$

考试技巧:

求解X的期望和方差时:
定义变量字母:

Stochastic investment returns

It follows from this equation that a single investment of 1 at time 0 will accumulate at time to:
image.png

CAPM

SML :

表示的是一个「合理定价」的资产应该提供多少回报,作为其风险(β)的一种补偿
image.png

对象 含义
该资产无市场风险,只能获得无风险收益 (例如国债)
该资产与市场一样波动,应该获得 的期望回报
风险高于市场,期望回报也应更高
风险低于市场,期望回报也应更低

CAPM(资本资产定价模型)中市场组合的贝塔值恒为 1

CML:

image.png

注意:只算有风险的资产
求解市场回报率的两种方法:

  1. 已知各各风险资产的回报率,乘以资产占市场的比例
  2. 已知其中一种资产的回报率还有其值和无风险利率

夏普比(Sharpe Ratio)

夏普比(Sharpe Ratio)是金融中最常用的风险调整后收益指标,用来衡量投资每承担一单位风险所获得的超额回报。

定义:

其中:

  • :投资组合或资产的期望收益率

  • ​:无风险利率(risk-free rate)

  • :该资产或组合收益率的标准差

Portfolio theory

The return on the portfolio, , is modelled as a random variable that is a linear combination of random variables, , representing the return on security .

image.png

过程:
image.png

相关性和方差关系

image.png

有效前沿理论:

image.png

在二维图上,我们通常以投资组合的**标准差(风险)**为横轴、期望收益为纵轴绘制所有可能的资产组合点。由此得到的一系列最优组合形成一条向上的凸曲线,这条曲线即为“有效前沿”。它表示的是投资者理性地在不同风险偏好下可以选择的最优投资策略:

  • 位于有效前沿上的组合是效率最优的,称为有效组合(Efficient Portfolio)

  • 位于曲线下方的组合意味着在相同风险下有更高的收益可能,或者在相同收益下可以实现更低风险,因此是不理想的;

  • 曲线的最左端点对应全市场风险最小的有效组合,即“最小方差组合”(Minimum Variance Portfolio);

  • 若允许无风险资产加入,则所有投资组合的有效边界转化为一条从无风险资产切向有效前沿的资本市场线(Capital Market Line, CML)

由于股票间存在相关性,所以组合大概率不是线性的,显示出来是曲线,如果相关性为1就可能是直线。