SharpeRatio.annualized {PerformanceAnalytics} | R Documentation

## calculate annualized Sharpe Ratio

### Description

The Sharpe Ratio is a risk-adjusted measure of return that uses standard deviation to represent risk.

### Usage

    SharpeRatio.annualized(Ra, rf = 0, scale = 12)

### Arguments

`Ra` | a vector, matrix, data frame, timeSeries or zoo object of asset returns
`rf` | risk free rate, in same period as your returns
`scale` | number of periods in a year (daily scale = 252, monthly scale = 12, quarterly scale = 4)

### Details

The Sharpe ratio is simply the return per unit of risk (represented by variance). The higher the Sharpe ratio, the better the combined performance of "risk" and return.

This function annualizes the number based on the scale parameter.

frac{sqrt[n]{prod(1+R_{a})^{scale}}-1}{sqrt{scale}cdotsqrt{σ}}

Using an annualized Sharpe Ratio is useful for comparison of multiple return streams. The annualized Sharpe ratio is computed by dividing the annualized mean monthly excess return by the annualized monthly standard deviation of excess return.

William Sharpe now recommends Information Ratio preferentially to the original Sharpe Ratio.

### Value

annualized Sharpe Ratio

### Note

### Author(s)

Peter Carl

### References

Sharpe, W.F. The Sharpe Ratio,Journal of Portfolio Management,Fall 1994, 49-58.

### See Also

`SharpeRatio`
`InformationRatio`
`TrackingError`
`ActivePremium`
`SortinoRatio`

### Examples

    data(edhec)
    head(edhec[, 6, drop = FALSE])
    edhec.length = dim(edhec)[1]
    start = rownames(edhec[1,])
    start
    end = rownames(edhec[edhec.length,])
    rf = download.RiskFree(start=start, end=end)

    SharpeRatio.annualized(edhec[, 6, drop = FALSE])
    SharpeRatio.annualized(edhec[, 6, drop = FALSE], rf = .04/12)
    SharpeRatio.annualized(edhec[, 6, drop = FALSE], rf = rf)

[Package PerformanceAnalytics version 0.9.5 Index]