Trend and TrendConstant #512
kennethshsu
started this conversation in
Ideas
Replies: 1 comment
-
I like your thought process on this one. |
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.
-
I wanted to start a new thread and propose that we refactor how we use trends in the package.
I believe we should have two separate functions:
First,
chainladder.Trend()
:Basically, we want to minimize an error function and return the factor
.i_
. But what error function to use? MSE?Second,
chainladder.TrendConstant()
:This function should take in a few parameters:
[start date, end date]
factors
how
? to match thechainladder.Trend()
, so linearly, and multiplicatively (default)?trend_to
: date to trend toAnd returns:
trend_factors
, the array of factors that will be applied to theorigin
sThoughts?
Beta Was this translation helpful? Give feedback.
All reactions