I am trying to get the probabilistic Sharpe ratio by passing a vector with the reference Sharpe.
Strangely, when I pass as reference Sharpe the Sharpe ratios of my assets computed by SharpeRatio function, the ProbabilisticSharpe function gives an expected output with assets and their respective prob Sharpe ratios.
When I using own reference ratio it only produces a vector with the prob sharpe and NAs in the confidence intervals.
$sr_prob
[1] 0.9049119 0.9584034 0.9685389 0.9410357 0.8843830 0.5000000 0.9049119
[8] 0.9584034 0.9685389 0.9410357 0.8843830
$sr_confidence_interval
Lower Bound Sharpe Ratio Upper Bound NA NA NA NA NA
1 0.0591 0.0648 0.0665 0.0625 0.0568 0.0413 0.0591 0.0648
NA NA NA NA NA NA NA NA NA NA NA
1 0.0665 0.0625 0.0568 0.0812 0.0873 0.089 0.0849 0.0817 0.0636 0.1034 0.1099
NA NA NA NA NA NA NA NA NA
1 0.1116 0.1073 0.1067 0.0858 0.1034 0.1099 0.1116 0.1073 0.1067
Not sure what is going on. Any help or suggestion?
Description
I am trying to get the probabilistic Sharpe ratio by passing a vector with the reference Sharpe. Strangely, when I pass as reference Sharpe the Sharpe ratios of my assets computed by SharpeRatio function, the ProbabilisticSharpe function gives an expected output with assets and their respective prob Sharpe ratios.
When I using own reference ratio it only produces a vector with the prob sharpe and NAs in the confidence intervals.
Expected behaviour
Minimal, reproducible example
Now I just replaced the Sharpe values as follows:
and I got this:
Not sure what is going on. Any help or suggestion?