get_PVFB: PVFB of term costs

Description Usage Arguments Details Value Examples

Description

get_PVFB present value of annuity-immediate

Usage

1
get_PVFB(px, v, TC)

Arguments

px

numeric vector of length n. Probability of survival at time 1 through n

v

numeric. discount factor 1/(1 + i)

TC

numeric vector of length n. A series of term costs. Term costs are valued at the begninning of period.

Details

Returns a POSITIVE present value for positive payment

Value

vector length n, with PVFBs of fixed end contracting windows of TC

Examples

1
get_PVFB(.9^(1:20), 1/(1.08), 10*(1.03)^(1:20))

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