Foundations of Clinical Research: From Clinical Question to Publication
Vương Mỹ Lượng & Bernard Osang’ir
Neudata Consulting Ltd

Part 1
QUICK QUIZ · 10 min
Q1. Prospective cohort
Q2. Confounding by indication
Q3. RR 0.67, NNT 10
KEY MESSAGE Case-control starts from the outcome. A cohort starts from the exposure.
Bad data cannot be rescued by good statistics.
5.1 Good data by design | 35 minutes
The same analysis on data from a poorly designed and a well-designed study.
KEY MESSAGE Good data come from a well-designed study. No analysis can fix poor data.
Numbers are measured (first two cards). Categories are groups (last three). Time-to-event combines how long and whether it happened.
Continuous
Count
Binary
Nominal
Ordinal
KEY MESSAGE The variable type decides the CRF box, the summary and the test.
QUICK QUIZ · 3 min
Choose
OUTPUT One poll vote per variable
| Variable | Type | Why |
|---|---|---|
| Heart rate | Continuous | A measured number |
| GCS (3-15) | Ordinal | Ordered levels, often analysed as a number |
| Blood group | Nominal | Categories with no order |
| Ventilated on day 1 | Binary | Two options: yes or no |
| Time to extubation | Time-to-event | Some patients are never extubated |
KEY MESSAGE The variable type decides the CRF box, the summary and the test.
A case report form (CRF) question must have only one possible reading.
The variable ‘cumulative fluid balance’ in five decisions:
What?
When?
Unit?
Format?
Missing?
KEY MESSAGE Answer what, when, unit, format and missing before the first patient.
Write the form before the first patient, then test it on five patients.
Only what you need
One question, one answer
Units and timing
Closed answers
Pilot it
KEY MESSAGE If two colleagues can fill an item differently, rewrite it.
| Variable name | Label (meaning) | Type | Unit / codes | Allowed values |
|---|---|---|---|---|
| fb_d5 | Cumulative fluid balance, day 5 | Continuous | ml/kg | -100 to 300 |
| age | Age at ICU admission | Continuous | years | 18 to 110 |
| sex | Sex | Binary | 1 = male, 2 = female | 1, 2 |
| src | Main source of infection | Nominal | 1 lung, 2 urine, 3 abdomen, 4 other, 9 unknown | 1 to 4, 9 |
| died28 | Died by day 28 | Binary | 0 = alive, 1 = died | 0, 1 |
Example rows for the fluids-in-septic-shock study. The data dictionary is the instruction manual for your dataset.
Four simple checks catch most data-entry errors.
Range check
Consistency check
Logic check
Completeness check
KEY MESSAGE Check data while the patient is still in the unit, not a year later.
Two safe routes from the patient to one secure database.
Paper CRF
Electronic data collection (EDC)
Secure database
KEY MESSAGE Check at entry, enter twice if on paper, and log every change.
KEY MESSAGE Missing data are rarely random: the sickest patients go missing first.
Prevention is the only reliable cure.
Fewer items
Clear form
Train
Check weekly
Chase early
KEY MESSAGE Plan who completes, checks and chases each form before you start.
WHOLE-CLASS TASK · 7 min
The four checks
OUTPUT Work alone (3 min): rewrite the four items, using the four checks
One realistic dataset, five research questions.
5.2 Meet the course dataset FLUID-ICU | 25 minutes
A multicentre prospective cohort in 4 intensive care units (ICUs), January 2023 to December 2024.
Who
Exposure
Primary outcome
Also recorded
KEY MESSAGE Question: is a positive fluid balance by day 3 associated with 28-day death?
FLUID-ICU (simulated): who is included at each step, and why not.
Raw file
Enrolled
Exposure analysis
Complete cases
KEY MESSAGE Every paper reports this flow: who was included at each step, and why not.
| Problem | Raw file (as sent) | Clean file (01_clean.R) |
|---|---|---|
| Sex | 8 spellings: M, m, male, F, f … | Male / Female |
| Yes / No | Yes, Y, yes, 1 | No, N, no, 0 | Yes / No |
| Admission date | 2023-03-14 | 14/03/2023 | 14-Mar-2023 | 2023-03-14 |
| Lactate, ICU C | 23.4 (mg/dL) | 2.6 (mmol/L) |
| Missing codes | 999 | -99 | missing (NA) |
| Impossible | age 210 | weight 7 kg | output -2990 ml | missing + query to site |
| Duplicates | 623 rows (3 IDs twice) | 620 patients |
KEY MESSAGE Real data arrive messy: clean them with a script, never by hand.
LIVE DEMO · 8 min
Watch for
cleaning_log.md: one row for every change made to the raw data.
The rule
Each row says
Queries
What is left
KEY MESSAGE Anyone who checks the data must be able to trace every number back to the raw data.
In class we work through all five together. You choose one when the manuscript brief arrives, before Session 6.
Q1 Mortality
Q2 Kidneys
Q3 Ventilation
Q4 Lactate
Q5 ICU stay
KEY MESSAGE We give you the results. You write the Results section for the question you choose.
WHOLE-CLASS TASK · 4 min
PECO
OUTPUT Work alone (2 min): write Q1 as one PECO sentence, with the outcome and exposure types

