Skip to course content
Free statistics course

Basic Statistics for Data Analysis / Module 2

Module 2 lesson

Module 2 Lesson: Variables, Measurement, Samples, and Bias

Classroom Explanation

Imagine we are in class and someone puts a small table on the board. The table looks simple, so it is tempting to jump straight to the answer. In statistics, we slow down first. We ask what question the table can answer, what question it cannot answer, and what kind of claim would be safe.

In this module, the goal is to identify units, variables, samples, populations, missing evidence, and likely bias. The important part is not only the calculation. The important part is the thinking before and after the calculation.

Why This Matters

The common mistake is treating the available rows as if they represent everyone. People who did not complete the survey or missed the exam may differ from those who did. This mistake can make a report sound more confident than the evidence deserves.

Key Ideas

1. The unit of analysis is the thing each row describes.

The unit is the thing one row describes. If the unit is unclear, the analysis can accidentally mix people, sessions, orders, classrooms, or months.

2. Variable type decides which summaries and comparisons are suitable.

A variable type is not a small detail. It decides whether an average, percentage, count, rank, or chart is a sensible choice.

3. A sample can be biased even when every recorded value is correct.

Bias can appear before analysis begins. If the people or records included are not like the people or records missing, a neat calculation can still mislead.

Worked Example

In the student study sample, each row is one survey respondent. Weekly study hours is numeric, preferred resource is categorical, and missing exam scores are evidence to investigate.

Here is the dataset used in this module.

respondent_idcohortweekly_study_hourspreferred_resourcecompleted_surveyexam_scoremissing_score_reason
S01A3videoyes62
S02A5practiceyes71
S03A2notesyes58
S04A7practiceyes78
S05A4videoyes67
S06B6practiceyes74

Read the table slowly. First name the unit. Then name the variables. Then name the comparison or pattern. Only after that should you write the conclusion.

How To Think Through It

  1. State the question in one sentence.
  2. Name the unit of analysis.
  3. Identify the outcome and comparison.
  4. Check the denominator, sample, uncertainty, or assumption.
  5. Write only what the data supports.
  6. Add one limit so the result does not overclaim.

Common Mistake

The common mistake is treating the available rows as if they represent everyone. People who did not complete the survey or missed the exam may differ from those who did.

How To Write The Result

The table describes the learners who responded and have recorded scores; it may not represent learners who skipped the survey or missed the exam.

Practice Prompt

Mark the unit, variable types, sample, intended population, and missingness risks in the student study sample.

Takeaway

When a statistical result feels obvious, pause and ask: what exactly was measured, compared, and assumed?