24 Days of R: Day 11
I don't know how often Michael Caine appeared in a Shakespearean work, but I'm sure that he has and I'm sure that he was excellent. A bit pressed for time today, so just a simple word cloud featuring...
View Article24 Days of R: Day 12
Today, I'm going to finally dip my toe in the water of something I've wanted to do for a long time. I'd wanted to do this with Michael Caine film appearances- and I may yet- but tonight, it'll be a bit...
View Article24 Days of R: Day 13
In this post, I'll look at a very quick way to look at the relationships in a database. I had a bit of fun with my first network graph and plotting the connections between tables and views seems like a...
View Article24 Days of R: Day 14
I've had a statistical question that I've wanted to answer for more than 20 years. In college, I often played the strategy game “Axis & Allies” with friends. (Hi Brad, Rob, Brady and Marty!) The...
View Article24 Days of R: Day 15
Over the course of the next few days, I'm going to try to find enough time to build up a reasonably simple simulation of insurance exposure and claims. I'll be taking a hierarchical view of the...
View Article24 Days of R: Day 16
Yesterday I said that I'd carry on with the monte carlo simulation of insurance data. I'm not going to as I don't think I've got enough time and mental energy to do it justice. I'm sure tens of people...
View Article24 Days of R: Day 17
I couldn't manage to find time yesterday, so today I'm going to try and catch up with two posts. In the first, I'm going to talk about a package I've been gradually working on over the course of the...
View Article24 Days of R: Day 18
Earlier today, while looking for something else, I managed to stumble across a presentation given at the 2010 CAS RPM. (Egregious self-promotion: I'll be leading a day-long workshop at next year's RPM...
View Article24 Days of R: Day 19
Carrying on with the multi-level model, I'm going to look at the paid and incurred workers comp losses for a large number of insurance companies. This is a similar exercise to what I did last night,...
View Article24 Days of R: Day 20
Some time ago, I was doing some analysis and trying to determine whether or not there was a predictive variable for a binomial response. I ran logistic regressions for about half a dozen variables in...
View Article24 Days of R: Day 21
I drove through Tennessee today. Despite having grown up in Kentucky, I had never really noticed the Tennessee flag, but earlier this year, while in Nashville, I saw it and thought it was one of the...
View Article24 Days of R: Day 22
I like to use Goodreads to keep track of which books I'm reading (and not reading). They very helpfully sent me an e-mail to inform me how many books I've read so far in 2013. The number is 19. Hardly...
View Article24 Days of R: Day 23
Penultimate post, I'm going to take a quick look at the Gini indicator for wealth inequality. Data comes from the World Bank. I've downloaded the zipped file, decompressed it and given it a different...
View Article24 Days of R: Day 24
OK, so I phoned it in last night. Final post and maybe this one will be a bit better. Can't recall what got me thinking about it, but I was running over the issue of school performance and the...
View ArticleAn idiot learns Bayesian analysis: Part 1
I've done a dreadful job of reading The Theory That Would Not Die, but several weeks ago I somehow managed to read the appendix. Here the author gives a short explanation of Bayes' theorem using...
View ArticleAn idiot learns Bayesian analysis: Part 2
A week ago, I wrote a bit about my personal journey to come to grips with Bayesian inference. I referred to the epiphany that when we're talking about Bayesian analysis, what we're talking about- in a...
View ArticleAnother skewed normal distribution
At the CLRS last year, Glenn Meyers talked about something very near to my heart: a skewed normal distribution. In loss reserving (and I'm sure, many other contexts) standard linear regression is less...
View ArticleTriangle Open Data Day 2014
A rare live blog post today. I'm writing this from Triangle Open Data Day 2014. This will basically be a page of links that I'll try to get around to later. GIS resources: QGIS – an open source GIS...
View ArticleWatching Africa from a plane
I wrote this 8 or 9 days ago, while on a plane and am just now getting around to posting it. It's either 7:12 PM Friday or 2:12 AM Saturday. I'm somewhere over the Mediterranean, having just passed...
View ArticleRecursive assignment
Here’s yet another example where I just need to read the help files. Before I go on, I should add my own notion as to why that’s not always easy to do. On loads of message boards, you’ll see people...
View Article