# "Net Value" column of Tsay Table 1.1, p. 4
compoundInterest(0.1,
frequency=c(1, 2, 4, 12, 52, 365, Inf),
net.value=FALSE)
# Example 1.1, p. 6
compoundInterest(.0446, freq=Inf)
# Inverse of Example 1.1
simple2logReturns(.0456)
Run the code above in your browser using DataLab