PS1007 #2 Research Design and Analysis - Inferential Statistics (Part 1)

Foundations of Inferential Statistics
  • Descriptive Statistics Defined:

    • Purpose: Organise and summarise collected data from an observed group.

    • Research Question Addressed: "What does this sample look like?"

    • Representative Statistics and Tools: Sample means (Xˉ\bar{X} or MM), sample standard deviations (ss or SDSD), medians, interquartile ranges (IQRIQR), frequency counts, percentages, histograms, and bar graphs.

    • Analytical Scope: Pertains strictly and exclusively to the individuals from whom measurements were directly taken.

  • Inferential Statistics Defined:

    • Purpose: Use sample data to make mathematical estimates and probabilistic generalizations about a wider, unobserved population.

    • Research Question Addressed: "What can we conclude about the population based on the data from the sample?"

    • Representative Analytical Procedures: Independent and paired-samples tt-tests, Analysis of Variance (ANOVA\text{ANOVA}), chi-square (χ2\chi^2) tests of independence, regression modeling, standard errors, confidence intervals, and pp-values.

Probability and Area for Discrete Variables
  • Levels of Measurement and Discrete Categorization:

    • Data classification dictates the valid mathematical and graphical procedures applicable to an analysis.

    • Nominal Scale Characteristics:

    • Consists of mutually exclusive, qualitatively distinct named categories (e.g., superpower preference: Flying, X-ray vision, Super strength, Mind-reading).

    • Mathematical boundaries: Frequencies (counts), percentages, and mode calculations are permissible. Arithmetic means, standard deviations, and medians cannot be computed.

    • Absence of Properties: Possesses no intrinsic order (Flying≯X-ray vision\text{Flying} \ngtr \text{X-ray vision}), no constant interval or distance between categories, and no meaningful absolute zero point.

  • The Geometric Relationship Between Area, Proportion, and Probability:

    • For discrete categorical variables, the physical area occupied by an outcome on a graphical chart corresponds directly to its relative frequency in the dataset.

    • Conversion rule: Relative percentages convert to probabilities through division by 100 (P=%100P = \frac{\%}{100}), where a probability of 1.01.0 denotes absolute certainty (100%100\%) and 0.00.0 denotes impossibility (0%0\%).

The Family of Probability Distributions
  • Probability Distributions as Formal Mathematical Models:

    • Probability distributions are abstract mathematical formulations that model the expected frequencies or intervals of real-world events.

    • They originated from empirical observations of recurrent natural, physical, and behavioural regularities (e.g., intervals between rare events, distribution of physical traits).

    • Standardized mathematical structures allow researchers to extrapolate empirical sample findings to broad theoretical populations.

The Binomial Distribution and Probability Approaches
  • Properties of the Binomial Distribution:

    • Nomenclature: Derived from "bi" (two) and "nomial" (terms/names).

    • Conditions and Criteria:

    • The experiment involves a fixed number (nn) of identical trials.

    • Each trial yields exactly one of two mutually exclusive outcomes: designated as "success" or "failure".

    • The probability of success on any individual trial (pp) remains constant throughout all trials; the probability of failure is defined as q=1−pq = 1 - p.

    • Every trial is statistically independent: the outcome of any given trial exerts no influence on subsequent trials.

  • Real-World Applications Across Disciplines:

    • Medicine and Health: Drug therapeutic success rates (number of patients recovering vs. not recovering); disease screening epidemiology (number of individuals testing positive vs. negative).

    • Education: Assessment grading (number of students passing vs. failing); guessing on objective assessments (probability of scoring ≥40%\ge 40\% vs. <40%< 40\%).

The Normal Distribution and Continuous Probability
  • Mathematical Nature of the Normal Distribution:

    • The Normal (Gaussian) distribution is an idealized continuous mathematical abstraction. Empirical datasets approximate its characteristics but never achieve perfect continuity or symmetry.

  • Probability Density Function Formula: f(z)=12πe−z22f(z) = \frac{1}{\sqrt{2\pi}} e^{-\frac{z^2}{2}}

    • zz: Standardized score indicating the signed distance from the mean in standard deviation units.

    • ee: Euler's constant (≈2.71828\approx 2.71828).

    • π\pi: Mathematical ratio of circle circumference to diameter (≈3.14159\approx 3.14159).

    • 12π\frac{1}{\sqrt{2\pi}}: Normalization scaling constant ensuring that the total integrated area beneath the probability density curve equals 1.01.0.

  • Deviations from Normality:

    • Skewness: Asymmetry where scores cluster disproportionately to the left or right of the mean, often arising from floor effects (tests that are excessively difficult) or ceiling effects (tests that are excessively easy).

    • Kurtosis: Measure of peakedness and tail heaviness, categorised into broad distributions with heavy tails (platykurtic) or narrow distributions with acute peaks (leptokurtic).

