Main Content

lpm

计算样本较低的数据矩

描述

例子

lpm(Data计算资产回报的较低部分时刻Data关系到a default value for3月for each asset in a数字x NUMSERIES矩阵和默认值Order

例子

lpm(Data,,,,3月,,,,Order计算资产回报的较低部分时刻Data关系到3月for each asset in a数字x NUMSERIES矩阵。

例子

Moment=lpm(Data,,,,3月,,,,Order计算资产回报的较低部分时刻Data关系到3月for each asset in a数字x NUMSERIES矩阵Moment

例子

全部收缩

此示例显示了如何计算三个时间序列的零级,一阶和二阶下部矩,其中第三个时间序列的平均值用于计算3月(最低可接受的回报)与所谓的无风险费率。

加载FundMarketCashreturns = tick2ret(testdata);资产
资产=1x3单元{'Fund'} {'Market'} {'Cash'}
MAR =平均值(返回(:,3))
3月=0。0017
lpm = lpm(返回,3月,[0 1 2])
LPM=3×30。4333 0.4167 0.6167 0.0075 0.0140 0.0004 0.0003 0.0008 0.0000

第一行LPMcontains zero-order lower partial moments of the three series. The fund and market index fall below3月大约40%的时间和现金收益率低于其自身的平均时间约60%。

第二行包含三个系列的一阶下部矩。基金和市场相对于3月by 75 and 140 basis points per month. On the other hand, cash underperforms3月每月只有大约四个基点。

这third row contains second-order lower partial moments of the three series. The square root of these quantities provides an idea of the dispersion of returns that fall below the3月。这market index has a much larger variation on the downside when compared to the fund.

输入参数

全部收缩

资产返回,指定为数字-by-数字矩阵与数字观察数字资产返回。

数据类型:双倍的

(可选)最低可接受的回报,指定为标量数字。3月是截止回报水平,以便所有返回3月对下部部分时刻没有任何贡献。

数据类型:双倍的

(可选)矩订单,指定为标量或标量数字向量of nonnegative integer moment orders. If no order specified, the defaultOrder=0,这是不足的概率。虽然lpmfunction works for noninteger orders and, in some cases, for negative orders, this falls outside customary usage.

数据类型:双倍的

输出参数

全部收缩

较低的部分时刻,回到数字x NUMSERIES较低部分时刻的矩阵数字Order数字系列,即每行都包含给定订单的较低部分矩。

笔记

要计算上层时刻,请扭转两者的迹象Dataand3月(请勿逆转输出的符号)。这lpmfunction computes sample lower partial moments from data. To compute expected lower partial moments for multivariate normal asset returns with a specified mean and covariance, useELPM。Withlpm,,,,you can compute various investment ratios such asOmegaratio,Sortino比例,上升潜力比率,其中:

  • Omega = lpm(-Data, -MAR, 1) / lpm(Data, MAR, 1)

  • sortino =(平均(数据)-MAR) / SQRT(LPM(数据,MAR,2))

  • Upside = lpm(-Data, -MAR, 1) / sqrt(lpm(Data, MAR, 2))

更多关于

全部收缩

Lower Partial Moments

Use较低的部分时刻俗称什么是“下行风险”。

较低的部分力矩框架的主要思想是建模资产回报的矩,该回报率低于最低可接受的收益水平。要计算数据中较低的部分时刻,请使用lpm计算多个资产返回系列和多个力矩订单的较低部分矩。要计算有关资产收益分布的几个假设下的低部分矩的预期值,请使用ELPM计算多个资产和多个订单的较低部分力矩。

References

[1] Bawa,V.S。“安全优先,随机优势和最佳投资组合选择。”财务和定量分析杂志。卷。13, No. 2, June 1978, pp. 255–271.

[2] Harlow,W.V。“资产分配在下行风险框架中。”财务分析师杂志。卷。47,第5号,1991年9月/10月,第28-40页。

[3] Harlow, W.V. and K. S. Rao. "Asset Pricing in a Generalized Mean-Lower Partial Moment Framework: Theory and Evidence."财务和定量分析杂志。卷。24,第3号,1989年9月,第285-311页。

[4] Sortino, F.A. and Robert van der Meer. "Downside Risk."投资组合管理杂志。卷。17,第5号,1991年春季,第27-31页。

版本历史记录

在R2006b中引入

也可以看看