Skip to content
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

LDF labels and array misalignment #101

Closed
jbogaardt opened this issue Nov 5, 2020 · 0 comments
Closed

LDF labels and array misalignment #101

jbogaardt opened this issue Nov 5, 2020 · 0 comments
Labels

Comments

@jbogaardt
Copy link
Collaborator

Offending Code when we have no claims at early ages:

import chainladder as cl
prism = cl.load_sample('prism')['Paid'].sum().incr_to_cum()

# first two ages have no data
prism.values[:,:,:, :2] = 0
prism = prism.sum(0)

cl.Development().fit(prism).ldf_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant