Monthly Archives: February 2012

Two incredibly useful functions to throw into your .rprofile

February 7, 2012
By

I’ve neglected this blog for quite some time but I’m getting around to finishing up a bunch of draft posts. But here is a quick one: Listing objects in your global environment A simple ls() doesn’t really tell you enough useful information at a glance. Most often I just want to know what I named

Read more »

What’s new in futile.matrix 1.1.2

February 7, 2012
By
What’s new in futile.matrix 1.1.2

This is an exciting release of futile.matrix, which in some ways the package grows up and finds its purpose. It …Continue reading »

Read more »

updated slides for ABC PhD course

February 7, 2012
By
updated slides for ABC PhD course

Over the weekend, I have added a few slides referring to recent papers mentioning the convergence of ABC algorithms, in particular the very relevant paper by Dean et al. I had already discussed in an earlier post. (This is taking a larger chunk of my time than expected! I am glad I will use the

Read more »

Example 9.20: visualizing Simpson’s paradox

February 7, 2012
By
Example 9.20: visualizing Simpson’s paradox

Simpson's paradox is always amazing to explain to students. What's bad for one group, and bad for another group is good for everyone, if you just collapse over the grouping variable. Unlike many mathematical paradoxes, this arises in a number of real...

Read more »

"R": PLS Regression (Gasoline) – 004

February 7, 2012
By
"R": PLS Regression (Gasoline) – 004

In the previous post we plot the Cross Validation predictions with:> plot(gas1, ncomp = 3, asp = 1, line = TRUE)We can plot the fitted values instead with:> plot(gas1, ncomp = 3, asp = 1, line = TRUE,which=train) Graphics are different:Of course, using "train" we get  overoptimisc statistics and we should look...

Read more »

Gauging Interest in a Montreal R User Group

February 7, 2012
By
Gauging Interest in a Montreal R User Group

Some of us over at McGill’s Biology Graduate Student Association have been developing and delivering R/Statistics workshops over the last few years. Through invited graduate students and faculty, we have tackled  everything from multi-part introductory workshops to get your feet wet, to special topics such as GLMs, GAMs, Multi-model inference, Phylogenetic analysis, Bayesian modeling, Meta-analysis,

Read more »

What are the most popular bike routes in London?

February 7, 2012
By
What are the most popular bike routes in London?

James Cheshire, R user and lecturer at the UCL Centre for Advanced Spatial Analysis, created this map of the most trafficked cycle routes in London: Click to enlarge, it's a gorgeous chart. The bicycle traffic data comes from London's public cycle-hire facility, which currently is only available in central London (which is why you don't see much activity in...

Read more »

MAT8886 a short word on profile likelihood

February 7, 2012
By
MAT8886 a short word on profile likelihood

Profile likelihood is an interesting theory to visualize and compute confidence interval for estimators (see e.g. Venzon & Moolgavkar (1988)). As we will use is, we will plot But more generally, it is possible to consider where . Then (...

Read more »

Early-February flotsam

February 7, 2012
By
Early-February flotsam

Mike Croucher at Walking Randomly points out an interesting difference in operator precedence for several mathematical packages to evaluate a simple operation 2^3^4. It is pretty much a divide between Matlab and Excel (does the later qualify as mathematical software?) … Continue reading →

Read more »

Update to Partisan Bias in Fed Inflation Forecasts

February 7, 2012
By
Update to Partisan Bias in Fed Inflation Forecasts

Since I'm in the depths of PhD thesis revisions I haven't had much time to do much other than update previous posts (see my Stata Country Standardizer Update).Here is an update of an earlier post about possible partisan biases in US Federal Reserve sta...

Read more »