Area Under the Curve (AUC) and Z-Score Standardization
  • Continuous Cumulative Density Function via Integral Calculus:

    • The cumulative probability of a continuous random variable falling below a standardized threshold zz is expressed as:
      Φ(z)=∫−∞z12πe−t22 dt\Phi(z) = \int_{-\infty}^{z} \frac{1}{\sqrt{2\pi}} e^{-\frac{t^2}{2}}\,dt

    • The probability of obtaining an outcome bounded within interval [a,b][a, b] corresponds to the definite integral between the standardized endpoints:
      AUC=Φ(z<em>b)−Φ(z</em>a)\text{AUC} = \Phi(z<em>b) - \Phi(z</em>a)

    • Where Φ(z<em>b)\Phi(z<em>b) is the total cumulative area from −∞-\infty to upper limit z</em>bz</em>b, and Φ(z<em>a)\Phi(z<em>a) is the cumulative area from −∞-\infty to lower limit z</em>az</em>a.

  • The Empirical Rule (68–95–99.7 Rule):

    • In any perfectly normal distribution:

    • Exactly 34.13%34.13\% (≈34.1%\approx 34.1\%) of observations reside between the mean and +1 σ+1\,\sigma; 68.26%68.26\% (≈68.2%\approx 68.2\%) reside within ±1 σ\pm 1\,\sigma.

    • An additional 13.59%13.59\% (≈13.6%\approx 13.6\%) reside between 1 σ1\,\sigma and 2 σ2\,\sigma; 95.44%95.44\% (≈95.4%\approx 95.4\%) reside within ±2 σ\pm 2\,\sigma.

    • An additional 2.14%2.14\% (≈2.1%\approx 2.1\%) reside between 2 σ2\,\sigma and 3 σ3\,\sigma; 99.73%99.73\% (≈99.7%\approx 99.7\%) reside within ±3 σ\pm 3\,\sigma.

    • Exactly 0.13%0.13\% (≈0.1%\approx 0.1\%) of scores fall in each extreme tail beyond ±3 σ\pm 3\,\sigma.

  • Z-Score Standardization (Transformation):

    • Converts raw scores from distinct metrics into units of standard deviation, referencing a universal Standard Normal Distribution with μ=0\mu = 0 and σ=1\sigma = 1.

    • Standardization Algorithm:
      z<em>i=X</em>i−Xˉsz<em>i = \frac{X</em>i - \bar{X}}{s}

    1. Subtract the sample mean (Xˉ\bar{X}) from the raw score (XiX_i) to calculate deviation.

    2. Divide the deviation score by the sample standard deviation (ss).

    • Worked calculations (given M=164.0 cmM = 164.0\,\text{cm}, SD=8.0 cmSD = 8.0\,\text{cm}):

    • X=164.0 cm  ⟹  z=164.0−164.08.0=0.00X = 164.0\,\text{cm} \implies z = \frac{164.0 - 164.0}{8.0} = 0.00

    • X=187.0 cm  ⟹  z=187.0−164.08.0=23.08.0=+2.88X = 187.0\,\text{cm} \implies z = \frac{187.0 - 164.0}{8.0} = \frac{23.0}{8.0} = +2.88

The Central Limit Theorem and Inferential Applications
  • The Mathematical Distinction Between Axioms and Theorems:

    • Axiom: A foundational self-evident statement accepted as undeniably true without proof (e.g., "a straight line is the shortest distance between two points").

    • Theorem: A proposition established as true through deductive logical steps and mathematical proof based on established axioms.

  • Formal Statement of the Central Limit Theorem (CLT\text{CLT}):

    • If independent random samples of size nn are drawn from any population—regardless of whether the parent population distribution is normal, uniform, severely skewed, or bimodal—possessing a finite mean (μ\mu) and finite variance (σ2\sigma^2), the sampling distribution of the sample mean (Xˉ\bar{X}) approaches a normal distribution with mean μ\mu and variance σ2n\frac{\sigma^2}{n} as sample size nn approaches infinity (n→∞n \to \infty).

  • Practical Rules of Thumb:

    • For heavily non-normal, skewed parent populations, a sample size of n≥30n \ge 30 per sample group is generally sufficient for the sampling distribution of the mean to approximate normality.

    • If the underlying parent population is already normal, the sampling distribution of the mean is normal for any sample size nn.

  • Relevance to Inferential Statistics:

    • Inferential hypothesis testing relies on sampling distributions approaching normality under the CLT\text{CLT} (including distributions of sample proportions, differences between two means, and regression coefficients).

    • This mathematical foundation allows researchers to compute standard errors, confidence intervals, and pp-values to draw generalizable inferences about broader populations.