Knowledge / Chemical Engineering / Process statistics and data analytics

Process statistics and data analytics

Chemical Engineering (B.E./B.Tech) · Process calculations and thermodynamics · free study notes for exams, placements and interviews

In short

Process statistics is the use of statistical methods to turn plant and laboratory measurements into reliable numbers: averages with uncertainty, calibration equations, tests of whether a change really improved anything, and charts that say whether a process is in control. It matters because every flow, temperature, composition and yield used in a material or energy balance is a *measurement* carrying error, and decisions worth crores are taken on those numbers. It is examined in GATE (CH) under probability, statistics, regression and error analysis, and in university papers on process calculations, instrumentation and quality control. Indian employers — Reliance, IOCL, BPCL, Tata Chemicals, UPL, Aarti Industries, Deepak Nitrite, Asian Paints, Pfizer/Sun Pharma, and the analytics arms of TCS, L&T Technology Services, Honeywell and Yokogawa — test it in technical rounds for process, quality, QA/QC, RTO and digital-twin roles.

Explained

Data types, sampling and descriptive statistics

Probability distributions used in process work

Measurement error, uncertainty and propagation

Regression, correlation and curve fitting

Hypothesis testing, ANOVA and design of experiments

Statistical process control, capability and data reconciliation

Key points

Formulas and examples

x̄ = Σxᵢ / n (sample mean, same units as x); median = middle value of ordered data
s² = Σ(xᵢ − x̄)² / (n − 1); s = √s² (sample standard deviation, units of x); CV = s/x̄ (dimensionless)
z = (x − μ)/σ (standard normal variate, dimensionless)
Standard error SE = s/√n; 100(1 − α)% CI for the mean = x̄ ± t_{α/2, n−1} · s/√n
One-sample t test: t = (x̄ − μ₀)/(s/√n); two-sample (equal variance): t = (x̄₁ − x̄₂)/[s_p√(1/n₁ + 1/n₂)], s_p² = [(n₁−1)s₁² + (n₂−1)s₂²]/(n₁+n₂−2)
Error propagation: u_y² = Σ (∂y/∂xᵢ)² u_{xᵢ}² (independent xᵢ); for y = x₁x₂/x₃ : (u_y/y)² = (u₁/x₁)² + (u₂/x₂)² + (u₃/x₃)²
Expanded uncertainty U = k·u_c, k ≈ 2 for ~95% confidence
Regression: b = Σ(xᵢ − x̄)(yᵢ − ȳ)/Σ(xᵢ − x̄)²; a = ȳ − b x̄; R² = 1 − SS_res/SS_tot; s_e = √(SS_res/(n − 2))
Control limits, X̄ chart: CL = X̄̄, UCL/LCL = X̄̄ ± A₂R̄; R chart: UCL = D₄R̄, LCL = D₃R̄; σ̂ = R̄/d₂
Capability: Cp = (USL − LSL)/6σ; Cpk = min[(USL − x̄), (x̄ − LSL)]/3σ
Reconciliation (one node, two meters of the same stream): x̂ = (x₁/σ₁² + x₂/σ₂²)/(1/σ₁² + 1/σ₂²); imbalance test z = (x₁ − x₂)/√(σ₁² + σ₂²)

Example 1 — Descriptive statistics, confidence interval and a t test. Eight flow readings (m³/h): 50.2, 49.8, 50.5, 50.1, 49.6, 50.3, 50.0, 49.9.

  1. Σx = 400.4 → x̄ = 400.4/8 = 50.05 m³/h.
  2. Σ(x − x̄)² = 0.0225 + 0.0625 + 0.2025 + 0.0025 + 0.2025 + 0.0625 + 0.0025 + 0.0225 = 0.5800.
  3. s² = 0.5800/7 = 0.08286 → s = 0.288 m³/h; CV = 0.288/50.05 = 0.58%.
  4. SE = 0.288/√8 = 0.288/2.828 = 0.1018. With t(0.025, 7) = 2.365, 95% CI = 50.05 ± 0.241 = (49.81, 50.29) m³/h.
  5. Is the mean different from the design value 50.5? t = (50.05 − 50.5)/0.1018 = −4.42; |t| > 2.365, so reject H₀ — the meter reads significantly below design (and 50.5 lies outside the CI, the same conclusion).

