Blog Archives

Why bother with magrittr

October 31, 2015
By
Why bother with magrittr

I’ve seen R users swooning over the magrittr package for a while now, but I couldn’t make heads or tails of all these scary %>% symbols. Finally I had time for a closer look, and it seems potentially handy indeed. … Continue reading →

Read more »

Statistical Graphics and Visualization course materials

October 28, 2015
By
Statistical Graphics and Visualization course materials

I’ve just finished teaching the Fall 2015 session of 36-721, Statistical Graphics and Visualization. Again, it is a half-semester course designed primarily for students in the MSP program (Masters of Statistical Practice) in the CMU statistics department. I’m pleased that … Continue reading →

Read more »

About to teach Statistical Graphics and Visualization course at CMU

August 31, 2015
By
About to teach Statistical Graphics and Visualization course at CMU

I’m pretty excited for tomorrow: I’ll begin teaching the Fall 2015 offering of 36-721, Statistical Graphics and Visualization. This is a half-semester course designed primarily for students in our MSP program (Masters in Statistical Practice). A large part of the … Continue reading →

Read more »

“Don’t invert that matrix” – why and how

July 13, 2015
By
“Don’t invert that matrix” – why and how

The first time I read John Cook’s advice “Don’t invert that matrix,” I wasn’t sure how to follow it. I was familiar with manipulating matrices analytically (with pencil and paper) for statistical derivations, but not with implementation details in software. … Continue reading →

Read more »

Two principles approaches to data visualization

July 9, 2015
By
Two principles approaches to data visualization

Yesterday I spoke at Stat Bytes, our student-run statistical computing seminar. My goal was to introduce two principled frameworks for thinking about data visualization: human visual perception and the Grammar of Graphics. (We also covered some relevant R packages: RColorBrewer, … Continue reading →

Read more »

DotCity: a game written in R? and other statistical computer games?

June 28, 2015
By
DotCity: a game written in R? and other statistical computer games?

A while back I recommended Nathan Uyttendaele’s beginner’s guide to speeding up R code. I’ve just heard about Nathan’s computer game project, DotCity. It sounds like a statistician’s minimalist take on SimCity, with a special focus on demographic shifts in … Continue reading →

Read more »

Reader Morghulis

April 7, 2015
By
Reader Morghulis

TL;DR: Memento mori. After reading too much Seneca, I’m meditating on death like a statistician, by counting how many of GRRM’s readers did not even survive to see the HBO show (much less the end of the book series). Rough … Continue reading →

Read more »

Small Area Estimation 101: old materials posted

April 3, 2015
By
Small Area Estimation 101: old materials posted

I never got around to polishing my Small Area Estimation (SAE) “101” tutorial materials that I promised a while ago. So here they are, though still unedited and not as clean / self-explanatory as I’d like. The slides introduce a … Continue reading →

Read more »

Very gentle resource for speeding up R code

March 5, 2015
By
Very gentle resource for speeding up R code

Nathan Uyttendaele has written a great beginner’s guide to speeding up your R code. Abstract: Most calculations performed by the average R user are unremarkable in the sense that nowadays, any computer can crush the related code in a matter … Continue reading →

Read more »

Reproducible research, training wheels, and knitr

February 15, 2014
By
Reproducible research, training wheels, and knitr

Last week I gave a short talk at CMU’s statistical computing seminar, Stat Bytes. I summarized why reproducible research (RR) and literate programming are worthwhile, not just for serious research but also for homework reports or statistical blog posts. I … Continue reading →

Read more »

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)