All work

Quant UX Workshop / Statistics Taught as One Model

UX researchers run statistics every week, but most of them learned it as one formula per test, so they cannot tell what an analysis does to their data. I designed and taught a nine-week workshop at Wilfrid Laurier University where every method grows out of one idea, data = model + error, and every week runs on the same keypad experiment.

9
weeks, each one answering the question the last one left
11
UX designers and researchers in the room
315
people in the keypad dataset every week ran on
50%
of each session spent going back over earlier weeks

TL;DR

  • The problem: applied statistics is taught as one formula per test, so UX researchers run analyses without knowing what they do to the data, and the results end up confirming what people hoped to see.
  • What I did: I designed and taught a nine-week workshop for 11 UX designers and researchers. Every method grows out of data = model + error, every week runs on one keypad experiment I built, and each idea is first a simulation, then a formula.
  • How I taught it: half of each session went back over earlier weeks, new ideas were explained out loud to a partner, mistakes were run on purpose to show the damage, and the group ended by drawing the whole course as one map.

Most UX researchers learned statistics as one formula per test.

UX research, psychology and the other social sciences all lean on statistics, and their courses usually teach a formula for each test. A formula is only the form of a method. People who learn the form run procedures without knowing what they do to the data, and the analysis ends up confirming whatever someone hoped to see.

Statistics is for finding where the evidence ends. I wanted designers to choose a model for a reason they can say out loud, so the course enters through one idea that is broad and not hard to grasp: every analysis is a model plus the error it leaves.

How it is usually taught

A lookup table: match the question, run the test.

  • Do two groups differ?t test
  • Do three or more groups differ?ANOVA
  • Do two numbers move together?Correlation
  • Do counts differ across categories?Chi-square
  • Did the same people do every condition?Repeated-measures ANOVA

How this course taught it

One model, and every test as a special case of it.

  • data = model + error
    • Choose the error, get the model · mode, median or mean (week 1)
    • Linear model
      • t test · a special ANOVA
      • ANOVA · a special linear regression
      • Mixed model · each person kept inside the model
    • Simulation
      • Sampling distribution · where the formulas come from
      • Bootstrap and permutation · when the formulas run out

Role

Designer and instructor

Wrote the curriculum, slides and R scripts, built the keypad experiment and the SuperCode plugin, and taught every session.

Who

11 UX designers and researchers

For homework, each person analysed data from their own research.

Tools

R and jamovi side by side

R for people who write code, jamovi for people who need a point-and-click app.

Each week answered the question the week before left open.

The methods are links in one chain. Every week ran on the same keypad data, 60,366 key presses from 315 people, and the blocks below are that data rearranged for each idea.

Week 1. The best single number depends on how you define error.

Pick one number to stand for every key press. Counting misses picks the mode (183 ms), absolute distance the median (630 ms), squared distance the mean (789 ms). Keeping the candidate with the least error is how a loss function trains a machine-learning model.

Next question: If we ran the study again, would we get the same number?

Three habits ran through every week.

Week 2 slide, Todo: R code that draws 5,000 samples from a mock population and plots their means

Experiment first, formula second.

Each idea started as a simulation in R on the class data, so people saw what a method does to data before they met its formula. The formula then arrived as a shortcut for a shape they had already built.

Week 4 slide: Your model will learn the noise, the model won’t be accurate, with OVERFITTING written behind

Break it on purpose.

We kept running analyses the wrong way to see the damage: 120 random predictors explaining half of pure noise, a score cut in two that lost 27% of its information. Seeing the damage is what makes the correct habit worth keeping.

Week 1 slide: Fun fact, you discovered machine learning

AI models are models too.

The week 1 search for the least error is how a loss function trains a model, and week 5 encoding is how a language model reads text. In week 9 we gave an LLM a mock report and checked whether it read a non-significant result as no effect.

Effect sizes give every result a size people can feel.

A p value cannot say whether a difference matters, so the course reported an effect size with every result, read against the thresholds above. Thresholds alone are still abstract, so I gave the group one piece of advice for their first week at a new job.

  1. 1

    Pull out the past analyses

    Write down the effect size of every test the team has already run.

  2. 2

    Match each one to a change

    Find the product decision that each result led to.

  3. 3

    Ask how big it felt

    Ask how large the difference was for the people who used the product.

Together they give every later analysis an anchor: a size the team has already seen turn into a product change and a difference people felt.

People forget, so half of every session went back over earlier weeks.

From week 2 on, every deck opens by walking back through the weeks before it, and the review grows as the course does. Week 9 was a review session from start to end.

When review got stuck, I explained it another way.

The ideas that matter most came back with a new definition each time. The p value was defined three ways across the course, each from a different angle.

  1. Week 3“A compatibility index, it describes its compatibility with a world that the effect does not exist.”
  2. Week 4“If the effect does not exist, the probability of the result is shown.”
  3. Week 8“In a world that the effect does not exist, the probability of the occurrence of this result.”
Slide reading Studio, Explain it like I’m ten

New ideas went through Think Aloud.

Every session had a studio slot called “Explain it like I’m ten”. Everyone explained the new idea out loud to someone else, in words a ten-year-old would follow.

In the last session, the group put the whole course on one sheet of paper.

A hand-drawn poster on taped-together sheets: the course map from research question to report, drawn by the participants
Drawn by the workshop participants in week 9.