Midterm Review (Lectures 1-6)
The Scientific Method and Biostatistics Paradigm
The scientific method involves competing hypotheses regarding a natural phenomenon or underlying truth. Data provide empirical evidence in support of or against one or more hypotheses based on relative probabilities, where a higher probability under a hypothesis yields greater support.
Biostatistics utilizes sample data to draw formal statistical inferences about the underlying truth, as well as to generate new hypotheses, design scientific studies, explore patterns in data, and develop prediction models.
Variables represent characteristics that can take on different values across units of observation:
Random variables are variables whose observed values arise partly as a result of chance mechanism.
Response variables (dependent variables) are outcomes of interest investigated relative to explanatory variables (independent variables or predictors).
Associations and inter-relationships describe the tendency for specific values of one variable to occur together with specific values of another variable:
Conditional probability evaluates the likelihood of an event occurring given that another event has occurred.
Associated or dependent events satisfy .
Inter-relationships are quantified using metrics such as Relative Risk (Risk Ratio), contingency tables, side-by-side boxplots, and stem-and-leaf displays.
Classification of variable types:
Quantitative variables express amounts or quantities and are divided into:
Discrete quantitative variables: Variables with distinct gaps between attainable values (e.g., whole numbers or counts such as number of deaths, number of cases, or number of children).
Continuous quantitative variables: Variables theoretically measured on a continuum without gaps (e.g., birthweight, body mass index [BMI], age, or years of education).
Qualitative variables express attributes or qualities and are divided into:
Nominal variables: Categorical variables lacking any intrinsic order (e.g., ethnicity).
Ordinal variables: Categorical variables with a clear ordered ranking (e.g., Likert scale responses, or educational level categorized as , high school graduate, or ).
Dichotomous or binary variables contain exactly categories, whereas polytomous variables contain more than categories.
Conceptual framework of error and bias:
Variation: Differences among observed measurements, partitioned into natural variation (inherent biological diversity) and measurement variation (errors introduced by instruments or observers).
Bias: The systematic difference between the expected value of a measurement and the true underlying value:
Variance: Quantifies the degree of dispersion or spread of individual measurements around their average.
Mean Squared Error (MSE): Combines variance and bias into a single metric:
Causality is evaluated using counterfactual logic, comparing an observed outcome against what would have occurred to the same unit under a different exposure condition.
Measurement Calibration and Bias Analysis
Analysis of instrument calibration error on longitudinal study data:
In a study evaluating muscle strength at baseline and , measurements were taken by two different technicians using the same device.
At baseline, the device was correctly calibrated to read at rest. At , the device was erroneously calibrated to read at rest.
Impact on collected data: Every measurement recorded at contains an additive systematic error of . Consequently, calculated changes in strength measurements between baseline and are biased.
Systematic calibration offsets do not alter the continuous scale of measurement, nor do they inflate or reduce the natural variability or measurement variability among participants; they shift the mean value, introducing systematic bias.
Exploratory Data Analysis (EDA)
Exploratory Data Analysis provides systematic techniques for organizing, summarizing, and visualizing raw data:
Stem-and-leaf display: Graphical layout that organizes numerical values to display distribution shape and density while retaining individual data values.
Box-and-whiskers plot: Visual summary that highlights distribution symmetry, central tendency, quartiles, variability, and extreme values:
First Quartile ( or ): The percentile, representing the middle value of the lower of observations.
Second Quartile ( or ): The median, representing the exact middle value ( percentile) of the dataset.
Third Quartile ( or ): The percentile, representing the middle value of the upper of observations.
Interquartile Range (IQR): Measure of middle spread calculated as .
Outlier Identification Fences:
Whiskers extend from the box edges ( and ) to the lowest and highest observed data points falling inside the upper and lower fences. Fences are calculation boundaries and are never explicitly drawn on the plot.
Summary metrics for descriptive statistics:
Measures of central location:
Mean: Arithmetic average.
Median: Middle value of ordered data.
Mode: Most frequently occurring value.
Relationship to skewness:
Symmetric distribution: .
Positively skewed distribution (skewed to the right): .
Negatively skewed distribution (skewed to the left): .
Measures of dispersion and spread: Range, Interquartile Range (IQR), Standard Deviation ( or ), and Variance ( or ).
Categorical and relative summaries: Frequency, relative frequency, cumulative frequency, cumulative relative frequency, and percentiles.
Empirical distribution evaluation using Quantile-Quantile (Q-Q) plots:
Q-Q plots compare sample quantiles against theoretical quantiles of a specified reference distribution (such as the Standard Normal distribution).
If sample data strictly follow a normal distribution, points align along the diagonal standard identity line.
Right-skewed data exhibit an upward curved deviation at the upper end, where observed sample quantiles increase much faster than theoretical normal quantiles.

Identification of Q-Q plot for right-skewed data:
For an empirical distribution with strong positive skewness (right-skewed histogram with long right tail extending to ), the correct matching Q-Q plot is Plot D.
Plot D displays significant upward curvature in the upper right tail, reflecting extreme positive sample values relative to standard normal theoretical quantiles.
Fundamentals of Probability
Probability provides a quantitative measure of uncertainty associated with events or outcomes.
Theoretical frameworks for probability interpretation:
Classical interpretation: where is the total number of equally likely and mutually exclusive outcomes in a sample space, and is the number of outcomes possessing characteristic E$.\n - Frequentist interpretation:\n P(E) \approx \frac{m}{n}\n where nmE$.
Fundamental rules and axioms of probability:
Axiom 1 (Probability Range): For any event , . The sum of probabilities over all mutually exclusive sample space outcomes equals :
Rule 2 (Mutually Exclusive Events): Events and are mutually exclusive if they cannot occur simultaneously, meaning:
Rule 3 (Independent Events): Events and are independent if the occurrence of provides no information about the probability of :
Rule 4 (General Addition Rule):
Special Case: If and are mutually exclusive, then:
Rule 5 (Conditional Probability): The conditional probability of given is defined when as:
Rule 6 (General Multiplication Rule):
Special Case: Events and are independent if and only if , yielding:
Rule 7 (Bayes' Theorem):
Clinical Probability Applications: Inflammation and Frailty
Context from an epidemiological study on aging in Italy ( older adults evaluated at baseline):
Biomarker definition: Interleukin-6 (IL-6) concentration in blood. Values of or higher are defined as high inflammation; values below are classified as normal.
Frailty assessment: Physical Frailty Phenotype (PFP) categorizes participants as robust (best status), pre-frail (intermediate), or frail (worst status).

Summary data breakdown from Table 2 ():
Robust status ( total): normal inflammation ( row percentage), high inflammation ( row percentage).
Pre-frail status ( total): normal inflammation ( row percentage), high inflammation ( row percentage).
Frail status ( total): normal inflammation ( row percentage), high inflammation ( row percentage).
Overall study totals: normal inflammation ( overall), high inflammation ( overall), grand total ().
Problem 13 Analysis: Probability that a person with high inflammation is frail.
This represents a conditional probability: .
Calculation:
Correct symbolic characterization: .
Problem 14 Analysis: Probability that a randomly selected participant from the total sample of is pre-frail and has normal inflammation.
This represents a joint probability: .
Calculation:
Correct option: .
Discrete Probability Distributions
A probability distribution describes the probabilities assigned to all possible numeric outcomes of a random variable under specified model parameters.
Binomial Probability Distribution:
Conditions and assumptions:
Experiment consists of a fixed number of identical, independent trials.
Each trial results in one of two mutually exclusive outcomes: success or failure.
Probability of success remains constant across all trials; probability of failure is q = 1 - p$.\n - Random variable Xn trials.\n - Binomial probability mass function formula:\n P(X = x) = \binom{n}{x} p^x (1 - p)^{n-x} = \frac{n!}{x!(n-x)!} p^x q^{n-x}\n- Problem 17 Analysis (Binomial Calculation):\n - Clinical practice parameters: True proportion of frail individuals is 0.100.30 among those with high inflammation.\n - Consider 5n = 5p = 0.30q = 0.70).\n - Probability that exactly 35 individuals with high inflammation are frail:\n P(X = 3) = \binom{5}{3} (0.30)^3 (0.70)^2 = 10 \times (0.30)^3 \times (0.70)^2\n- Problem 18 Analysis (Combined Binomial Calculation):\n - Evaluate 1055 with high inflammation) seen on a given day.\n - Find the probability that exactly 210 individuals are frail.\n - Let X_H \sim \text{Binomial}(5, 0.30)X_N \sim \text{Binomial}(5, 0.10).\n - The total frail count X_H + X_N = 2 can occur via three mutually exclusive scenarios:\n 1. Scenario 1: 20X_H = 2, X_N = 0).\n 2. Scenario 2: 11X_H = 1, X_N = 1).\n 3. Scenario 3: 02X_H = 0, X_N = 2).\n - Summing the joint probabilities across scenarios yields:\n \binom{5}{2} (0.30)^2 (0.70)^3 \binom{5}{0} (0.10)^0 (0.90)^5 + \binom{5}{1} (0.30)^1 (0.70)^4 \binom{5}{1} (0.10)^1 (0.90)^4 + \binom{5}{0} (0.30)^0 (0.70)^5 \binom{5}{2} (0.10)^2 (0.90)^3\n- Poisson Probability Distribution:\n - Conditions and assumptions:\n - Models counts of rare events occurring across continuous intervals of time, space, or volume where there is no fixed upper bound or count denominator.\n - Random variable X represents the total event count.\n - Parameter \mu represents the expected mean number of events in the specified interval.\n - Primary applications for determining parameter \mu:\n - Direct specification of expected event count \mu$.
Given event rate per unit time and duration , then \mu = \lambda \cdot t$.\n - Approximation to the Binomial distribution when sample size np \mu = n p$.
Poisson probability mass function formula: where e \approx 2.7183$.\n- Problem 20 Analysis (Poisson Calculation):\n - Given rate \lambda = 1t = 1\,\text{year} = 12\,\text{months}$.
Expected yearly parameter:
Probability of observing fewer than new cases in the next year ():
Continuous Probability Distributions: Normal Distribution
Characteristics of the Normal Distribution:
Continuous distribution modeling continuous random variables X$.\n - Fully defined by two parameters: mean \mu\sigmaX \sim N(\mu, \sigma^2).\n - Symmetric, unimodal, bell-shaped curve centered at X = \mu$.
Influence of parameters on distribution shape:
Holding constant while altering shifts the location of the curve along the horizontal axis without modifying its shape.
Holding constant while altering changes the spread of the curve: larger flattens and widens the curve, whereas smaller creates a taller, narrower peak.
Standard Normal Distribution ():
Special normal distribution with mean and standard deviation \sigma_Z = 1$.\n - Any raw score XN(\mu, \sigma^2)Z-score using:\n Z = \frac{X - \mu}{\sigma}\n - Interpretation of ZX\mu$.
Mathematical properties of the Standard Normal curve:
Total area beneath the probability density function equals 1.0$.\n - Symmetry implies area to the left of Z = 00.50.5$.
Symmetry of tail areas:

Empirical probability bounds and critical -values:
encompasses approximately of total area (; tail area ).
encompasses exactly of total area (; tail area ).
(or ) encompasses of total area (; tail area ).
Standard normal tail probabilities lookup table:
Normal Distribution Worked Problems: Sleep Duration Data
Table 1 summary statistics for weekend sleep (hours) by general health status:
Excellent / Very Good health status (): Mean = , Standard Deviation = , , , , Minimum = , Maximum = 13$.\n - Good health status (n = 1258.10\,\text{hours}1.06\,\text{hours}Q_1 = 7Q_2 = 8Q_3 = 9611$.
Fair / Poor health status (): Mean = , Standard Deviation = , , , , Minimum = , Maximum = 12$.\n- Problem 7 Evaluation:\n - Comparing general health categories reveals that medians are identical across all groups (Q_2 = 8\,\text{hours}7.978.108.22\,\text{hours}).\n - Conclusion: Number of hours of weekend sleep does not appear to differ much by level of self-reported health status.\n- Problem 11 Evaluation (Normal IQR Calculation):\n - Target population: Good health status group with assumed normal distribution, mean \mu = 8.10\,\text{hours}\sigma = 1.06\,\text{hours}.\n - Interquartile Range (IQR) spans the middle 50\%25\text{th}75\text{th} percentile).\n - Corresponding standard normal cutoff for the upper 25\%Z = 0.6745P(Z > 0.6745) = 0.25).\n - Interval formula:\n \text{Span} = \mu \pm Z \sigma = 8.10 \pm 0.6745 \times (1.06)\n 8.10 \pm 0.715 = 7.385 \text{ to } 8.815\,\text{hours}\n - Correct option: 7.38 \text{ to } 8.82\,\text{hours}.\n- Problem 12 Evaluation (95th Percentile Calculation):\n - Determine the threshold sleep duration such that only 5\% of students sleep more than this value in the Good health group (\mu = 8.10, \sigma = 1.06).\n - Top 5\%P(Z > 1.645) = 0.05Z = 1.645$.
Transforming back to original measurement units:
Correct formula option: .
Introduction to Statistical Inference and Sampling
Definitions in statistical inference:
Statistical Inference: The systematic process of reaching conclusions concerning all members of an entire class or population based on observations collected from only a subset of them.
Population: The complete collection of individuals, objects, or measurements about which conclusions are to be drawn.
Parameter: A fixed, numerical descriptor summarizing a population characteristic (e.g., population mean , population variance ).
Sample: A observed subset or sub-collection of units selected from the target population.
Statistic: A numerical descriptor computed directly from sample observations (e.g., sample mean , sample variance ). Statistics serve as sample estimators for population parameters.
Core relationship (Problem 2):
Sample statistics are used to draw conclusions about population parameters.
Primary objectives of effective sampling design:
Representativeness: Ensuring the sample functions as a miniature replica of the target population so that population features are accurately reflected.
Subpopulation coverage: Securing sufficient sample sizes across key sub-groups.
Precision: Achieving adequate statistical precision to answer core research questions.
Feasibility: Balancing theoretical sampling goals with practical operational feasibility and costs.
Sampling methodologies:
Simple Random Sampling (SRS): Every possible distinct sample of size from a population has an equal probability of selection.
SRS with replacement: Equivalent to sampling from an infinitely large population.
SRS without replacement: Standard real-world practice where sampled units are not returned to the pool. When sample size is small relative to population size , it is approximated as sampling with replacement.
Systematic Sampling: Selecting units at fixed regular numeric intervals from an ordered sampling frame.
Stratified Random Sampling: Dividing the population into mutually exclusive strata and drawing independent random samples within each stratum.
Complex designs: Cluster sampling, complex multi-stage sampling, and deliberate oversampling of minority groups.
Design-Based Inference Principles:
Population values are considered fixed constants ( observations), and randomness enters purely through the probabilistic sampling selection mechanism.
Properties under Simple Random Sampling without replacement:
The sample mean is an unbiased estimator of the population mean \mu$.\n - The expected value of theoretical sample means equals the true population mean.\n - The variance of theoretical sample means is approximately equal to the population variance divided by sample size (\frac{\sigma^2}{n}Nn$.
When sample size constitutes a substantial proportion of population size , a Finite Population Correction (FPC) factor is applied to variance calculations.
Principles for Non-SRS designs:
The unweighted sample mean is generally biased if simple random sampling is not employed.
Inverse Probability Weighting (IPW) must be incorporated into analyses: individuals under-represented in the sampling design are assigned higher analytical weights (and vice versa).
Variance estimation under complex designs requires specialized survey statistical software.
Critical distinction: Sampled population (the actual frame from which the sample was drawn) versus Target population (the broader population to which findings are generalized).