🔑 Key Words First
glossaryPlain-language glossary
| Word | Plain meaning |
|---|---|
| Probability | The chance of something happening, from 0 (never) to 1 (certain) |
| Event | One outcome or set of outcomes you are asking about |
| Independent events | Two events where knowing one happened tells you nothing about the other |
| Dependent events | Two events where one changes the chance of the other |
| Mutually exclusive events | Two events that cannot both happen at once |
| Conditional probability | The chance of an event given that another event has already happened |
| Complement | Everything that is not the event (1 minus its probability) |
| Data set | A list of measured values |
| Distribution | A picture or description of how often each value occurs |
| Central tendency | A single value that represents the middle of the data |
| Mean | The ordinary average: total divided by count |
| Median | The middle value when data are lined up in order |
| Mode | The value that appears most often |
| Outlier | A value far away from the rest |
| Skew | Lopsidedness of a distribution, with a long tail on one side |
| Variability (spread) | How far values scatter around the center |
| Range | Highest value minus lowest value |
| Deviation | How far one value is from the mean |
| Variance | The average of the squared deviations |
| Standard deviation (SD) | The typical distance of values from the mean; the square root of variance |
| Percentile | The percent of values that fall below a given value |
| Normal (Gaussian) distribution | The symmetric bell-shaped curve |
| Z score | How many standard deviations a value sits above or below the mean |
| Scale of measurement | The type of information a number carries |
| Nominal data | Labels or categories with no order |
| Ordinal data | Categories with a natural order but unequal gaps |
| Interval data | Numbers with equal gaps but no true zero |
| Ratio data | Numbers with equal gaps and a true zero |
🧭 Big Picture
overview- Biostatistics turns patient and study data into usable answers
- Two jobs:
- Describe the data you have
- Judge what the data say about the wider world
- This note covers the first job and the groundwork for the second
- Building order:
- Probability rules
- Center of the data
- Spread of the data
- The normal curve and z scores
- Types of scale
- The second part of the topic (confidence intervals and tests) depends on all of these
Everyday analogy: a weather forecast
- Probability is the chance of rain tomorrow.
- Central tendency is the typical daily temperature.
- Spread tells you how wildly the temperature swings.
- A z score tells you how unusual today's temperature is for this season.
🎲 Probability Rules
foundations- Where this fits: every later statistic is built on how chances combine
Basic facts
- Probability is written as a number from 0 to 1 or as a percent
- 0 means impossible; 1 means certain
- Complement rule: P(not A) = 1 − P(A)
- Example: 10% chance of disease means 90% chance of no disease
Which rule to use
| Situation | Key word | Operation | Formula |
|---|---|---|---|
| Both events happen, independent | AND | Multiply | P(A and B) = P(A) × P(B) |
| Both events happen, dependent | AND | Multiply with updated chance | P(A and B) = P(A) × P(B given A) |
| One or the other, cannot both occur | OR (mutually exclusive) | Add | P(A or B) = P(A) + P(B) |
| One or the other or both, overlap possible | OR (not exclusive) | Add, then subtract the overlap | P(A or B) = P(A) + P(B) − P(A and B) |
| Chance of A given B already happened | GIVEN | Divide | P(A given B) = P(A and B) ÷ P(B) |
Independent events
- Definition: one event gives no clue about the other
- Example: a trait with 20% frequency and a different trait with 10% frequency, unrelated
- Chance a random person has both:
- 0.20 × 0.10 = 0.02
- 2%
- Example: three unrelated people each have a 10% chance of a disease
- Chance all three have it: 0.10 × 0.10 × 0.10 = 0.001
Dependent events
- Definition: the first result changes the odds of the second
- Example: a bag holds 4 red and 6 blue marbles; two are drawn without putting any back
- First red: 4 ÷ 10
- Second red, given first was red: 3 ÷ 9
- One red is gone, one marble is gone
- Both red: 4/10 × 3/9 = 12/90 ≈ 13%
Mutually exclusive events
- Definition: if one happens, the other cannot
- Example: one roll of a die shows 1 or 2
- Chance of 1 or 2: 1/6 + 1/6 = 1/3
- Exclusive events have no overlap, so nothing is subtracted
- Exclusive events are never independent
- Why: if A happens, B's chance drops to zero
Events that are not mutually exclusive
- Example: 25% of a clinic have high blood pressure and 10% have diabetes
- Assume the two are unrelated
- Both: 0.25 × 0.10 = 0.025
- Either or both: 0.25 + 0.10 − 0.025 = 0.325
- Without subtracting, the overlap would be counted twice
Plain-language picture
- Two overlapping circles on a page, one for each event.
- Adding the circles' areas counts the overlap lens twice.
- Subtracting one copy of the lens fixes the count.
Conditional probability
- Definition: the chance of an outcome among those who already passed an earlier step
- Example: 200 patients start follow-up
- 120 are alive at 1 year
- 90 are alive at 2 years
- Chance of living to 2 years, given alive at 1 year:
- 90 ÷ 120 = 75%
- The denominator is the 120 survivors, not the original 200
- Example link: predictive values of a test are conditional probabilities
- PPV = chance of disease given a positive test
At least one event
Find chance none happen→Multiply the 'no' chances→Subtract from 1
- Three people, each with a 10% chance of a trait
- Chance none have it: 0.9 × 0.9 × 0.9 = 0.729
- Chance at least one has it: 1 − 0.729 = 0.271
Exam traps
- Never add probabilities of events that can both happen without subtracting the overlap.
- A conditional probability uses the smaller group as its denominator.
- 'Both' means multiply; 'either' means add.
🎯 Center of the Data and Skew
descriptive- Where this fits: once data are collected, the first summary is where the middle sits
Three measures of the middle
| Measure | How to find it | Strength | Weakness |
|---|---|---|---|
| Mean | Add all values, divide by how many | Uses every value; basis for most tests | Dragged by outliers |
| Median | Middle value after sorting (50th percentile) | Not moved by outliers | Ignores size of extreme values |
| Mode | Most frequent value | Works for categories too | May be absent or repeated |
Worked example
- Data: 3, 4, 4, 6, 8, 9, 30
- Sum = 64 and count = 7
- Mean = 64 ÷ 7 ≈ 9.1
- Median = 6 (fourth value)
- Mode = 4
- The single value 30 pulls the mean far above the median
- With an even count, the median is the average of the two middle values
Distribution shapes
| Shape | Tail | Order of measures | Example |
|---|---|---|---|
| Symmetric (bell) | Equal both sides | Mean = median = mode | Heights in adults |
| Positive (right) skew | Long tail to the high side | Mean > median > mode | Hospital stay length; income |
| Negative (left) skew | Long tail to the low side | Mean < median < mode | Age at death in a developed country |
Tail pulls→Mean moves toward the tail→Median moves less→Mode stays at the peak
Why the mean moves most
- The mean counts how large each value is.
- The median only counts how many values are above or below.
- A few giant values change size a lot but change count very little.
- Skew is named for the tail, not for the hump
- For skewed data, the median is the better summary
Exam traps
- Positive skew means the tail points right, not that the hump is on the right.
- In skewed data, report the median instead of the mean.
↔️ Spread of the Data
descriptive- Where this fits: the center alone is not enough; two groups can share a center and differ in spread
Measures of spread
| Measure | Meaning | Comment |
|---|---|---|
| Range | Highest minus lowest | Easy but unstable; set by two extreme values |
| Interquartile range | Distance between the 25th and 75th percentiles | Pairs with the median; ignores extremes |
| Variance | Average squared deviation | Units are squared, hard to interpret |
| Standard deviation (SD) | Square root of the variance | Same units as the data; pairs with the mean |
Finding the standard deviation
Subtract mean from each value→Square each result→Add them up→Divide by n − 1→Take the square root
- Why squaring: positive and negative deviations would otherwise cancel to zero
- Why n − 1 for a sample: it corrects for a sample underestimating the true spread
- Tiny example: values 2, 4, 6 with mean 4
- Deviations: −2, 0, +2
- Squares: 4, 0, 4, sum = 8
- Variance = 8 ÷ 2 = 4
- SD = 2
- Larger SD means values are more scattered
- SD of zero means every value is identical
- Two curves with the same mean and different SDs: the larger SD gives a flatter, wider curve
- Two curves with the same SD and different means: same shape, shifted left or right
Everyday analogy: two archery clubs
- Both clubs average the center of the board.
- Club one's arrows cluster tightly; club two's arrows spray widely.
- Same average, very different spread.
Exam trap
- Calculating SD is not usually tested; knowing how it shapes the normal curve is.
🔔 The Normal Curve and Z Scores
distributions- Where this fits: mean and SD together fully describe a normal curve
Features of the normal distribution
- Bell-shaped and symmetric
- Mean = median = mode at the center
- Mean sets where the curve sits
- SD sets how wide the curve is
- Tails never touch the axis
- Total area under the curve = 100% of cases
The 68–95–99.7 pattern
| Range around the mean | Share of values inside | Share outside |
|---|---|---|
| ±1 SD | About 68% | About 32% |
| ±2 SD | About 95% | About 5% (2.5% in each tail) |
| ±3 SD | About 99.7% | About 0.3% |
−3 SD: 0.15% below→−2 SD: 2.5% below→−1 SD: 16% below→Mean: 50% below→+1 SD: 84% below→+2 SD: 97.5% below
Z score
- Z = (value − mean) ÷ SD
- Positive z: above the mean
- Negative z: below the mean
- Z lets you compare values from different scales
- Example: exam A, score 70, mean 60, SD 5
- z = (70 − 60) ÷ 5 = +2
- Example: exam B, score 80, mean 70, SD 10
- z = (80 − 70) ÷ 10 = +1
- Better relative performance: exam A, despite the lower raw score
Working backward from a range
- Systolic pressures: 95% fall between 100 and 140 mmHg
- The mean sits halfway: 120 mmHg
- That range is 4 SD wide (−2 to +2): 40 ÷ 4 = 10
- SD = 10 mmHg
- A pressure of 150 is 3 SD above the mean, so very rare
Counting people
- A society admits people more than 2 SD above the mean (top 2.5%)
- Out of 800 random people: 0.025 × 800 = 20 eligible
Why 'normal' matters
- Many body measurements cluster in a bell shape.
- Sample averages become bell-shaped even when raw data are not, if the sample is large enough.
- This is why confidence intervals and many tests work.
Exam traps
- Percentile 97.5 corresponds to about +2 SD, and percentile 84 to about +1 SD.
- Everything above −1 SD is 84% of cases, not 68%.
- The 68–95–99.7 numbers apply only to a normal curve.
📐 Scales of Measurement
data types- Where this fits: the type of scale decides which summary and which test make sense
Nominal→Ordinal→Interval→Ratio
- Each step to the right carries more information
- Any scale can be reduced to a lower one, never raised
| Scale | What the numbers tell you | Examples | Typical summary |
|---|---|---|---|
| Nominal (categorical) | Which group; no order | Blood type, treatment versus placebo, sex, dead or alive | Counts, proportions, mode |
| Ordinal | Order, but gaps are unequal | Cancer stage, pain rank, class standing, Likert agreement scale | Median, percentiles |
| Interval | Order and equal gaps; zero is arbitrary | Temperature in Celsius, calendar year | Mean, SD |
| Ratio | Order, equal gaps and a true zero | Weight, blood glucose, heart rate, Kelvin temperature | Mean, SD, ratios make sense |
Quick sorting questions
- Can you only say 'this or that'? Nominal
- Can you rank but not say by how much? Ordinal
- Does a 5-unit step mean the same anywhere on the scale? Interval or ratio
- Does zero mean nothing at all? Ratio
- Nominal with only two groups is called dichotomous or binary
- Example: yes or no, alive or dead
- Why Celsius is not ratio: 20 °C is not twice as hot as 10 °C
- In practice, interval and ratio data use the same tests
Everyday analogy: a race
- Nominal: the team jersey color.
- Ordinal: finishing place (first, second, third).
- Interval or ratio: finishing time in seconds, which tells how far apart runners were.
Exam traps
- Rank order loses the size of the gaps, so it is ordinal.
- A measurement that has a meaningful mean and SD is interval or ratio.
✅ Recap
finalMost important facts
- Probability runs from 0 to 1.
- Independent events: multiply for 'and'.
- Mutually exclusive events: add for 'or'.
- Events that overlap: add, then subtract the overlap.
- Conditional probability divides by the group that already satisfies the condition.
- At least one = 1 minus the chance of none.
- Mean is pulled by outliers; median is not.
- Positive skew: tail right, mean above median.
- Negative skew: tail left, mean below median.
- Skewed data are summarized by the median.
- SD is the square root of variance and has the data's own units.
- Normal curve: 68%, 95% and 99.7% within 1, 2 and 3 SD.
- +1 SD is the 84th percentile; +2 SD is the 97.5th percentile.
- Z = (value − mean) ÷ SD.
- Nominal = categories; ordinal = ranks; interval = equal gaps; ratio = true zero.