Accessing the elements of the full triangle #535
AmyRandelhoff
started this conversation in
General
Replies: 1 comment
-
Could you do |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How can we extract the predicted values from the full triangle once the basic chain ladder model has been fit?
So, once we have performed this step:
model = cl.Chainladder().fit(data)
model.full_triangle_ - this gives the full triangle, but I want to access the predicted values (store them in an array or dataframe to perform analysis on them)
model.ultimate_ - gives only the predicted ultimate values and not the other predicted values for development periods between the valuation date and the ultimate date
I tried using the to.frame() method but that does not seem to work for "<class 'chainladder.methods.chainladder.Chainladder'>"
print(model.to_frame())
AttributeError: 'Chainladder' object has no attribute 'to_frame'
Thanks for any help!
Beta Was this translation helpful? Give feedback.
All reactions