Showing posts with label #Introducing Statistics and Confidence intervals. Show all posts
Showing posts with label #Introducing Statistics and Confidence intervals. Show all posts

Tuesday, April 12, 2016

Shiny New Toys


The topic of "Introducing Statistics" made me think of a very exciting opportunity I had the chance to be a part of this semester.  Since January, I have been involved in my first teaching assistanceship at Emory University.  I am an instructor of a hypothesis-driven introductory laboratory course for undergraduates.  While many of the students are familiar with many of the basic lab techniques - pipetting, sterile procedure, plating bacteria - this was the first time that they were exposed to one of the classic statistical tests: chi-squared.  And now, I was the person to introduce this crucial facet of statistics to them - talk about an important first introduction. 

The lab period was designed to ease the students into using the test.  We used a particularly good module from Math Bench as our learning tool, which explains the roles of observed and expected values in the calculation, the relevance of degrees of freedom, the importance of p-values, and how to determine significance from their results.

I enjoyed guiding them through the process and answering their questions - the biostatistics course served me well.  

Once our initial foray into the realm of statistics was over, I was pleased to find that many of the students took to the lesson quite well.  Several engaged me in a more detailed discussion of degrees of freedom during the next class, and all were eager for advice on how best to incorporate statistics into their final projects.  

Unfortunately, it was during the revision process of these final projects that I truly had the chance to see what lessons my students had taken to heart.  The situation I found myself in is illustrated perfectly by this poignant (if lengthy) comic by Randall Munroe, the brilliant scientific cartoonist behind the webcomic xkcd.


Significant

Here, my students play the role of both the excited news journalist and the beleaguered scientists, diligently carrying out their experiments until the moment they are free to jump to disproportionate conclusions.  While my students know how to use the chi-squared test, they lack a deeper understanding of its applications, and are prone to taking its output as gospel.  Any significance they find, no matter how slim, is certainly newsworthy, and sufficient to state that they have answered all the remaining research questions in the field of biology.  

Upon reading their extravagant claims in their final projects, I was surprised.  But upon reflection, it got me thinking about how I, as a student in statistics, would be seen in their position. 

Just like my undergraduate students, I am prone to behaving like a child with a shiny new toy.  Granted, my toys - paired t-tests, two-way ANOVA - might be a bit more complex than the ones they are working with, and might require a little more know-how and assembly to get them up and running.  Nonetheless, here at the beginning stages of my statistical understanding, I find myself tending to default to trusting the output of a test run in Prism, even if I am not completely clear on what exactly that output means.  

In this way, I am no better off than a reporter excited about jelly beans.

While I might be the instructor, the absolute confidence of my students in their chi-squared results opened my eyes to a very important lesson.  It is never enough to simply trust in the power of statistics, as awesome as that power may be.  Without a complete understanding of the tests you are using, you are destined to abuse them.



Fumbles: Regression to the Mean

Many professional sports have experienced a statistical renaissance over the past 30 years.  The advanced analytics movement has been made famous by movies like Moneyball and the popularity of fantasy sports.  It even gets a fair amount of academic attention at events like the MIT Sloan Sports Analytics Conference.

However, the secret underlying this statistical revolution is that most of the analytics aren’t all that advanced.  Most sports have cultures of tradition (and superstition) that have led to some poor statistical reasoning becoming an ingrained within each game.  The analytics movement is a true introduction to statistics for a group that has been suffering from making false assumptions.

A good example comes from football.  The best defenses in the NFL tend to cause a lot of turnovers (stealing the ball away from the other team’s offense by fumble or interception).  Focusing on fumbles, defenses that recover more loose footballs tend to do better overall (fewer yards allowed, fewer points allowed, etc.) each season.  It can even be the difference between winning and losing a couple games, which is a big deal with football’s short length of season.

In the past, teams and fans have treated a defense’s ability to recover fumbles as a skill and teams that caused lots of fumbles would be predicted to have a great season.  But footballs are oddly shaped.  When one hits the ground during a game, the way it will bounce is unpredictable.  Analyses of fumble recovery rates throughout history show that the probability that the defense will recover a fumble is about 50%.  So historically, a fumbled football can be treated like a coin toss.  Over the course of a 16 game season, this creates plenty of opportunities for teams to get lucky with the way the ball is rolling, recover more fumbles and have great season.  And for the teams that are unlucky, they get to watch the Super Bowl from home like the rest of us.


Nowadays, knowledge of this phenomenon in football can actually be used to predict which teams will do WORSE in a given year.  This is an example of regression to the mean: the more extreme a variable is upon its first measurement, the more likely it is to be closer to the average the second time it is measured. The NFL season is only 16 games long, which gives a pretty small window for collecting sample data.  Within this window teams are likely to benefit from fumble recover numbers that land well above the NFL average, simply because of luck.  The next season those numbers are likely to regress back to the mean, since fumble recoveries are essentially random over time.  So teams that benefitted from an extra win or two due to fumble luck in 2015, might not experience the same bump in performance in 2016.