Monthly Archives: February 2012

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 »

Workshop on Mixed and Multilevel Modelling with R in Toronto

February 7, 2012
By

Summer Program In Data Analysis (SPIDA): May 24th – June 1st, 2012 In its thirteenth season this year, ISR’s Summer Program in Data Analysis focuses on linear models, beginning with “standard” regression through generalized linear models, and extending to mixed or multilevel models, linear and non-linear and generalized, which incorporate two or more hierarchical levels of data or longitudinal...

Read more »

What’s new in futile.paradigm 2.0.4

February 6, 2012
By
What’s new in futile.paradigm 2.0.4

Well this certainly took a while but the latest installment of my functional dispatching library for R is finally released …

Continue reading »

Read more »

how to create a variable with r

February 6, 2012
By

(This article was first published on twotorials by anthony damico, and kindly contributed to R-bloggers) To leave a comment for the author, please follow the link and comment on his blog: twotorials by anthony damico. R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL,...

Read more »