Break
15 min
Before comparing groups, describe them.
5.3 Describing and showing data | 35 minutes
ICU stay of 7 patients (days): 1, 2, 2, 3, 4, 6, 24
Line up
Median
Mean
Compare
KEY MESSAGE One very long stay moves the mean a lot and the median not at all.
KEY MESSAGE For skewed data like length of stay, the median describes the typical patient.
KEY MESSAGE Report mean (SD) or median (IQR): never mix the pairs.
KEY MESSAGE Most clinical data cluster around a typical value or have a long tail. Check which.
QUICK QUIZ · 3 min
Choose
OUTPUT One poll vote per item: the right summary for each variable type
Median (IQR)
Mean (SD)
n (%)
n (%) per stage
KEY MESSAGE Skewed: median (IQR). Bell-shaped: mean (SD). Categories: n (%).
KEY MESSAGE Choose the graph from the variable type, not from the software menu.
Same 48 patients, two pictures.
| Characteristic | Restrictive (n = 24) | Usual care (n = 24) |
|---|---|---|
| Age, years, mean (SD) | 64 (11) | 66 (12) |
| Male, n (%) | 15 (63) | 16 (67) |
| SOFA score, median (IQR) | 9 (7-11) | 9 (6-12) |
| Lactate, mmol/L, median (IQR) | 3.1 (2.2-4.8) | 2.9 (2.0-5.1) |
| Source: lung, n (%) | 11 (46) | 10 (42) |
Illustrative numbers. Symmetric: mean (SD). Skewed: median (IQR). Categories: n (%). SD = standard deviation. IQR = interquartile range. SOFA = Sequential Organ Failure Assessment. Ask: who were the patients, and were the groups alike at the start?
Rules: units and summary in the row label, n per column, consistent decimals, footnotes.
Before comparing groups, describe them: now with real numbers.
5.4 Describe the course dataset | 25 minutes
LIVE DEMO · 6 min
Same rules as 5.3
n = 618 | Negative balance n = 245 | Positive balance n = 373 | |:—|:—|:—|:—| | Age, years, mean (SD) | 62.6 (15.2) | 64.6 (15.0) | 61.4 (15.2) | | Male sex, n (%) | 375 (61%) | 143 (58%) | 232 (62%) | | Heart failure, n (%) | 97 (16%) | 54 (22%) | 43 (12%) | | SOFA score, median (IQR) | 7 (5, 9) | 6 (4, 8) | 8 (6, 10) | | Lactate, mmol/L, median (IQR) | 2.6 (1.7, 3.7) | 2.2 (1.4, 3.0) | 2.9 (1.9, 4.0) | | Vasopressor, n (%) | 266 (43%) | 61 (25%) | 205 (55%) | | Mechanical ventilation, n (%) | 313 (51%) | 97 (40%) | 216 (58%) |
KEY MESSAGE The positive-balance group was sicker at baseline: a warning for Session 6.
KEY MESSAGE A continuous exposure, cut at 0 ml/kg into negative and positive balance.
KEY MESSAGE Dots plus box show the overlap and the shift: confounding you can see.
KEY MESSAGE Mean 7.5 vs median 6.2 days: report the median and IQR.
WHOLE-CLASS TASK · 10 min
Check
OUTPUT Work alone (5 min): answer questions 1 to 5, ending with two Results sentences
Modelled on the running example (a restrictive fluids trial).
Variables table
Mini-CRF
Data dictionary
Data management
KEY MESSAGE Today: what you will collect and how you will keep it safe.
PROPOSAL BUILDER · 30 min
Use these tools
OUTPUT Work alone (10 min): draft the variables table for your own question (the other parts at home)
Twelve words you should now be able to explain to a colleague.
Collect
Protect
Describe
Show
KEY MESSAGE If one word is unclear, ask now or look it up in the glossary.
Three messages to take home.
Design the data
Keep it clean
Describe honestly
KEY MESSAGE Good analysis starts with good data, described honestly.
DISCUSSION · 5 min
Next Saturday: Session 6
OUTPUT Exit answer in the chat
Extra slides: use if time allows, or for self-study.
Not needed to follow Session 6
Four habits that protect your data and your future paper.
Coding
Versions
Backups
Data sharing
KEY MESSAGE Never edit the raw file: keep it, copy it, date it, back it up.
KEY MESSAGE Bars start at zero, one axis per graph, and no 3-D effects.

Copyright © Neudata, 2026
All property rights and copyright are reserved.
This presentation contains proprietary data, information, and materials developed by Neudata for dedicated use only and may not be communicated, copied, reproduced, distributed, published, or cited, in whole or in part, without the prior written consent of Neudata. Where explicit written permission has been granted, appropriate attribution must be included, followed by “by courtesy of Neudata”.
Any unauthorized use or infringement of these materials may give rise to legal action and claims for damages, without prejudice to any other rights of Neudata, including rights relating to patents, trademarks, or other forms of intellectual property protection.

Neudata | #ClearDataClearImpact