Skip to main content

Using the Global Terrorism Database's code book to teach levels of measurement, variable types

A database codebook is the documentation of all of the data entry rules and coding schemes used in a given database. And code books usually contain examples of every kind of variable and level of measurement you need to teach your students during the first two weeks of Intro Stats. You can use any code book from any database relevant to your own scholarship as an example in class. Or perhaps you can find a code book particularly relevant to the students or majors you are teaching.

Here, I will describe how to use Global Terrorism Database’s code book for this purpose. The Global Terrorism Database is housed at the University of Maryland and has been tracking national and international terrorism since 1970 and has collected information on  over 170, 000 attacks. So, the database in and of itself could be useful in class. But, I will focus on just the code book for now, as I think this example cuts across disciplines and interests as all of our students are aware of terrorism and this particular code book doesn’t contain much technical jargon.

Here are just a few of the examples contained within it: Dichotomous, mutually exclusive response options ( Yes = 1, No = 0) can be found on page 14, in response to the question ”The violent act must be aimed at attaining a political, economic, religious, or social goal.”.



Another dichotomous response is used to indicate whether or not an attack was intended as a suicide attack (p. 26).

You can demonstrate nominal coding with the response options used to identify the country where the attack occurred (Brazil = 30, Cambodia = 36, etc., on p. 17, ) or by looking at the coding scheme for different kinds of terrorist attacks (3 = Bombing/Explosion, p. 22).



Ratio scale of measurement is used to enter the number of perpetrators for a given terrorist act (p. 44). You can also discuss what is lost or gained by reporting (and analyzing) the cost of damages in either categorical and ordinal (number represents one of four ranges of dollars) or qualitative and ratio (enter the amount of loss in USD) format (on pages  49 and 50).




This codebook and the actual database also draw attention to attempts to better understand big, scary life problems via systematic data collection and analysis.  We need first responders and law enforcement officers and the bravery of regular citizens thrust into terrible situations in order to deal with terrorist events. We also need sharp, statistical minds to look for the patterns in these attacks in an attempt to prevent future attacks.

For a more advanced statistics class, you can also point out the naming conventions used in this database, and how naming conventions are good practice and need to be sorted out prior to data collection.

Comments

Popular posts from this blog

Ways to use funny meme scales in your stats classes

Have you ever heard of the theory that there are multiple people worldwide thinking about the same novel thing at the same time? It is the multiple discovery hypothesis of invention . Like, multiple great minds around the world were working on calculus at the same time. Well, I think a bunch of super-duper psychology professors were all thinking about scale memes and pedagogy at the same time. Clearly, this is just as impressive as calculus. Who were some of these great minds? 1) Dr.  Molly Metz maintains a curated list of hilarious "How you doing?" scales.  2) Dr. Esther Lindenström posted about using these scales as student check-ins. 3) I was working on a blog post about using such scales to teach the basics of variables.  So, I decided to create a post about three ways to use these scales in your stats classes:  1) Teaching the basics of variables. 2) Nominal vs. ordinal scales.  3) Daily check-in with your students.  1. Teach your students the basics...

Using pulse rates to determine the scariest of scary movies

  The Science of Scare project, conducted by MoneySuperMarket.com, recorded heart rates in participants watching fifty horror movies to determine the scariest of scary movies. Below is a screenshot of the original variables and data for 12 of the 50 movies provided by MoneySuperMarket.com: https://www.moneysupermarket.com/broadband/features/science-of-scare/ https://www.moneysupermarket.com/broadband/features/science-of-scare/ Here is my version of the data in Excel format . It includes the original data plus four additional columns (so you can run more analyses on the data): -Year of Release -Rotten Tomato rating -Does this movie have a sequel (yes or no)? -Is this movie a sequel (yes or no)? Here are some ways you could use this in class: 1. Correlation : Rotten Tomato rating does not correlate with the overall scare score ( r = 0.13, p = 0.36).   2. Within-subject research design : Baseline, average, and maximum heart rates are reported for each film.   3. ...

Rouse, Russel, & Campbell (2025) is a curated list of Psi Chi journals that are perfect for Intro Stats.

This summer, the Psi Chi Journal of Psychology Research published  Rouse, Russel, and Campbell's Beyond the textbook: Psi Chi Journal articles in introductory psychology courses. It is a curated list of paywall-free Psi Chi articles, mostly with student co-authors, that are peer-reviewed and of an appropriate writing level and length to use in an Introduction to Psychology course. The authors provide the following information for each of the articles: In addition to being appropriate for Into Psych, these articles are also perfect for Intro Stats. In my classes, I emphasize the ability to read and write simple result sections. One way I would review this skill is by showing my students Results sections from published research and asking them to identify the test statistics, effect size, and other relevant information. This selection of articles features clear and concise results sections for t -tests, ANOVA, factorial ANOVA, regression, and correlation. I created a spreadsheet...