Factors

In statistical terminology, a factor is a categorisation which contains two or more mutually exclusive values called levels.  These levels may have a natural order, in which case the variable is said to be an ordinal factor.  An example might be year of birth: 1931 must lie between 1930 and 1932.  Another example would be benefit size band: the 9th decile of sums assured must lie between the 8th and 10th deciles.

In contrast to ordinal factors, a categorical factor is a variable where the levels do not have an obvious order.  An example of a categorical factor would be gender: all you can say about females is that they are categorically different from males, but whether you list males before females or vice versa is unimportant.  Gender is an example of a binary factor, which are often quite powerful explanatory variables as they only require one parameter.  Other possible examples include smoker status (smoker v. non-smoker) and employment status (employed v. self-employed).

Ideally a risk factor would contain a small number of levels with very strong risk differentials between each level.  However, in practice we often have a large number of levels which we would like to simplify into a more manageable number of groups.  A common example presents itself with geodemographics: there may be fifty or sixty geodemographic types, but one typically only wants to work with four or five lifestyle groups.  There are  other examples as well: grouping perhaps fifty different years of birth into a small number of birth cohorts, or finding the best boundary definitions amongst a hundred percentiles of benefit size-band.

In each case the problem is the same: how to reduce the number of original groups while maximising the explanatory power of the resulting simple factor.  One way to do this is to fit the factor 'as is' and visually inspect which levels should be grouped together.  A more thorough approach is to look at every combination of groupings and pick the one with the lowest AIC.  This was discussed in a paper presented to the Institute of Actuaries in 2008.

The problem is that the number of combinations explodes such that it quickly becomes unfeasible to look at every one.  In the majority of cases one needs search algorithm to selectively crawl through the combination space.  This might mean that the final "optimised" factor is not an optimal definition in absolute terms.  After all, one cannot definitively claim something is optimal without exhaustively trying very combination to prove it.  However, the final result is typically hard to beat, and the risk of there being a slightly better combination is an acceptable price to pay for finding a good answer in a workable timeframe.

A further boost can be had from using parallel processing to test multiple combinations simultaneously.  This permits either a greater number of combinations to be examined in the same amount of time, or else to accelerate the same search procedure.

Factor optimisation in Longevitas

Longevitas users can reduce complex, many-levelled factors to simpler factors at the model-specification stage.  There is the choice of categorical factors, where the levels have no natural order, or else ordinal factors where the levels do have a natural sequence.  A further option is to specify the target number of levels in the simplified factor, or to keep certain source values together during the optimisation. 

Previous posts

Playing with scales

Mortality rates increase exponentially with age.  This can make comparisons difficult, as shown in Figure 1 below, which shows the period mortality rates for males in England and Wales at ten-year intervals. 
Tags: Filter information matrix by tag: mortality, Filter information matrix by tag: scale

How wrong could it be?

We have written previously about the importance of the independence assumption when modelling mortality for annuities and pensions. In a recent presentation to the Royal Statistical Society I showed the audience how life insurers deduplicate their annuity data and how they use postcodes to identify socio-economic status.
Tags: Filter information matrix by tag: deduplication, Filter information matrix by tag: mortality, Filter information matrix by tag: annuities, Filter information matrix by tag: geodemographics, Filter information matrix by tag: Mosaic

Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.