calcRandReturns: Random return(s) from a lognormally distribution in decimal...

Description Usage Arguments Value Examples

Description

Returns n lognormally distributed random variables with a mean of r and a standard deviation of sd. Periods over 1 year are annualized. Specify inputs in decimal formats (e.g. 8

Usage

1
calcRandReturns(n, r, sd, t, seed = NA)

Arguments

n

Number of returns to generate

r

Mean return

sd

Standard deviation of returns

t

Time in years

seed

Random seed

Value

Random returns in decimal format

Examples

1
calcRandReturns(10,.08,.12,1)

rexmacey/aasim documentation built on May 29, 2019, 5:42 a.m.