Recent Releases of insurancerating
insurancerating - insurancerating 0.7.5
rating_factors()now always returns correct output when column with exposure in data is not namedexposureintercept_onlyinupdate_glm()is added to apply the manual changes and refit the intercept, ensuring that the changes have no impact on the other variables.smoothinginsmooth_coef()is added to choose smoothing specification- The README has been revised
- R
Published by MHaringa over 1 year ago
insurancerating - insurancerating 0.7.4
bootstrap_rmse()now usesafter_stat(density)instead of the deprecated dot-dot notationcustom_themeinautoplot.univariate()is added to customize the theme
- R
Published by MHaringa almost 2 years ago
insurancerating - v0.7.3
autoplot.univariate()now generates a plot even when there are missing values in the rowsrating_factors()now always returns the correct coefficients when used on a 'refitsmooth' or 'refitrestricted' class of GLM
- R
Published by MHaringa almost 2 years ago
insurancerating - v0.7.2
update_glm()now always returns the correct interval in case the function is used in combination withsmooth_coef()
- R
Published by MHaringa about 3 years ago
insurancerating - v0.7.1
rotate_angleinautoplot.univariate()is added to rotate x-labelsunivariate()now accepts external vectors forx;vec_ext()must be used
- R
Published by MHaringa over 3 years ago
insurancerating - v0.7.0
smooth_coef()now gives correct results for intervals with scientific notationreduce()now returns no errors anymore for columns with dates in POSIXt format
- R
Published by MHaringa over 3 years ago
insurancerating - v0.6.9
refit_glm()is renamed toupdate_glm()construct_model_points()andmodel_data()are added to create model points
- R
Published by MHaringa about 4 years ago
insurancerating - v0.6.8
show_totalinautoplot.univariate()is added to add line for total of groups in casebyis used inunivariate();total_colorcan be used to change the color of the line, andtotal_nameis added to change the name of the legend for the linerating_factors()now accepts GLMs with an intercept onlyfit_truncated_dist()is added to fit the original distribution (gamma, lognormal) from truncated severity datajoin_to_nearest()now returns NA in case NA is used as input
- R
Published by MHaringa over 4 years ago
insurancerating - v0.6.7
smooth_coef()now returns an error message when intervals are not obtained by cut()get_data()is added to return the data used inrefit_glm()
- R
Published by MHaringa over 4 years ago
insurancerating - v0.6.6
summary.reduce()now gives correct aggregation for periods "months" and "quarters"rows_per_date()is added to determine active portfolio for a certain date
- R
Published by MHaringa over 4 years ago
insurancerating - v0.6.5
smooth_coef()andrestrict_coef()are added for model refinementhistbin()now uses darkblue as default fill color
- R
Published by MHaringa almost 5 years ago
insurancerating - v0.6.4
- In
summary.reduce(),namecan be used to change the name of the new column in the output. - Dataset
MTPLnow contains extra columns forpower,bm, andzip. - Some functions in
insightare renamed, thereforeinsight::format_table()is replaced withinsight::export_table().
- R
Published by MHaringa about 5 years ago
insurancerating - v0.6.3
fit_gam()for pure premium is now using average premium for each x calculated as sum(purepremium * exposure) / sum(exposure) instead of sum(purepremium) / sum(exposure) (#2).histbin()is added to create histograms with outliersreducenow returns a data.frame as output
- R
Published by MHaringa over 5 years ago
insurancerating - v0.6.2
check_normality()is now depreciated; usecheck_residuals()instead to detect overall deviations from the expected distributionrating_factors()now shows significance stars for p-valuesperiod_to_months()arithmetic operations with dates are rewritten; much fasterunivariate()now has argumentbyto determine summary statistics for different subgroups
- R
Published by MHaringa over 5 years ago
insurancerating - v0.6.1
univariate_all()andautoplot.univ_all()are now depreciated; useunivariate()andautoplot.univariate()insteadcheck_overdispersion(),check_normality(),model_performance(),bootstrap_rmse(), andadd_prediction()are added to test model quality and return performance metricsreduce()is added to reduce an insurance portfolio by merging redundant date ranges
- R
Published by MHaringa almost 6 years ago
insurancerating - v0.6.0
label_widthinautoplot()is added to wrap long labels in multiple linessort_manualinautoplot()is added to sort risk factors into an own orderingautoplot()now works without manually loading packageggplot2andpatchworkfirstrating_factors()now returns an object of classriskfactorautoplot.riskfactor()is added to create the corresponding plots to the output given byrating_factors()
- R
Published by MHaringa almost 6 years ago
insurancerating - v0.5.2
autoplot.univ_all()now gives correct labels on the x-axis whenncol> 1.
- R
Published by MHaringa almost 6 years ago
insurancerating - v0.5.1
- A package website is added using pkgdown.
construct_tariff_classes()andfit_gam()now only returns tariff classes and fitted gam respectively; other items are stored as attributes.univariate_frequency(),univariate_average_severity(),univariate_risk_premium(),univariate_loss_ratio(),univariate_average_premium(),univariate_exposure(), andunivariate_all()are added to perform an univariate analysis on an insurance portfolio.autoplot()creates the corresponding plots to the summary statistics calculated byunivariate_*.
- R
Published by MHaringa almost 6 years ago
insurancerating - v0.5.0
- Function constructtariffclasses is now split in functions fitgam and constructtariff_classes.
- A vignette is added on how to use the package
- R
Published by MHaringa almost 6 years ago
insurancerating - v0.4.3
Function added to split rows with a time period longer than one month to multiple rows with a time period of exactly one month each.
- R
Published by MHaringa about 6 years ago
insurancerating - v0.4.2
It is now possible to also construct tariff classes for claim severity models. This can be done by choosing 'severity' as model specification in the constructtariffclasses function.
- R
Published by MHaringa over 6 years ago