Variables and Hypotheses

S9 · Chapter 5

Today’s Agenda

  • From a lens to a test: what a variable is
  • Independent and dependent variables, with a worked hypothesis
  • Mediators and moderators
  • Five steps for choosing a theory
  • Hypothesis versus research question, and why the hypothesis comes first

What You Leave With Today

  • Today is the translation step: taking an idea you believe and turning it into something a computer could check
  • It sounds like the mathematical part of the course, and it is not. Nothing today involves arithmetic
  • It involves being specific, which is harder
  • You leave with a hypothesis or a research question written down, with its parts named

From a Lens to a Test

  • Last time: theory tells you what to look for and what would count as evidence
  • A lens on its own cannot be right or wrong, because there is nothing to check it against
  • Theories become checkable through variables

Variable: something about a case that can change from one case to the next, where a case is one thing you study, such as one chat message. Example: the game column says Fortnite for one stream and Just Chatting for another.

  • Everything today is about getting from something you believe to something you can count

The Independent Variable

Independent variable (IV): the proposed cause, or the predictor you measure. Example: stream type, gaming or non-gaming.

  • In an experiment it is what you manipulate. In a study like yours it is what you measure as the predictor
  • In livestreaming research it might be:
    • the stream’s category type, gaming or non-gaming
    • the streamer’s tenure on the platform
    • the stream’s concurrent viewer count

The Dependent Variable

Dependent variable (DV): the outcome you think the IV changes. Example: the share of chat messages aimed at the streamer.

  • In livestreaming research it might be:
    • chat messages per minute
    • viewer retention across a broadcast
    • the rate of subscriptions and donations
  • If you cannot say which of your two variables is doing the influencing, you do not have a hypothesis yet. You have a pair of interesting things

A Worked Hypothesis

In non-gaming streams, a higher proportion of chat messages are directed at the streamer than in gaming streams.

  • Independent variable: category type, gaming or non-gaming
  • Dependent variable: whether a message is aimed at the streamer or at the room
  • Both are things you can see in the shared example dataset

Exercise: Split Your Prediction

  • Take the theory you are leaning toward and name one thing it predicts
  • Name which half of that prediction is the cause and which is the outcome
  • State whether you could see both of them in a chat log or a comment thread, or whether you would have to ask somebody

What Testing It Looks Like

  • Classify streams by category, gaming or non-gaming
  • Code a sample of messages for whether each one addresses the streamer
  • Run a statistical test to see whether the predicted relationship holds
  • Most of that work is coding rather than statistics

Coding: reading one item and writing down its value for each variable, following your codebook’s rules. Example: reading a message and marking it “directed at the streamer.”

  • The codebook is where a hypothesis gets its teeth, and that is Chapters 7 and 8

The Same Structure in a Different Domain

News stories framed around individual human interest will generate more social media engagement than stories framed around systemic data.

  • Independent variable: frame type
  • Dependent variable: engagement
  • The topic is different, and the logic is identical

Learn the structure once, carefully, and it carries to anything you study later.

Mediators Explain How and Why

Mediator: a variable in the middle that explains how or why the IV changes the DV.

  • If category affects the rate of directed messages, the mediator might be the perceived pace of the stream
  • Non-gaming streams may feel more conversational, and that conversational feel may be what invites viewers to speak to the streamer directly

Moderators Set the Conditions

Moderator: a variable that changes how strong the IV’s effect is, or its direction.

  • It answers “under what conditions?”
  • The category-to-directed-message relationship might be moderated by audience size: holding on small streams and weakening on large ones
  • A moderator is not a nuisance to be controlled away. Often it is the finding

The Ladder of Claims

  • “X relates to Y” is where a first project starts, and that is a real result
  • “X relates to Y, through this mechanism” adds a mediator
  • “X relates to Y, through this mechanism, under these conditions” adds a moderator
  • You do not need all three rungs for a good White Paper
  • Knowing the ladder exists is what stops you claiming rung three from rung one

Choosing a Theory: Steps 1 to 3

  1. Get specific about the question. “Livestreaming and community” is too broad. “Does the proportion of chat messages directed at the streamer differ between gaming and non-gaming streams?” is something you can act on
  2. Map the question to a theoretical domain. Group processes point toward social identity or uses and gratifications. Perception effects point toward cultivation, agenda setting, or framing
  3. See how others studied similar questions. Repeated use of one theory in a domain is a signal it has been productive there

Choosing a Theory: Steps 4 and 5

  1. Let the theory produce the prediction. Derive the hypothesis from the theory, rather than picking a theory afterward to decorate a hunch you already had
  2. Design measures for the concepts. Turn abstractions like identity or salience into variables somebody could record

Operationalization: turning an abstract idea into something you can actually observe and record. Example: counting a message as aimed at the streamer when it tags the streamer’s name.

Step 5 is operationalization, and it is most of the next two chapters.

Hypothesis Versus Research Question

Hypothesis: a testable statement of the relationship you expect between variables, written before you test it. Example: non-gaming chats aim a larger share of their messages at the streamer than gaming chats do.

Research question (RQ): a question a study sets out to answer, written before you look at the data. Example: does the share of messages aimed at the streamer differ between gaming and non-gaming streams?

Which One to Write

  • State a hypothesis when your theory is precise enough to predict a direction: more, less, higher, or lower
  • Ask a research question when the theory supports expecting a difference but not which way it goes
  • A research question is not a weaker hypothesis. It is an honest one
  • Never ask a question, look at the data, and then write it up as though you had predicted the answer

Why the Hypothesis Comes First

  • HARKing is Hypothesizing After the Results are Known
  • You look at data, spot a pattern, then write as though you called it in advance
  • The p-value still prints, but it no longer means what it says, because the hypothesis came out of the data instead of preceding it
  • Writing your prediction down before you look takes five minutes and protects every inference that comes after it

Before Next Time

  • The Annotated Manuscript, 25 points, is due Friday, September 25, 11:59 PM
  • CITI Ethics Certification, 25 points, is due Friday, September 25, 11:59 PM. If you have not started it, do that tonight
  • Write your working hypothesis or research question into your project repository, with the independent and dependent variables named
  • Read Chapter 6 before Thursday
  • Thursday covers research questions: when a question is the honest choice, and how to write one that can actually be answered

Questions, Comments, or Concerns?