Skip to content

R-SIG-insurance Digest, Vol 22, Issue 3

1 message · Daniel Murphy

#
Ed:

I agree that it would be nice to have a packaged set of functions for
dealing with GI data in R because that would help the adoption of R by
actuaries and other analysts in the insurance space.

IMO, the issues of "importing" data are different from the issues of
aggregating (quarterly to annual), differencing/accumulating
(cum2incr/incr2cum, already in ChainLadder), etc. But, again, it
"would be nice" if that functionality were concentrated in one place.

For importing data from databases and excel I have used RODBC,
XLConnect, gdata, xlsx, and others. All have their pros and cons.Do
you also want to "export" data to excel?

Other manipulations are straightforward (maybe not for beginners) when
summarized data is in matrix format. Things become more complicated
when dealing with detailed data, partial periods, fiscal years,
missing data, staggered development ages, etc. Effectively dealing
with those complications is, of course, the reason for having that
code available!

I also have the same questions as Christophe. Are you only interested
in triangle data for reserving? Do you also want to simplify the
creation of data.frames for pricing? Do you want to simplify the
creation of time series for ERM and other financial modeling problems?

I am a strong advocate of R in the Casualty Actuarial Society and
would be willing to collaborate on your endeavor.

Dan Murphy
ChainLadder
mondate