Statistics for Informatics:
Overview

Mick McQuaid

2026-11-22

Week ZERO

Pre-Intro

Two things: what and how

Why do people hire you?

You know two things, what to do (theory) and how to do it (practice)!

Two things: deterministic and stochastic processes

  • deterministic process: If you repeat it, you get the same result, e.g., add two numbers together
  • stochastic process: If you repeat it, you may get different results, e.g., generate a random normally distributed dataset

Two things: probability and stats

  • probability: originated with gambling, trying to guess a single outcome from a known distribution
  • stats: “originated” mostly with farming, trying to infer general knowledge from small samples of crops

Two things: frequentists and bayesians

  • The frequentist approach deals with long-run probabilities (ie, how probable is this data set given the null hypothesis), whereas the Bayesian approach deals with the probability of a hypothesis given a particular data set.
  • Bayesian analysis incorporates prior information into the analysis, whereas a frequentist analysis is purely driven by the current data.
  • The Bayesian approach can calculate the probability that a particular hypothesis is true, whereas the frequentist approach calculates the probability of obtaining another data set at least as extreme as the one collected (giving the \(p\) value).

Two things: description and inference (okay, three: also prediction)

  • description: find a number or numbers or picture that summarizes data
  • inference: understand the machinery of cause and effect
  • prediction: guess a future event based on a sample of past events

Two things: statisticians and stats users

  • statisticians: write packages in R
  • stats users: write code to use existing packages in R

Two things: statisticians and data scientists

  • statisticians: use old-fashioned language
  • data scientists: use fashionable language to mean the same thing

Two things: general data and discipline-specific data

  • general data: textbook uses examples from non-IT disciplines
  • discipline-specific data: the last two lectures will cover data specific to data scientists and ux people

The reproducibility crisis and what we’re going to do about it

Scientists have found that most publishable results are not reproducible. Therefore, they have started to use tools like Quarto to make research reproducible. We’ll use Quarto to make our results reproducible.

Skill aspect of the course

RStudio server

  • Something new this semester!
  • Thanks to tech support, we have a server that may handle a lot of the technical issues
  • Use your browser to visit https://rstudio.ischool.utexas.edu
  • Login with UTEID
  • ???
  • Profit!

(If you’re off-campus, you must use the VPN!)

Check your computer if you use R on your computer

  • You can’t take the final exam with 4GB RAM
  • 16GB Ram is preferred—you’ll struggle with 8GB
  • You will need at least 12GB free drive space to take the final
  • Mac is preferred if you don’t already have a computer
  • If you already have a Windows computer, you may need some tech support from our AA because I can’t solve most Windows-specific problems

Download R and RStudio in that order

If you plan to use R on your computer instead of the server, you need R to be installed before you try to install RStudio.

You may prefer to use Python but you can not turn in any Python code or Jupyter notebooks in this class. There are numerous reasons for this which can be discussed outside of class.

Your part

HW Format

All homework assignments will be Quarto documents (qmd extension on filename) described at https://quarto.org

Do not attempt to use any microsoft products in this course. E.g., no reports will be in word and no calculations will be in excel. I’m not joking. I’ll just give you a zero if you turn in that stuff.

  • Weekly exercises based on OpenIntro Stats
  • We’ll spend some time on them in class, but you may need to do them as homework

Two kinds of homework: group and individual

  • Group work: analyze the craiglist data
  • Individual work: weekly exercises, attendance, and take-home final exam

One individual exam

It will be a take-home exam where I’ll give you a large (approximately 2GB) dataset and you have to analyze it and turn in a .qmd file and an .html file (with embedding) summarizing your work.

Grading

  • 4×10 milestones as group: description 1 (tables, summary stats), description 2 (visualization), regression, diagnostics
  • 14×1/2/3 weekly exercises: 1 point each for first nine, then 2 points for next four, then 3 points for the last one
  • 1×30 take-home exam: analyze nyc311 dataset (subject to change)
  • 1×10 attendance score: fraction of overall attendance (e.g., you attend 80 percent of the time, you get 8/10 points)

Texts

  • Wickham et al. (2023)
  • Diez et al. (2019)

References

Diez, David, Mine Çetinkaya-Rundel, and Cristopher D Barr. 2019. OpenIntro Statistics, Fourth Edition. Self-published. https://openintro.org/os.
Fornacon-Wood, Isabella, Hitesh Mistry, Corinne Johnson-Hart, Corinne Faivre-Finn, James P. B. O'Connor, and Gareth J. Price. 2022. “Understanding the Differences Between Bayesian and Frequentist Statistics.” International Journal of Radiation OncologyBiologyPhysics 112 (5): 1076–82. https://doi.org/10.1016/j.ijrobp.2021.12.011.
Wickham, Hadley, Mine Çetinkaya-Rundel, and Garrett Grolemund. 2023. R for Data Science: Import, Tidy, Transform, Visualize, and Model Data. 2nd ed. O’Reilly Media, Inc. https://r4ds.hadley.nz/.

END

Colophon

This slideshow was produced using quarto

Fonts are Roboto Condensed and Stix