Econometric Tools for Performance and Risk Analysis
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
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
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
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
Convert coredata content from one type of return to another
calculate a compounded (geometric) cumulative return
Controls Function for the Computation of Standard Errors for Risk and ...
Selectivity of the return distribution
Annualized Returns Summary: Statistics and Stylized Facts
wrapper function for combining arbitrary function list into a table
calculate correlalations of multicolumn data
Distributions Summary: Statistics and Stylized Facts
Information ratio Summary: Statistics and Stylized Facts
Returns Summary: Statistics and Stylized Facts
Outperformance Report of Asset vs Benchmark
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...
order list of drawdowns from worst to best
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
rolling performance chart
Active Premium or Active Return
Adjusted Sharpe ratio of the return distribution
calculate a Calmar or Sterling reward/risk ratioCalmar and Sterling Ra...
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
Conditional Drawdown alpha
Conditional Drawdown beta
Calculate Uryasev's proposed Conditional Drawdown at Risk (CDD or CDaR...
calculate centered moment/co-moment return matrices
Create ACF chart or ACF with PACF two-panel chart
wrapper for barchart of 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
Compare SFM estimated using robust estimators with that estimated by O...
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
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
Wrapper for SFM's regression models.
downside risk (deviation, variance) of the return distribution
downside frequency of the return distribution
Downside Sharpe Ratio
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...
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
Functions for calculating the nearest comoment estimator for financial...
Skewness-Kurtosis ratio of the return distribution
Pain index of the return distribution
Pain ratio of the return distribution
Econometric tools for performance and risk analysis.
Portfolio moments
Probabilistic Sharpe Ratio
Prospect ratio of the return distribution
Rachev Ratio
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...
calculate Normalized Getmansky Smoothing Index
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
Calculate single factor model (CAPM) alpha
Calculate single factor model (CAPM) beta
Calculate single factor model alpha and beta coefficients
Compare SFM estimated using robust estimators with that estimated by O...
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
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
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
Downside Risk Summary: Statistics and Stylized Facts
Downside Summary: Statistics and ratios
Worst Drawdowns Summary: Statistics and Stylized Facts
Drawdowns Summary: Statistics and ratios
Higher Moments Summary: Statistics and Stylized Facts
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
calculate the Ulcer Index
Helper function for comoment matrices
calculate metrics on up and down markets for the benchmark asset
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
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.