Example 2 — Propagation of error in a mass flow. ṁ = ρQ, with ρ = 998 ± 2 kg/m³ and Q = 0.0120 ± 0.0003 m³/s (standard uncertainties).

  1. ṁ = 998 × 0.0120 = 11.976 kg/s.
  2. Relative uncertainties: ρ → 2/998 = 0.00200 (0.20%); Q → 0.0003/0.0120 = 0.0250 (2.50%).
  3. Combined: √(0.00200² + 0.0250²) = √(4.02×10⁻⁶ + 6.25×10⁻⁴) = √(6.290×10⁻⁴) = 0.0251 = 2.51%.
  4. u_ṁ = 11.976 × 0.0251 = 0.30 kg/s; expanded U (k = 2) = ±0.60 kg/s → report 11.98 ± 0.60 kg/s (95%).
  5. Insight: flow contributes (2.50/2.51)² ≈ 99% of the variance — improving the density measurement is pointless; recalibrate the flowmeter.

Example 3 — Calibration by least squares. Analyser output y (mA) against known concentration x (%): (1, 2.1), (2, 4.0), (3, 6.1), (4, 8.1), (5, 9.9).

  1. x̄ = 3.0, ȳ = 30.2/5 = 6.04.
  2. Σ(x−x̄)(y−ȳ) = 7.88 + 2.04 + 0 + 2.06 + 7.72 = 19.70; Σ(x−x̄)² = 10.
  3. b = 19.70/10 = 1.97 mA per %; a = 6.04 − 1.97(3) = 0.13 mA. Equation: y = 0.13 + 1.97x.
  4. Residuals: 0.00, −0.07, +0.06, +0.09, −0.08 → SS_res = 0.0230; SS_tot = 38.832 → R² = 1 − 0.0230/38.832 = 0.9994.
  5. s_e = √(0.0230/3) = 0.088 mA; SE(b) = 0.088/√10 = 0.028, so b = 1.97 ± 0.09 (95%, t = 3.182). Inverse use: x = (y − 0.13)/1.97, valid only for 1–5%.

Example 4 — X̄–R chart and capability. 20 subgroups of n = 5 reactor-outlet purity readings give X̄̄ = 50.00%, R̄ = 2.30%. Specification 50 ± 3%. For n = 5: A₂ = 0.577, D₄ = 2.114, D₃ = 0, d₂ = 2.326.

  1. X̄ chart: UCL = 50.00 + 0.577 × 2.30 = 51.33, LCL = 48.67.
  2. R chart: UCL = 2.114 × 2.30 = 4.86, LCL = 0.
  3. σ̂ = R̄/d₂ = 2.30/2.326 = 0.989%.
  4. Cp = (53 − 47)/(6 × 0.989) = 6/5.934 = 1.01 — below the 1.33 minimum, so the spread itself is too wide.
  5. If the mean drifts to 50.8%: Cpk = min[(53 − 50.8), (50.8 − 47)]/(3 × 0.989) = min[2.2, 3.8]/2.967 = 0.74 — centring loss alone raises the expected out-of-spec fraction about fivefold (≈0.24% centred to ≈1.3%).

Example 5 — Data reconciliation with a gross-error check. One pipe, two meters: FT-1 reads 100.0 t/h (σ = 2.0), FT-2 reads 103.0 t/h (σ = 1.0).

  1. Imbalance r = 100.0 − 103.0 = −3.0; σ_r = √(2.0² + 1.0²) = √5 = 2.236.
  2. z = −3.0/2.236 = −1.34; |z| < 1.96 → no gross error at 95%, so reconcile.
  3. Weights 1/σ²: 0.25 and 1.00. x̂ = (0.25 × 100.0 + 1.00 × 103.0)/1.25 = 128.0/1.25 = 102.4 t/h.
  4. σ of the estimate = 1/√1.25 = 0.894 t/h — better than either meter alone, the benefit of redundancy.
  5. Adjustments: FT-1 +2.4 (1.2σ), FT-2 −0.6 (0.6σ) — the less precise meter is moved more, as it should be.
PairLooks similar becauseReal difference
Control limits vs spec limitsBoth appear on a chartLimits = ±3σ of the process; specs = customer/design requirement
Cp vs CpkBoth capability indicesCp ignores centring; Cpk includes it
Random vs systematic errorBoth are "error"Random shrinks as 1/√n; bias does not shrink at all
Correlation vs regressionBoth use scatter datar measures strength; regression gives a predictive equation
OFAT vs factorial DOEBoth vary factorsOFAT misses interactions and needs more runs for the same precision
Reconciliation vs filteringBoth "clean" dataReconciliation enforces conservation laws; a filter only smooths noise

Where it is used

Interview questions

Common mistakes

Related topics

Material balances · Energy balances · Process instrumentation and measurement · Process control and dynamics · Reaction kinetics and reactor design · Process optimisation and simulation

Open in the Knowledge reader →Find jobs →