-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to manually change "Adj S^2" value in MackChainLadder? #18
Comments
Sorry, I am lost here. Reproducible in R code please, not Excel screenshots.
|
My issue has less to do with R code than it does with asking for the R code to change a specific entry in Mack Chain Ladder. For example, if I were to import the triangle from the screen shot above and ran something like R> mack<-MackChainLadder(sample_tri, est.sigma = "Mack") I would receive NaN errors for the Standard Error and CV(IBNR) columns due to the nature of our triangle (there is no development for each AY in the last 4 periods). In excel format, I'd normally just hardcode the "Adjusted S^2" value to 0 when an error occurs due to having 0s from the prior 2 Adjusted S^2 values. I'd like to be able to do the same in R. I understand one workaround would be to simply cut off the triangle at AY 3 but I'd like to incorporate some of the variability from AYs 1-3 in the earlier development periods. Thank you |
Dear Lost, |
Hello,
When using the Mack Method in excel, we get #div/0! errors if the tail portion of our triangle sees no development for several periods on all relevant AYs. As can be seen from the picture below, I could hard-code to a 0 in the highlighted cell as a workaround.
However, after playing around with the tail.se and tail.sigma functions in ChainLadder, I've not been able to figure out how I would hard-code something in a similar fashion.
Is there such a work around for triangles with this type of development when running a MackChainLadder process?
Thanks again in advance.
The text was updated successfully, but these errors were encountered: