Correlation, Regression, and Statistical Inference
Foundations of Association: Correlation and Regression
Linear vs. Curvilinear Trends:
Linear Relationship: Best fit by a straight line.
Curvilinear Relationship: Best fit by a curved line (non-linear).
Monotonicity:
Monotonic Trend: As increases, strictly increases or decreases without direction reversal (can be linear or non-linear).
Non-Monotonic Trend: As increases, reverses direction at least once.
Core Analytical Roles:
Correlation: Assesses the strength and direction of association between variables.
Linear Regression: Estimates the best-fitting line relating a predictor variable () to a criterion variable () to describe how changes when varies.
Covariance and the Pearson Correlation Coefficient
Covariance (): Measures the degree to which two variables vary together around their respective means:
Positive Covariance: Deviation scores predominantly share the same sign ( or ).
Negative Covariance: Deviation scores predominantly have opposite signs ().
Zero Covariance: Cross-products of deviation scores cancel out equally across quadrants.
Pearson Product-Moment Correlation Coefficient (): Standardizes covariance to allow comparison across variables with different scales:
Divides covariance by the product of the sample standard deviations ( and ).
Dimensionless: is unitless and strictly bounded: .
Scale Invariance: Changing units of measurement alters covariance (e.g., metric vs. imperial height/weight yielding covariances of vs. ), but leaves Pearson invariant ().
Fit vs. Slope:
Correlation depends entirely on the fit (tightness of data points around the line), not the magnitude of the slope.
A horizontal best-fitting line implies no linear association ().
Correlation is mathematically undefined when either or is a constant value, as the standard deviation is zero.
Factors Affecting Correlation
Non-Linearity: Severe non-linear patterns can result in despite strong, deterministic associations (e.g., seasonal air temperature cycles over time yielding ).
Extreme Scores (Outliers): Pearson lacks robustness to outliers; displacing as few as points out of can shift an observed correlation from to .
Restricted Range: Truncating or examining a restricted range of or can severely underestimate, overestimate, or reverse the true correlation observed across the full domain.
Heterogeneous Subgroups (Simpson's Paradox): A pattern seen within distinct subgroups disappears or completely reverses when groups are aggregated.

Subgroups differing in their means ( and ) can exhibit positive internal relationships ( or ), yet yield a negative aggregate correlation ( or ).
Varieties of Correlation Coefficients
Pearson Product-Moment Correlation (): Evaluates linear associations between two continuous variables.
Spearman Rank-Order Correlation ( or ):
Pearson computed on ranked (ordinal) data.
Measures monotonic association rather than strict linearity (a perfectly monotonic, non-linear curve yields whereas ).
More robust to certain outliers than Pearson (e.g., shifting two extreme points alters from to , while shifts only from to ).
Point-Biserial Correlation ():
Evaluates the association between one dichotomous variable (e.g., item response coded or ) and one continuous variable (e.g., total test score).
Calculated using the Pearson formula; recoding the binary values preserves the magnitude (), though reversing the code flips the sign.
Phi Correlation ():
Evaluates the association between two binary/dichotomous variables (e.g., correctness on question 1 vs. correctness on question 2, yielding ).
Computed using the standard Pearson formula.
Correlation Versus Causation
A non-zero correlation does not establish a causal relationship between and . Observed associations may arise from:
Direct causation ().
Reverse causation ().
Bidirectional or partial causation.
Common secular trends over time (spurious correlations, e.g., US oil imports vs. per capita chicken consumption from 2000–2009 yielding , or US highway fatalities vs. Mexican lemon imports yielding ).
Confounding third variables.
Chance or sampling coincidence.
Population Inference and Confidence Intervals
Sampling Variability: Sample correlation () serves as a point estimate of the true, invariant population parameter ( or ). Across random samples of size , sample can fluctuate substantially (e.g., ranging between and when ).
Confidence Interval (CI): An interval estimate bounded by lower and upper limits expected to cover across of repeated samplings.
Percentile Bootstrap (Resampling) Method:
Derives an empirical sampling distribution from a single sample by repeatedly drawing new samples of size with replacement.
Calculates the bootstrap statistic for each resample.
The confidence interval is determined directly by the values cutting off the lowest and highest of the distribution (e.g., ).
A CI that excludes zero provides empirical support that .
Interval width scales with the confidence level ( CI is wider, CI is narrower).
Null Hypothesis Significance Testing and Permutation Tests
Hypothesis Formulation:
Null Hypothesis (): (observed association arose strictly by sampling error).
Alternative Hypothesis (): .
Permutation Test Procedure:
Generates a true null sampling distribution () by randomly scrambling the pairings between and .
Scrambling preserves the individual sample means and variances of both variables while forcing the true association to zero.
Evaluates where the observed sample falls relative to the scrambled distribution.

Decision Rule and Significance:
For a two-tailed test with , the central of scrambled correlations fall within a critical boundary (e.g., for ).
If an observed sample correlation (e.g., ) falls outside this range, the probability of obtaining such an extreme result by chance under is .
In this case, is rejected in favor of , establishing statistical significance.
Setting the significance threshold at limits the Type I error rate (falsely rejecting a true null hypothesis) to .