Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

yield.time

Time Weighted Yield


Description

Calculates the time weighted yield.

Usage

yield.time(cf,bal)

Arguments

cf

vector of cash flows

bal

vector of balances

Details

i^{tw}=∏_{k=1}^n (\frac{bal_{1+k}}{bal_k+cf_k})-1

Value

The time weighted yield.

Note

Length of cash flows must be one less than the length of balances.

If lengths are equal, it will not use final cash flow.

Author(s)

Kameron Penn and Jack Schmidt

See Also

Examples

yield.time(cf=c(0,200,100,50),bal=c(1000,800,1150,1550,1700))

FinancialMath

Financial Mathematics for Actuaries

v0.1.1
GPL-2
Authors
Kameron Penn [aut, cre], Jack Schmidt [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.