PureIBNRLNorm {NetSimR} | R Documentation |
Pure IBNR exposure from a LogNormal reporting delay distribution
Description
Pure IBNR exposure from a LogNormal reporting delay distribution
Usage
PureIBNRLNorm(IncDate, ExpDate, ValDate, mu, sigma)
Arguments
IncDate |
A date - the inception date of the period. |
ExpDate |
A date - the expiry date of the period. Must be greater than inception date. |
ValDate |
A date - the valuation date. |
mu |
A real number - the first parameter of the reporing delay's LogNormal distribution. |
sigma |
A positive real number - the second parameter of the reporing delay's LogNormal distribution. |
Value
Unearned and Pure IBNR exposure in days and as a percentage of the period's duration, where the reporting delay has a LogNormal distribution with parameters mu
and sigma
.
Examples
Dates = data.frame(
inceptionDate = c("01/01/2006", "01/07/2006", "01/01/2007")
,expiryDate = c("31/12/2006", "30/06/2007", "31/12/2007")
)
Dates$inceptionDate<-as.POSIXct(Dates$inceptionDate, format="%d/%m/%Y")
Dates$expiryDate<-as.POSIXct(Dates$expiryDate, format="%d/%m/%Y")
ValuationDate<-as.POSIXct("30/10/2007", format="%d/%m/%Y")
PureIBNRLNorm(Dates$inceptionDate,Dates$expiryDate,ValuationDate,4,1.5)
[Package NetSimR version 0.1.5 Index]