Description Usage Arguments Value Examples
View source: R/summary_stats.R
This function estimates the annualized standard deviation of a time series of returns. It needs daily data as an input, as it scales the daily standard deviation by the use of the square root of time rule to an annual proxy.
1 | yearlystd(backtest)
|
backtest |
A |
A numeric
output giving the yearly standard deviation
as decimalnumber
1 2 | yearlystd(backtest = as.matrix(EuStockMarkets[, 1]))
yearlystd(backtest = as.data.frame(EuStockMarkets[, 2]))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.