Releases: MHaringa/insurancerating
Releases · MHaringa/insurancerating
v0.6.4
- In
summary.reduce()
,name
can be used to change the name of the new column in the output. - Dataset
MTPL
now contains extra columns forpower
,bm
, andzip
. - Some functions in
insight
are renamed, thereforeinsight::format_table()
is replaced withinsight::export_table()
.
v0.6.3
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 argumentby
to determine summary statistics for different subgroups
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
v0.6.0
label_width
inautoplot()
is added to wrap long labels in multiple linessort_manual
inautoplot()
is added to sort risk factors into an own orderingautoplot()
now works without manually loading packageggplot2
andpatchwork
firstrating_factors()
now returns an object of classriskfactor
autoplot.riskfactor()
is added to create the corresponding plots to the output given byrating_factors()
v0.5.2
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_*
.