Nested loops with mapply

So as I sink deeper into the second level of R enlightenment, one thing troubled me. "lapply" is fine for looping over a single vector of elements, but it doesn't do a nested loop structure. These tend to be pretty ubiquitous for me. I'm forever doing the same thing to a set of two or three [...]

Querying, parsimony and golden hammers

I love it when things are easy. I love it so much that I'll spend a great deal of time and effort to keep things simple. At the same time, though, I think there's some value in expending effort in pursuit of something. If you want to understand a thing, you have to spend time [...]

Confit de Stanard, Part 1 – The Rant

I'm breaking this up into two parts to isolate the political elements from the purely objective presentation. I'll start off with some very biased comments about the legacy of Stanard's Monte Carlo reserving example. The next post will present that model in R. It's now been over 30 years since Stanard published his famous (to [...]