# teaching

### Teaching with R: the tools

November 1, 2011 |

I bought an Android phone, nothing fancy just my first foray in the smartphone world, which is a big change coming from the dumb phone world(*). Everything is different and I am back at being a newbie; this is what … Continue reading → [Read more...]

### Visualizing Sampling Distributions

September 25, 2011 |

Teacher: “How variable is your estimate of the mean?” Student: “Uhhh, it’s not. I took a sample and calculated the sample mean. I only have one number.” Teacher: “Yes, but what is the standard deviation of sample means?” Student: “What do you mean means, I only have the one ... [Read more...]

### Visualizing Bayesian Updating

September 10, 2011 |

One of the most straightforward examples of how we use Bayes to update our beliefs as we acquire more information can be seen with a simple Bernoulli process. That is, a process which has only two  possible outcomes. Probably the most commonly thought of example is that of a coin ... [Read more...]

### Real-time data collection and analysis in class

August 28, 2011 |

As September draws nearer, my mind inevitably turns away from my lofty (and largely unmet) summer research goals, and toward teaching.  This semester I will be trying out a teaching technique using live data collection and analysis as a tool to encourage student engagement.  The idea is based on the ... [Read more...]

### Super Sam Fuld Needs Your Help (with Foul Ball stats)

July 13, 2011 |

I was pleasantly surprised to have my recreational reading about baseball in the New Yorker interrupted by a digression on statistics. Sam Fuld of the Tampa Bay Rays, was the subjet of a Ben McGrath profile in the 4 July 2011 issue of the New Yorker, in an article titled Super Sam. ... [Read more...]

### Using simulation to demonstrate theory: Hardy-Weinberg Equilibrium

June 13, 2011 |

One of my teaching roles is in an introductory Genetics course, where first year students are presented with a wide range of new ideas at a relatively fast pace.  It seems that often, students choose to take a memorization approach to learning the material, rather than taking the chance to ... [Read more...]

### Workflow Articles in “The Political Methodologist”

April 1, 2011 |

I’ve written a few times before about how to choose the software you work with, and what you should and should not care about when making those choices. I maintain a page with various resources related to this, if you’re interested, most notably the Emacs Starter Kit for ... [Read more...]

### R programming books (updated)

January 28, 2011 |

In a recent post, I asked for suggestions for introductory R computing books. In particular, I was looking for books that: Assume no prior knowledge of programming. Assume very little knowledge of statistics. For example, no regression. Are cheap, since they are for undergraduate students. Some of my cons aren’... [Read more...]

### R programming books

December 21, 2010 |

My sabbatical is rapidly coming to an end, and I have to start thinking more and more about teaching. Glancing over my module description for the introductory computational statistics course I teach, I noticed that it’s a bit light on recommend/background reading. In fact it has only two ... [Read more...]

### Sweave Tutorial 1: Using Sweave, R, and Make to Generate a PDF of Multiple Choice Questions

November 26, 2010 |

In this post I present an example of using Sweave to prepare a PDF of formatted multiple choice questions.More broadly the example shows how to use Sweave to incorporate elements of a databaseinto a formatted LaTeX document.It aims to be useful to any...

### The joys of teaching R

November 23, 2010 |

Just read a funny but much to the point blog entry on the difficulties of teaching proper programming skills to first year students! I will certainly make use of the style file as grading 180 exams is indeed a recurrent nightmare… Filed under: R,... [Read more...]

### R Style Guide

November 23, 2010 |

Each year I have the pleasure (actually it’s quite fun) of teaching R programming to first year mathematics and statistics students. The vast majority of these students have no experience of programming, yet think they are good with computers because they use facebook! The class has around 100 students, and ... [Read more...]

### R be dragons

August 18, 2010 |

Hic sunt dracones used to be placed on maps, as a way to denote a dangerous or otherwise unexplored territory. We might as well write it all over R-related material used in introductory classes, because students seems to be really (…)Read the rest of this entry » [Read more...]

### The animation package

December 5, 2009 |

The "animation" package is a good teaching tool to demonstrate some key concepts in a introductory statistics course.