Statistical Significance of the Sharpe Ratio
Overview
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.
Install
Health
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Steven E. Pav <shabbychef@gmail.com>’
Found the following (possibly) invalid file URI:
URI: books.google.com/books
From: inst/doc/SharpeRatio.pdf- NOTE11 OK, 2 NOTE2026-09-08
- ERROR10 OK, 2 NOTE, 1 ERROR2026-09-07
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 38includes a package overview page
- Examples that run
- 100%36 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 98%
- Return-value docs
- 100%
- Help pages citing references
- 71%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 11
- Median days to close, 50 most recently updated closed PRs
- 2
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
8 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/shabbychef/sharper on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Show all practicesHide 1 practice
Dependencies
Installing SharpeR adds 3 packages (1 with compiled code, 785 KB of source tarballs). Heaviest: zoo 675 KB, epsiwal 80 KB, matrixcalc 30 KB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- 3.0.3Latest
- 3.0.2
- 3.0.12013-05-10 · diff ↗ ·
added 22 exports
as.sr, as.sropt, dsr, dsropt, inference, is.sr, is.sropt, power.sropt_test, power.sr_test, psr, psropt, qsr, qsropt, reannualize, rsr, rsropt, se, sr, sr_equality_test, sropt, sropt_test, sr_test
Show 15 earlier eventsHide 15 earlier events
Package metadata
- First published
- 2013-05-10
- Total releases
- 17 / 13 yrs
- License
- LGPL-3 OSI
- Minimum R
- ≥ 3.0.0
- Bundled data
- 146 KB / 1 file
- Download size
- 2.7 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("SharpeR")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.