Skip to content

Releases: MHaringa/insurancerating

insurancerating 0.7.5

18 Oct 07:02
Compare
Choose a tag to compare
  • rating_factors() now always returns correct output when column with exposure in data is not named exposure
  • intercept_only in update_glm() is added to apply the manual changes and refit the intercept, ensuring that the changes have no impact on the other variables.
  • smoothing in smooth_coef() is added to choose smoothing specification
  • The README has been revised

insurancerating 0.7.4

20 May 14:05
Compare
Choose a tag to compare
  • bootstrap_rmse() now uses after_stat(density) instead of the deprecated dot-dot notation
  • custom_theme in autoplot.univariate() is added to customize the theme

v0.7.3

09 May 16:55
Compare
Choose a tag to compare
  • autoplot.univariate() now generates a plot even when there are missing values in the rows
  • rating_factors() now always returns the correct coefficients when used on a 'refitsmooth' or 'refitrestricted' class of GLM

v0.7.2

23 Dec 09:49
Compare
Choose a tag to compare
  • update_glm() now always returns the correct interval in case the function is used in combination with smooth_coef()

v0.7.1

06 Sep 20:18
Compare
Choose a tag to compare
  • rotate_angle in autoplot.univariate() is added to rotate x-labels
  • univariate() now accepts external vectors for x; vec_ext() must be used

v0.7.0

29 Aug 10:03
Compare
Choose a tag to compare
  • smooth_coef() now gives correct results for intervals with scientific notation
  • reduce() now returns no errors anymore for columns with dates in POSIXt format

v0.6.9

13 Dec 14:11
Compare
Choose a tag to compare
  • refit_glm() is renamed to update_glm()
  • construct_model_points() and model_data() are added to create model points

v0.6.8

10 Nov 16:09
Compare
Choose a tag to compare
  • show_total in autoplot.univariate() is added to add line for total of groups in case by is used in univariate(); total_color can be used to change the color of the line, and total_name is added to change the name of the legend for the line
  • rating_factors() now accepts GLMs with an intercept only
  • fit_truncated_dist() is added to fit the original distribution (gamma, lognormal) from truncated severity data
  • join_to_nearest() now returns NA in case NA is used as input

v0.6.7

28 Jul 13:38
Compare
Choose a tag to compare
  • smooth_coef() now returns an error message when intervals are not obtained by cut()
  • get_data() is added to return the data used in refit_glm()

v0.6.6

28 Jul 11:58
Compare
Choose a tag to compare
  • summary.reduce() now gives correct aggregation for periods "months" and "quarters"
  • rows_per_date() is added to determine active portfolio for a certain date