plot_FV_post_norm_kmom {AnnuityRIR}R Documentation

Plot the final expected value of an n-payment annuity, with payments of 1 unit each made at the end of every year (annuity-immediate), valued at the rate X, using the estimated moments of the normal distribution.

Description

Plot the final expected value of an n-payment annuity, with payments of 1 unit each made at the end of every year (annuity-immediate), valued at the rate X, using the estimated moments of the normal distribution.

Usage

plot_FV_post_norm_kmom(data,years,lwd,lty)

Arguments

data

A vector of interest rates.

years

The number of years of the income. Default is 10 years.

lwd

The width of the curve. Default is 1.5.

lty

The style of the curve. Default is 1.

Author(s)

Salvador Cruz Rambaud, Fabrizio Maturo, Ana María Sánchez Pérez

Examples


# example 1
data<-rnorm(n=30,m=0.03,sd=0.01)
plot_FV_post_norm_kmom(data,8)

# example 2
data<-rnorm(n=200,m=0.075,sd=0.2)
plot_FV_post_norm_kmom(data,8)

[Package AnnuityRIR version 1.0-0 Index]