## run-off (upper-left) triangle with NA values (bottom-right part)
data(MW2014, package = "ChainLadder")
print(MW2014)
parallelReserve(MW2014, residuals = TRUE)
## completed run-off triangle with 'unknown' truth (lower-bottom part)
## for the estimation purposes only the upper-left triangle is used
data(CameronMutual)
parallelReserve(CameronMutual, residuals = TRUE)
## the previous output is identical (in term of the reserve prediction)
## but back-fitted residuals are provided in the output instead
print(observed(CameronMutual))
parallelReserve(observed(CameronMutual), residuals = TRUE)
Run the code above in your browser using DataLab