← CQE Hub

Linear Regression and R² Explained

Linear regression fits a straight line through data to model the relationship between a predictor (x) and a response (y). R² tells you how much of the variation in y is explained by x.

Simple linear regression model

ŷ = b₀ + b₁x b₁ = Σ(xᵢ − x̄)(yᵢ − ȳ) / Σ(xᵢ − x̄)² b₀ = ȳ − b₁x̄ R² = SSR / SST = 1 − SSE / SST SST = Σ(yᵢ − ȳ)² (total variation) SSR = Σ(ŷᵢ − ȳ)² (explained by regression) SSE = Σ(yᵢ − ŷᵢ)² (residual / unexplained)

Worked example

Temperature (°C) vs cure time (min): x: 150, 160, 170, 180 x̄ = 165 y: 12, 10, 8, 6 ȳ = 9 b₁ = [(150−165)(12−9)+(160−165)(10−9)+(170−165)(8−9)+(180−165)(6−9)] / [(−15)²+(−5)²+(5)²+(15)²] = [−45 + (−5) + (−5) + (−45)] / [225+25+25+225] = −100 / 500 = −0.20 b₀ = 9 − (−0.20)(165) = 9 + 33 = 42 ŷ = 42 − 0.20x R² = 1 − 0/SST = 1.00 (perfect fit in this example)

Regression assumptions

CQE exam tips

Take the Free Quiz →

More: 5 Whys · 8D problem solving · AOQ & AOQL · APQP & PPAP · AQL sampling plans · Attribute agreement & kappa · Attribute control charts · Availability & maintainability · Benchmarking types · Binomial vs Poisson · Blocking & randomization · Calibration & traceability · Capability: non-normal · Chi-square test · Confidence intervals · Control chart selection · Control plan · CA effectiveness · Cost of quality · Cp vs Cpk vs Cpm · Cpk vs Ppk · CQE exam day tips · CQE study plan · CQE vs CQA vs CSSBB · Is the CQE worth it? · CUSUM & EWMA · Design reviews · Design V&V · Destructive testing · DFMEA vs PFMEA · Document control · Fault tree analysis · First article inspection · Fishbone diagram · FMEA: RPN vs AP · Full vs fractional factorial · Gage R&R · GD&T basics · Hazard vs risk vs harm · Hypothesis test selection · I-MR chart · Interaction plots · ISO 14971 · ISO 9001 clauses · Kaizen event planning · Kano model · Lean wastes (TIMWOODS) · Linear regression · Management review · MRB dispositions · MSA: bias, linearity & stability · NCR, CAPA & PA · Nonparametric tests · Normal distribution & z-table · One-way ANOVA · p-value explained · Pareto chart · PDCA vs DMAIC · Poka-yoke · QFD / House of Quality · Quality audits · Quality mgmt principles · Quality manual vs procedures · Quality plan vs control plan · Redundancy: parallel & standby · Reliability allocation · Bathtub curve & MTBF · Response surface methods · Risk-based thinking · Risk matrix vs FMEA · 7 mgmt & planning tools · Short-run SPC · Six Sigma certifications · Sigma level & DPMO · Six Sigma DMAIC · Supplier quality scorecards · Switching rules (sampling) · Taguchi loss function · Theory of constraints · Tolerance stackup · Traceability & lot control · Type I vs II error · Value stream mapping · Variables vs attributes · Weibull analysis · Western Electric rules · X-bar R vs X-bar S · CQE calculators · Study planner · Section quiz

Not affiliated with ASQ. © 2025 bizarreact.com