r_to_gm.n: Get expected geometric mean at year n, for a given...

Description Usage Arguments Value Examples

Description

Get expected geometric mean at year n, for a given arithmentic mean r

Usage

1
r_to_gm.n(r, sd, n)

Arguments

r

Numeric vector of arithmetic returns

sd

standard deviation

n

year

Value

Expected geometric mean at year n, given r and sd.

Examples

1
2
3
4
5
6
7
8
r_to_gm.n(.08, .12, 1)
r_to_gm.n(.08, .12, 10)
r_to_gm.n(.08, .12, 100)
r_to_gm.n(.08, .12, 1000000)
# compare to the exact calculation -- hmmm...
r_to_gm(.08, .12)
# compare to the approximation
.08 - .12^2 / 2

donboyd5/ptools documentation built on May 15, 2019, 10:39 a.m.