Updates citation
Fixes a bug in the default sampling function of claim_payment_no()
Fixes the treatment of params_split
to allow for trivial params
claim_output()
to allow an option to adjust
the treatment of out-of-bound transactions in tabulation. The previous version (1.0.0
) automatically forced all out-of-bound transactions to be paid at the exact end of the maximum development period allowed. This is now set as the default behaviour, but the user can also set adjust = FALSE
to see the proportion of payments projected to fall beyond the maximum development period (the “tail”).claim_output()
to force adjust
for higher aggregate_level
. The issue with previous function was that it ignored payments beyond the max development period after aggregation. This is now fixed - either merged to the end DQ, or in a separate tail
cell (if adjust = FALSE
).Both claim_frequency()
and claim_size()
now allow users to input a random generation function (by specifying a simfun
and setting type = "r"
), in addition to cdf inputs (type = "p"
) allowed by the predecessor version.
r
-function and if it finds one, apply the r
-function directly instead of inverse sampling from the cdf.Relaxes assumptions for claim_notification()
and claim_closure()
.
SynthETIC 0.1.0
assumes Weibull and only allows changes to mean and cv.rfun
and paramfun
.Sets the benchmark
s in claim_payment_no()
function optional (and will only be read if the default simulation function is used).
claim_payment_no()
is now also implemented through rfun
and paramfun
, instead of the original simulate_no_pmt_function
(which works in the same way as rfun
but without the functionality to change parameters).
claim_payment_size()
is also implemented through rfun
and paramfun
, replacing the original simulate_amt_pmt_function
.
New to_SynthETIC()
function helps the conversion from externally simulated objects to SynthETIC
format for easy integration with other simulation functions/modules.
Fixed a few typos in function documentation.
claim_output()
function is updated to correctly calculate triangles on a higher aggregate level (from square to parallelogram-shaped).
The package vignette has been updated to reflect all the changes listed above and show more examples where the quantities are simulated from distributions other than the default.
The GitHub repo address is added to the DESCRIPTION
file.
The following don’t affect the users of the package:
test_data.R
file under data-raw
has been updated to reflect the changes listed under the heading “new features”.DESCRIPTION
file has been updated to include the new reference made in the vignette (e.g. actuar
).