Learn R Programming

YRmisc (version 0.1.6)

pt.annsd: Annualized standard deviation

Description

The annualized standard deviation is the standard deviation multiplied by the square root of the number of periods in one year.

Usage

pt.annsd(r,n)

Arguments

r

:a vector of a risk asset return

n

:number of periods in a year

Examples

Run this code
# NOT RUN {
rtn <- runif(30, -1, 1)
n <- 30
pt.annsd(rtn,n)
# }

Run the code above in your browser using DataLab