Straight-Line Fit with Uncertainties in Both Variables (York / ISO/TS 28037)
York regression fits a straight line when both x and y carry known, possibly correlated, standard uncertainties, minimising weighted squared residuals and giving parameter uncertainties as in ISO/TS 28037.
York 회귀는 x와 y 모두에 알려진(상관될 수도 있는) 표준불확도가 있을 때 가중 잔차제곱합을 최소화해 직선을 적합하고, ISO/TS 28037처럼 모수 불확도를 내는 방법입니다.
Both my reference values and my instrument readings have known measurement uncertainties; how do I fit a calibration line that uses both uncertainties?
기준값과 장비 측정값 모두에 측정불확도가 있습니다. 두 불확도를 함께 쓰는 교정 직선은 어떻게 적합하나요?
York's iterative solution weights each point by a combination of u(x), u(y) and their correlation and finds the maximum-likelihood straight line together with the uncertainties and covariance of the intercept and slope. The weighted sum of squared residuals is compared with a chi-squared distribution on n - 2 degrees of freedom to check whether the line and the stated uncertainties agree.
When to use Straight-Line Fit with Uncertainties in Both Variables (York / ISO/TS 28037)
- Each point has its own known standard uncertainty in both x and y.
- You are building a calibration or isochron line under ISO/TS 28037 or similar guidance.
- You need an inverse prediction of x from a new y with propagated uncertainty.
When to use something else
- Only y has measurement error; use ordinary or weighted least squares.
- Point uncertainties are unknown and only their ratio is assumed; use Deming regression.
Assumptions and requirements
- The true relation between x and y is a straight line.
- Stated standard uncertainties are correct and errors are approximately normal.
- Errors are independent between points (within-point x-y correlation may be supplied).
What the analysis reports
- Intercept and slope with standard uncertainties, covariance and correlation
- Chi-squared validation statistic, critical value and p-value
- Point weights and weighted residuals
- Inverse prediction x0 with propagated uncertainty when a response y0 is supplied
How to report it
A York fit to [value] points gave a = [value] (u = [value]) and b = [value] (u = [value]); chi2([value]) = [value] was below the 95% critical value [value], and y0 = [value] corresponded to x0 = [value] (u = [value]).
Related methods
How this method is validated
이 방법의 검증 근거
- Published value. A test reproduces published reference values (York 2004).
출판값. 출판된 참조값(York 2004) 재현 시험 1건 통과.
- Independent computation. 1 reference test compares the results with SciPy.
독립 계산. SciPy 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Straight-Line Fit with Uncertainties in Both Variables (York / ISO/TS 28037) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 credits.
- Checking
- Reproduces published reference values
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.