sr_variance {SharpeR}R Documentation

sr_variance .

Description

Computes the variance of the sample Sharpe ratio.

Usage

sr_variance(snr, n, cumulants)

Arguments

snr

the population Signal Noise ratio. Often one will use the population estimate instead.

n

the sample size that the Shapre ratio is observed on.

cumulants

a vector of the third through fourth, or the third through seventh population cumulants of the random variable. More terms are needed for the higher accuracy approximation.

Details

The sample Sharpe ratio has variance of the form

V=1n(1+ζ22)+1n2(19ζ28+2)γ1ζ(1n+52n2)+γ2ζ2(14n+38n2)+5γ3ζ4n2+γ12(74n23ζ22n2)+39γ22ζ232n215γ1γ2ζ4n2+o(n2),V = \frac{1}{n}\left(1 + \frac{\zeta^2}{2}\right) +\frac{1}{n^2}\left(\frac{19\zeta^2}{8} + 2\right) -\gamma_1\zeta\left(\frac{1}{n} + \frac{5}{2n^2}\right) +\gamma_2\zeta^2\left(\frac{1}{4n} + \frac{3}{8n^2}\right) +\frac{5\gamma_3\zeta}{4n^2} +\gamma_1^2\left(\frac{7}{4n^2} - \frac{3\zeta^2}{2n^2}\right) +\frac{39\gamma_2^2\zeta^2}{32n^2} -\frac{15\gamma_1\gamma_2\zeta}{4n^2} +o\left(n^{-2}\right),

where ζ\zeta is the population Signal Noise ratio, nn is the sample size, γ1\gamma_1 is the population skewness, and γ2\gamma_2 is the population excess kurtosis, and γ3\gamma_3 through γ5\gamma_5 are the fifth through seventh cumulants of the error term. This form of the variance appears as Equation (4) in Bao.

See ‘The Sharpe Ratio: Statistics and Applications’, section 3.2.3.

Value

the variance of the sample statistic.

Author(s)

Steven E. Pav shabbychef@gmail.com

References

Bao, Yong. "Estimation Risk-Adjusted Sharpe Ratio and Fund Performance Ranking Under a General Return Distribution." Journal of Financial Econometrics 7, no. 2 (2009): 152-173. doi: 10.1093/jjfinec/nbn022

Pav, S. E. "The Sharpe Ratio: Statistics and Applications." CRC Press, 2021.

See Also

sr_bias.

Examples

# variance under normality:
sr_variance(1, 100, rep(0,5))

[Package SharpeR version 1.3.0 Index]