mages / ChainLadder

Claims reserving models in R
https://mages.github.io/ChainLadder/
75 stars 62 forks source link

glmReserve: Missing row in summary #70

Open JackyP opened 4 years ago

JackyP commented 4 years ago

Hi,

There is an inconsistency where Mack summary has all origin periods, but glmReserve drops the first origin period.

library(ChainLadder)

dev_glm <- glmReserve(GenIns)
dev_mack <- MackChainLadder(GenIns)

dev_glm$summary
summary(dev_mack)$ByOrigin
marcopark90 commented 4 years ago

Hi,

I did not developed this function myself, however I think this is the case because the oldest AY in the triangle is assumed to be fully developed, hence IBNR is set to zero and the S.E. is set to zero as well.

JackyP commented 4 years ago

Yes, but wouldn't that be true for the Mack estimates as well? Ultimates for both methods are the same except for the missing first origin period.

marcopark90 commented 4 years ago

It is true for the Mack method as well. And yes, as long you choose an odp distribution, ultimates are the same. Regarding the fact of showing or not showing the first row, it is only a style choice, it doesn't add any additional information related to IBNR or CV.

JackyP commented 4 years ago

I see - thanks for the quick reply! For extra context, I was looking to compare projections between different methods, potentially select one of them if results were appropriate, then take the results further for additional data processing within an R based pipeline.

So I used the two different summary properties and functions above, which each seemed to produce the relevant summaries for the models. In doing so would I be misunderstanding the use of the methods or the goals of this package?

marcopark90 commented 4 years ago

The goal of the package is to provide reserving methodologies and analysis in the context of loss reserving. And that's exactly what you're doing, trying different methods and compare the results, so you're spot on. Beware that the results returned will not tell you which is the "best" method. That depends on your specific case and the prior knowledge about the specific environment you're dealing with.