Estimate age-to-age (ata) development factors from an object of class
"ATA" and return a unified "ATAFit" object that bundles:
Summary statistics and WLS estimates (
summary) fromsummary.ATA().Selected factors (
selected) ready for chain ladder projection, after optional maturity filtering and LOCF fill.Maturity diagnostics (
maturity) fromfind_ata_maturity().
Arguments
- x
An object of class
"ATA", typically produced bybuild_ata().- alpha
Numeric scalar controlling the variance structure. Default is
1.- na_method
Method used to fill
NAvalues inf_selected. One of"locf"(default) or"none". Passed to.filter_ata().- sigma_method
Method used to extrapolate
sigmafor links where it cannot be estimated. One of"min_last2"(default),"locf", or"loglinear". Passed to.extrapolate_sigma_ata().- recent
Optional positive integer. When supplied, only the most recent
recentperiods in theatatriangle are used for factor estimation. Applied before maturity filtering. Default isNULL(use all periods).- regime_break
Optional cohort cutoff for the regime break. Accepts:
NULL(default, no filter), a singleDate/character coercible to Date, a vector of dates (uses the latest), or aCohortRegimeobject (extracts the latest from$breakpoints). When supplied, cohorts withcohort < break_dateare excluded from estimation. Default isNULL.- maturity_args
A named list of arguments forwarded to
find_ata_maturity(), orNULL(default) to skip maturity filtering. When a list is supplied, missing elements are filled with package defaults viautils::modifyList():cv_thresholdDefault
0.10.rse_thresholdDefault
0.05.min_valid_ratioDefault
0.5.min_n_validDefault
3L.min_runDefault
1L.
Pass
list()to use all defaults with maturity filtering enabled.- ...
Additional arguments passed to
summary.ATA().
Value
An object of class "ATAFit" (a named list) containing:
callThe matched call.
ataThe input
"ATA"object.summary"ATASummary"object fromsummary.ATA().selecteddata.tableof factors ready for projection, includingf_selectedandsigma2.maturityMaturity diagnostics from
find_ata_maturity(), orNULLwhen maturity filtering was not applied.alphaValue of
alphaused.na_methodNA fill method used.
sigma_methodSigma extrapolation method used.
recentNumber of recent periods used, or
NULL.regime_breakResolved regime-break cutoff (
Date), orNULL.use_maturityLogical; whether maturity filtering was applied.
maturity_argsResolved maturity arguments, or
NULL.
