Description Usage Arguments Author(s) Source Examples
View source: R/FV_pre_beta_kmom.R
Compute the final expected value of an n-payment annuity, with payments of 1 unit each made at the beginning of every year (annuity-due), valued at the rate X, using the estimated moments of the beta distribution.
1 | FV_pre_beta_kmom(data,years)
|
data |
A vector of interest rates. |
years |
The number of years of the income. Default is 10 years. |
Salvador Cruz Rambaud, Fabrizio Maturo, Ana MarÃa Sánchez Pérez
Cruz Rambaud, S.; Maturo, F. and Sánchez Pérez A. M. (2015): “Approach of the value of an annuity when non-central moments of the capitalization factor are known: an R application with interest rates following normal and beta distributionsâ€<9d>. Ratio Mathematica, 28(1), pp. 15-30. doi: 10.23755/rm.v28i1.25.
1 2 3 4 5 6 7 8 | # example 1
data=c(0.00,-0.05,-0.05,-0.06,-0.06,0.02,-0.06,-0.05,-0.04,-0.05,
-0.03,-0.06,0.04,-0.05,-0.08,-0.05,-0.12, -0.03,-0.05,-0.04,-0.06)
FV_pre_beta_kmom(data,8)
# example 2
data<-rnorm(n=200,m=0.075,sd=0.2)
FV_pre_beta_kmom(data,8)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.