adjsharpe(): number
Computes the Adjusted Sharpe Ratio.
The Adjusted Sharpe Ratio accounts for skewness and kurtosis with a penalty factor for negative skewness and excess kurtosis.
Adjusted Sharpe Ratio formula: ASR = SR × [1 + (S / 6) × SR - ((K - 3) / 24) × SR²] where:
SR= Sharpe RatioS= SkewnessK= Kurtosis
Adjusted Sharpe ratio for a single asset
Adjusted Sharpe ratio for a single asset
import { assertEquals } from "jsr:@std/assert"; const x = [0.003, 0.026, 0.015, -0.009, 0.014, 0.024, 0.015, 0.066, -0.014, 0.039]; assertEquals(adjsharpe(x), 0.8309256847278014);
x: array
Asset/portfolio returns
adjsharpe(): array | matrix
Computes the Adjusted Sharpe Ratio.
The Adjusted Sharpe Ratio accounts for skewness and kurtosis with a penalty factor for negative skewness and excess kurtosis.
Adjusted Sharpe Ratio formula: ASR = SR × [1 + (S / 6) × SR - ((K - 3) / 24) × SR²] where:
SR= Sharpe RatioS= SkewnessK= Kurtosis
Adjusted Sharpe ratio for a single asset
Adjusted Sharpe ratio for a single asset
import { assertEquals } from "jsr:@std/assert"; const x = [0.003, 0.026, 0.015, -0.009, 0.014, 0.024, 0.015, 0.066, -0.014, 0.039]; assertEquals(adjsharpe(x), 0.8309256847278014);
x: matrix
Asset/portfolio returns