Package: SharpeR 1.3.0

SharpeR: Statistical Significance of the Sharpe Ratio

A collection of tools for analyzing significance of assets, funds, and trading strategies, based on the Sharpe ratio and overfit of the same. Provides density, distribution, quantile and random generation of the Sharpe ratio distribution based on normal returns, as well as the optimal Sharpe ratio over multiple assets. Computes confidence intervals on the Sharpe and provides a test of equality of Sharpe ratios based on the Delta method. The statistical foundations of the Sharpe can be found in the author's Short Sharpe Course <doi:10.2139/ssrn.3036276>.

Authors:Steven E. Pav [aut, cre]

SharpeR_1.3.0.tar.gz
SharpeR_1.3.0.zip(r-4.5)SharpeR_1.3.0.zip(r-4.4)SharpeR_1.3.0.zip(r-4.3)
SharpeR_1.3.0.tgz(r-4.4-any)SharpeR_1.3.0.tgz(r-4.3-any)
SharpeR_1.3.0.tar.gz(r-4.5-noble)SharpeR_1.3.0.tar.gz(r-4.4-noble)
SharpeR_1.3.0.tgz(r-4.4-emscripten)SharpeR_1.3.0.tgz(r-4.3-emscripten)
SharpeR.pdf |SharpeR.html
SharpeR/json (API)

# Install 'SharpeR' in R:
install.packages('SharpeR', repos = c('https://shabbychef.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/shabbychef/sharper/issues

Datasets:

On CRAN:

38 exports 17 stars 1.93 score 1 dependencies 53 scripts 557 downloads

Last updated 3 years agofrom:df46933d5e. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 09 2024
R-4.5-winOKSep 09 2024
R-4.5-linuxOKSep 09 2024
R-4.4-winOKSep 09 2024
R-4.4-macOKSep 09 2024
R-4.3-winOKSep 09 2024
R-4.3-macOKSep 09 2024

Exports:as.del_sroptas.sras.sroptdel_sroptdsrdsroptinferenceis.del_sroptis.sris.sroptism_vcovpco_sroptplambdappower.sr_testpower.sropt_testpredintpsrpsroptqco_sroptqlambdapqsrqsroptreannualizerlambdaprsrrsroptsesm_vcovsrsr_biassr_equality_testsr_testsr_unpaired_testsr_variancesr_vcovsricsroptsropt_test

Dependencies:matrixcalc

Asymptotic Distribution of the Markowitz Portfolio

Rendered fromAsymptoticMarkowitz.Rnwusingknitr::knitron Sep 09 2024.

Last update: 2014-01-03
Started: 2014-01-03

Notes on the Sharpe ratio

Rendered fromSharpeRatio.Rnwusingknitr::knitron Sep 09 2024.

Last update: 2018-10-07
Started: 2013-08-31

Using the SharpeR Package

Rendered fromSharpeR.Rnwusingknitr::knitron Sep 09 2024.

Last update: 2020-02-08
Started: 2013-08-06

Readme and manuals

Help Manual

Help pageTopics
statistics concerning Sharpe ratio and Markowitz portfolioSharpeR-package
Compute the Sharpe ratio of a hedged Markowitz portfolio.as.del_sropt as.del_sropt.default as.del_sropt.xts
Compute the Sharpe ratio.as.sr as.sr.data.frame as.sr.default as.sr.lm as.sr.matrix as.sr.timeSeries as.sr.xts
Compute the Sharpe ratio of the Markowitz portfolio.as.sropt as.sropt.default as.sropt.xts
Confidence Interval on (optimal) Signal-Noise Ratioconfint.del_sropt confint.sr confint.sropt
Create an 'del_sropt' object.del_sropt
The (non-central) Sharpe ratio.dsr psr qsr rsr
The (non-central) maximal Sharpe ratio distribution.dsropt psropt qsropt rsropt
Inference on noncentrality parameter of F-like statisticinference inference.del_sropt inference.sropt
Is this in the "del_sropt" class?is.del_sropt
Is this in the "sr" class?is.sr
Is this in the "sropt" class?is.sropt
Compute variance covariance of Inverse 'Unified' Second Momentism_vcov
The 'confidence distribution' for maximal Sharpe ratio.pco_sropt qco_sropt
The lambda-prime distribution.plambdap qlambdap rlambdap
Power calculations for Sharpe ratio testspower.sr_test
Power calculations for optimal Sharpe ratio testspower.sropt_test
prediction interval for Sharpe ratiopredint
Print values.print.del_sropt print.sr print.sropt
Change the annualization of a Sharpe ratio.reannualize reannualize.sr reannualize.sropt
Standard error computationse se.sr
News for package 'SharpeR':SharpeR-NEWS
Compute variance covariance of 'Unified' Second Momentsm_vcov
Create an 'sr' object.sr
sr_bias .sr_bias
Paired test for equality of Sharpe ratiosr_equality_test
test for Sharpe ratiosr_test
test for equation on unpaired Sharpe ratiossr_unpaired_test
sr_variance .sr_variance
Compute variance covariance of Sharpe Ratios.sr_vcov
Sharpe Ratio Information Coefficientsric
Create an 'sropt' object.sropt
test for optimal Sharpe ratiosropt_test
Stock Returns Datastock_returns
Summarize a Sharpe, or (delta) optimal Sharpe object.summary.sr summary.sropt