Back to the programme
Session 2 · 2 h

Basic principles of biostatistics, main probability laws and sampling fluctuations

Programme objectives:Basic principles of biostatisticsMain probability lawsSampling fluctuations

Content: Types of variables · Probability, the language of uncertainty · The normal and binomial laws · Sampling fluctuation and the standard error.

Session 2 — slide 1 / 8

What biostatistics does

  • Biostatistics answers a single question: what can we conclude beyond the patients we have observed?
  • Three steps, three sessions: describe the sample (session 4), estimate the population (session 3), compare groups (session 5).
  • Everything starts with the data table and the type of each variable.
Swipe to turn the page

Data to download

cohort_efm1_2026.csv

200 outpatients: age, measurements, smoking, physical activity, blood pressure, blood glucose. Simulated data for the course. 200 rows, 11 variables.

Download the CSV
Variable dictionary
VariableTypeContent
ididentifierpatient number
sexqualitative nominalF / M
agequantitative continuousyears
height_cmquantitative continuouscentimetres
weight_kgquantitative continuouskilograms
bmiquantitative continuouskg/m², computed
smokingqualitative nominalYes / No — current smoker
physical_activityqualitative ordinalLow < Moderate < High
sbp_mmhgquantitative continuoussystolic blood pressure, mmHg
fasting_glucose_g_lquantitative continuousfasting blood glucose, g/L
hypertensionqualitative nominalYes if SBP ≥ 140 mmHg

Format: comma separator, decimal point, UTF-8 encoding — jamovi opens it with no settings. In Excel, use Data → From Text/CSV if the columns are not split.

Figures of the session (2) — download them for your own notes
jamovi workshop — session 2

Check the type of every variable in the cohort, then look at the shape of two measurements and test their normality.

  1. 1

    Check the type of each variable

    • Open cohort_efm1_2026.csv. In the Data tab, the icon in the column header shows the type: ruler = continuous, bars = ordinal, “a” = nominal.
    • Double-click physical_activity → type Ordinal, then order the levels Low < Moderate < High.

    Expected result: Three nominal (sex, smoking, hypertension), one ordinal (physical_activity), six continuous, one identifier.

  2. 2

    Is age normally distributed?

    • Exploration → Descriptives: age in Variables. Plots: histogram with Density. Statistics → Normality: Shapiro-Wilk.
    • Apply the 68 – 95 – 99.7 rule: compute mean ± 2 SD and check that about 95% of the patients fall inside.

    Expected result: Mean 48.2, SD 11.5: 95% of the patients expected between 25 and 71 years.

  3. 3

    Is blood glucose normally distributed?

    • Same thing for fasting_glucose_g_l: histogram with density and Shapiro-Wilk.

    Expected result: Shapiro-Wilk p = 0.120: normality is not rejected. Mean 0.90 ± 0.20 g/L.

  4. 4

    See the fluctuation yourself

    • Data tab → Filters → id <= 30: the mean age of the first 30 patients. Then id > 170: the last 30. Two samples, two means.