Closed GoogleCodeExporter closed 9 years ago
You have to create an artifical triangle with the same number of rows and
columns. In your case you have to add additional rows with NA. The help file to
the qpaid in the ChainLadder package gives you an example how to achieve this:
library(ChainLadder)
dim(qpaid)
n <- ncol(qpaid)
Paid <- matrix(NA, n, n)
Paid[seq(1,n,4),] <- qpaid
M <- MackChainLadder(Paid)
plot(M)
Original comment by markus.g...@googlemail.com
on 24 Jul 2014 at 6:37
Thank you Markus, I've now got it to work with the code you posted.
Original comment by miriam.m...@gmail.com
on 28 Jul 2014 at 1:34
Original comment by markus.g...@googlemail.com
on 28 Jul 2014 at 1:39
Original issue reported on code.google.com by
miriam.m...@gmail.com
on 23 Jul 2014 at 4:06