Econometric Tools for Performance and Risk Analysis
Downside Summary: Statistics and ratios
Downside Risk Summary: Statistics and Stylized Facts
upside frequency of the return distribution
calculate Upside Potential Ratio of upside performance over downside r...
upside risk, variance and potential of the return distribution
calculate various Value at Risk (VaR) measures
Active Premium or Active Return
Adjusted Sharpe ratio of the return distribution
calculate a function over an expanding window always starting from the...
calculate a function over a rolling window
Appraisal ratio of the return distribution
Calculates the average depth of the observed drawdowns.
Calculates the average length (in periods) of the observed drawdowns.
Calculates the average length (in periods) of the observed recovery pe...
Bernardo and Ledoit ratio of the return distribution
Functions to calculate systematic or beta co-moments of return series
Burke ratio of the return distribution
calculate a Calmar or Sterling reward/risk ratioCalmar and Sterling Ra...
calculate single factor model (CAPM) alpha
calculate single factor model (CAPM) beta
Time-varying conditional single factor model beta
Regression epsilon of the return distribution
Jensen's alpha of the return distribution
utility functions for single factor (CAPM) CML, SML, and RiskPremium
Calculate Uryasev's proposed Conditional Drawdown at Risk (CDD or CDaR...
calculate centered Returns
Create ACF chart or ACF with PACF two-panel chart
wrapper for barchart of returns
Periodic returns in a bar chart with risk metric overlay
box whiskers plot wrapper
Chart of Capture Ratios against a benchmark
correlation matrix chart
Cumulates and graphs a set of periodic returns
Time series chart of drawdowns through time
Create an ECDF overlaid with a Normal CDF
Plots a time series with event dates aligned
histogram of returns
Plot a QQ chart
Takes a set of returns and relates them to a market benchmark in a sca...
relative performance chart between multiple return series
scatter chart of returns vs risk for comparing multiple instruments
chart rolling correlation fo multiple assets
chart the rolling mean return
wrapper to create a chart of rolling performance metrics in a line cha...
A wrapper to create charts of relative regression performance through ...
wrapper to draw scatter plot with sensible defaults
chart risk versus return over rolling time periods
create a stacked bar plot
Creates a time series chart with some extensions.
show the sensitivity of Value-at-Risk or Expected Shortfall estimates
Create combined wealth index, period performance, and drawdown chart
rolling performance chart
check input data type and format and coerce to the desired output type
Check 'seedValue' to ensure it is compatible with coredata_content att...
clean extreme observations in a time series to to provide more robust ...
Functions for calculating comoments of financial time series
downside risk (deviation, variance) of the return distribution
downside frequency of the return distribution
d ratio of the return distribution
Calculates a standard deviation-type statistic using individual drawdo...
Drawdawn peak of the return distribution
calculates Expected Shortfall(ES) (or Conditional Value-at-Risk(CVaR) ...
Functions for calculating EWMA comoments of financial time series
Fama beta of the return distribution
Find the drawdowns and drawdown levels in a timeseries.
Frequency of the return distribution
calculate the Hurst Index The Hurst index can be used to measure wheth...
InformationRatio = ActivePremium/TrackingError
Kappa of the return distribution
calculate Kelly criterion ratio (leverage or bet size) for a strategy
Kurtosis
internal functions for setting useful defaults for graphs
Calculate appropriate cumulative return series or asset level using xt...
calculate a lower partial moment for a time series
M squared for Sortino of the return distribution
Market timing models
Martin ratio of the return distribution
caclulate the maximum drawdown from peak equity
Functions for doing Moment Component Analysis (MCA) of financial time ...
calculate attributes relative to the mean of the observation series gi...
Mean absolute deviation of the return distribution
Minimum Track Record Length
Modigliani-Modigliani measure
M squared of the return distribution
M squared excess of the return distribution
Net selectivity of the return distribution
calculate Omega for a return series
Omega excess return of the return distribution
Omega-Sharpe ratio of the return distribution
Pain index of the return distribution
Pain ratio of the return distribution
Econometric tools for performance and risk analysis.
Probabilistic Sharpe Ratio
Prospect ratio of the return distribution
Standard Error Estimate for Rachev Ratio of Returns
calculates an annualized excess return for comparing instruments with ...
calculate an annualized return for comparing instruments with differen...
calculate simple or compound returns from prices
clean returns in a time series to to provide more robust risk estimate...
Convert coredata content from one type of return to another
calculate a compounded (geometric) cumulative return
Calculates the returns of an asset in excess of the given risk free ra...
calculate Geltner liquidity-adjusted return series
Robust Filter for Time Series Returns
Calculate weighted returns for a portfolio of assets
Read returns data with different date formats
calculate the relative return of one asset to another
Controls Function for the Computation of Standard Errors for Risk and ...
Selectivity of the return distribution
calculate annualized Sharpe Ratio
calculate a traditional or modified Sharpe Ratio of Return over StdDev...
Functions for calculating shrinkage-based comoments of financial time ...
Skewness
Skewness-Kurtosis ratio of the return distribution
calculate Normalized Getmansky Smoothing Index
order list of drawdowns from worst to best
calculate Sortino Ratio of performance over downside risk
Specific risk of the return distribution
calculate a multiperiod or annualized Standard Deviation
calculates Standard Deviation for univariate and multivariate series, ...
Functions for calculating structured comoments of financial time serie...
Systematic risk of the return distribution
Annualized Returns Summary: Statistics and Stylized Facts
wrapper function for combining arbitrary function list into a table
table for calculating the first six autocorrelation coefficients and s...
Monthly and Calendar year Return table
Single Factor Asset-Pricing Model Summary: Statistics and Stylized Fac...
Calculate and display a table of capture ratio and related statistics
calculate correlalations of multicolumn data
Distributions Summary: Statistics and Stylized Facts
Worst Drawdowns Summary: Statistics and Stylized Facts
Drawdowns Summary: Statistics and ratios
Higher Moments Summary: Statistics and Stylized Facts
Information ratio Summary: Statistics and Stylized Facts
Returns Summary: Statistics and Stylized Facts
Outperformance Report of Asset vs Benchmark
Rolling Periods Summary: Statistics and Stylized Facts
Specific risk Summary: Statistics and Stylized Facts
Variability Summary: Statistics and Stylized Facts
Display text information in a graphics plot.
Aggregate contributions through time
Total risk of the return distribution
Calculate Tracking Error of returns against a benchmark
calculate Treynor Ratio or modified Treynor Ratio of excess return ove...
calculate the Ulcer Index
calculate metrics on up and down markets for the benchmark asset
Volatility and variability of the return distribution
zerofill
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.