| FitDist-class | R Documentation |
An S4 class to represent distribution fitting.
observationRaw data input containing loss sizes for severity analysis and number of losses for frequency analysis.
fitdataProcessed data for distribution fitting. Frequency data may be provided as occurrence dates. The class will transform them into frequency data before distribution fitting.
trendIndex object for detrending the data.
startDateStart date of claim data used for distribution fitting. The trend Index should also start from the same date (year-month).
endDateEnd date of claim data used for distribution fitting.
trailTrial Distribution object to start fitting.
fittedFitted Distribution object.
reportLagReport lag distribution to adjust frequency data.
iLagWhether to adjust the frequency data with report lag distribution.
methodDistribution fitting method. Maximum likelihood estimation (mle), moment matching estimation(mme) and quantile matching estimation(qme) are available.
probsA vector containing the percentiles to be matched if qme is used for fitting.
ifreqA boolean indicating whether it is frequency data or severity data.
idateA boolean indicating whether frequency data is provided as occurrence dates (TRUE) or number of occurrences (FALSE).
datelistA vector containing occurrence dates. It could be a data field in a claim file.
freqA character string indicating the frequency: "Annual" or "Monthly".
iDLA boolean indicating whether deductible and limit is considered in distribution fitting.
limitA vector containing the limit for each claim.
deductibleA vector containing the deductible for each claim.
p0A number that is the probability of having a zero-amount claim after deductible.
dofDegree of freedom.
psdA vector containing the standard deviation of parameter estimation. It is only available for mle.
aicAkaike information criterion.
bicBayesian information criterion.
chisqChi-Squared Test Statistic.
pchisqp-value of Chi-Squared Test.
kstestK-S Test Statistic. Only used for continuous distribution.
pkstestp-value of K-S Test. Only used for continuous distribution.
soutputDistribution fitting summary.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.