Econometric Tools for Performance and Risk Analysis
Overview
Collection of econometric functions for performance and risk analysis. In addition to standard risk and performance metrics, this package aims to aid practitioners and researchers in utilizing the latest research in analysis of non-normal return streams. In general, it is most tested on return (rather than price) data on a regular scale, but most functions will work with irregular return data as well, and increasing numbers of functions will work with P&L or price data where possible.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 166 (1 internal)includes a package overview page
- Examples that run
- 87%130 run in a plain check (1 of them under a condition) · 11 only when donttest examples are enabled (R CMD check --as-cran) · 8 never run · 1 hold no code
- Exported functions with examples
- 94%
- Documented parameters
- 99%
- Return-value docs
- 10%
- Help pages citing references
- 64%
- **PerformanceAnalytics** Plotting Using Additional Plotting Engines HTML
- Estimation of Higher Order Moments PDF
- Performance Attribution from Bacon PDF
- PerformanceAnalytics Charts and Tables Presentation - Meielisalp - 2007 PDF
- PerformanceAnalytics Charts and Tables Reference PDF
- PerformanceAnalytics Data Mining Presentation - UseR - 2007 PDF
- Portfolio Returns PDF
- Standard Errors for Risk and Performance Estimators PDF
- textplot Presentation for CRUG 2011 PDF
Downloads
Repository
- PRs merged (all time)
- 62%
- Median days to close, 50 most recently updated closed issues
- 2,891
- Median days to close, 50 most recently updated closed PRs
- 46
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
7 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/braverock/performanceanalytics on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Dependencies
Installing PerformanceAnalytics adds 3 packages (3 with compiled code, 1.2 MB of source tarballs). Heaviest: zoo 675 KB, xts 470 KB, quadprog 35 KB.
Show all 29 packagesHide all 29 packages
Code & Tests
Datasets
People & History
Show 7 more contributorsHide 7 contributors
Show 4 peopleHide 4 people
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 2.1.0Latest2026-04-11 · current release · diff ↗ ·
removed 1 export
lpmadded 3 exports
Level.calculate, VaR.backtest, table.TrailingPeriodsRel - RR 4.5.0 released · 2025-04-11
- 2.0.82024-12-09 · diff ↗ ·
removed 1 export
Mean.arithmeticadded 19 exports
CDaR.alpha, CDaR.beta, DownsideSharpeRatio, M3.mat2vec, M3.vec2mat, M4.mat2vec, M4.vec2mat, MM.NCE, SFM.beta.bear, SFM.beta.bull, SFM.coefficients, SFM.fit.models, chart.SFM, derportm2, derportm3, derportm4, portm2, portm3, portm4 - 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
- 2.0.42020-02-06 · diff ↗ ·
added 7 exports
Mean.arithmetic, MinTrackRecord, ProbSharpeRatio, RPESE.control, RachevRatio, Return.locScaleRob, SemiSD - 1.5.3
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 1.5.22018-03-02 · diff ↗ ·
removed 1 export
DrawdownPeakadded 18 exports
Drawdowns, M2.ewma, M2.shrink, M2.struct, M3.MCA, M3.ewma, M3.shrink, M3.struct, M4.MCA, M4.ewma, M4.shrink, M4.struct, table.RollingPeriods, to.monthly.contributions, to.period.contributions, to.quarterly.contributions, to.weekly.contributions, to.yearly.contributions - RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
Show 28 earlier eventsHide 28 earlier events
- RR 3.2.0 released · 2015-04-16
- 1.4.35412014-09-16 · diff ↗ ·
removed 4 exports
Drawdowns, UPR, table.Returns, table.TrailingPeriodsReladded 43 exports
ActiveReturn, AverageLength, AverageRecovery, CAPM.dynamic, CoKurtosisMatrix, CoSkewnessMatrix, HurstIndex, M3.MM, M4.MM, MarketTiming, Modigliani, Return.annualized.excess, SFM.CML, SFM.CML.slope, SFM.alpha, SFM.beta, SFM.dynamic, SFM.epsilon, SFM.jensenAlpha, UlcerIndex, centeredcomoment, centeredmoment, charts.TimeSeries, lpm, table.ProbOutPerformance, table.SFM, tol10qualitative, tol11qualitative, tol12qualitative, tol14rainbow and 13 more - RR 3.1.0 released · 2014-04-10
- RR 3.0.0 released · 2013-04-03
- 1.1.02013-01-29 · diff ↗ ·
added 39 exports
AdjustedSharpeRatio, AppraisalRatio, AverageDrawdown, BernardoLedoitRatio, BurkeRatio, CAPM.epsilon, CAPM.jensenAlpha, DownsideFrequency, DRatio, DrawdownDeviation, DrawdownPeak, FamaBeta, Frequency, Kappa, M2Sortino, MartinRatio, MeanAbsoluteDeviation, MSquared, MSquaredExcess, NetSelectivity, OmegaExcessReturn, OmegaSharpeRatio, PainIndex, PainRatio, ProspectRatio, Selectivity, SkewnessKurtosisRatio, SpecificRisk, SystematicRisk, TotalRisk and 9 more - 1.0.4.4
- RR 2.15.0 released · 2012-03-30
- RR 2.14.0 released · 2011-10-31
- RR 2.13.0 released · 2011-04-13
- RR 2.12.0 released · 2010-10-15
- 1.0.3.22010-09-15 · diff ↗
- 1.0.3
- 1.0.2.12010-04-25 · diff ↗ ·
added 5 exports
CDD, StdDev, charts.Bar, charts.BarVaR, chart.RollingQuantileRegression - RR 2.11.0 released · 2010-04-22
- 1.0.22010-04-08 · diff ↗
- 1.0.02009-10-27 · diff ↗ ·
removed 1 export
pattern:^[^\\.]added 152 exports
ActivePremium, apply.fromstart, apply.rolling, BetaCoKurtosis, BetaCoSkewness, BetaCoVariance, CalculateReturns, CalmarRatio, CAPM.alpha, CAPM.beta, CAPM.beta.bear, CAPM.beta.bull, CAPM.CML, CAPM.CML.slope, CAPM.RiskPremium, CAPM.SML.slope, checkData, clean.boudt, CoKurtosis, CoSkewness, CoVariance, DownsideDeviation, Drawdowns, ES, findDrawdowns, InformationRatio, KellyRatio, kurtosis, maxDrawdown, mean.geometric and 122 more - RR 2.10.0 released · 2009-10-26
- RR 2.9.0 released · 2009-04-17
- RR 2.8.0 released · 2008-10-20
- 0.9.7.12008-10-12 · diff ↗
- 0.9.7
- RR 2.7.0 released · 2008-04-22
- 0.9.62007-12-30 · diff ↗
- RR 2.6.0 released · 2007-10-03
- 0.9.52007-07-10 · diff ↗
- RR 2.5.0 released · 2007-04-24
- 0.9.42007-04-16
- RR 2.4.0 released · 2006-10-03
Package metadata
- First published
- 2007-04-16
- Total releases
- 18 / 19 yrs
- License
- GPL-2 | GPL-3 OSI
- Copyright
- (c) 2004-2026
- Minimum R
- ≥ 4.0.0
- Bundled data
- 37 KB / 10 files
- Download size
- 5.0 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("PerformanceAnalytics")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.