Measurement Techniques - Week 4
Measurement Techniques - Week 4
Week 4
Uncertainty Analysis
2 50,25
3 50,15
4 47,95
5 49,90
6 50,00
7 49,85
8 50,05
9 50,20
10 46,90
Least Squares Method
• The least squares method is a standard regression method used to write the
mathematical connection between two physical quantities that vary
depending on each other as an equation that is as realistic as possible. In
other words, this method serves to find a function curve that will pass "as
close as possible" to the data points obtained from the measurement result.
• 𝑦𝑖(𝑥): Experimental values
• 𝑦ഥ𝑖(𝑥) : Predicted values (regression values)
• 𝑞𝑖 : The difference between these two values
𝑛
𝑦𝑖 = 𝑎 𝑥𝑖 + 𝑛 𝑏
𝑥𝑖 𝑦𝑖 = 𝑎 𝑥𝑖2 + 𝑏 𝑥𝑖
𝑛 σ 𝑥𝑖 𝑦𝑖 − ( σ 𝑥𝑖 ) (σ 𝑦𝑖 )
𝑎=
𝑛 σ 𝑥𝑖2 − (σ 𝑥𝑖 )2
(σ 𝑦𝑖 )(σ 𝑥𝑖 )2 − (σ 𝑥𝑖 𝑦𝑖 ) ( σ 𝑥𝑖 )
𝑏=
𝑛 σ 𝑥𝑖2 − (σ 𝑥𝑖 )2
Correlation Coefficient
• The correlation coefficient (R) was defined as the indicator of how well the
curve obtained by the least squares method complies with the actual
measurement results. The correlation coefficient ranges from 0 (zero) to 1
(one). The zero value of R indicates that there is no agreement between the
curve obtained and the test results. Therefore, it is desired that the R value
be close to 1.
1ൗ
2
𝜎𝑦,𝑥 2
𝑅 = 1−
𝜎𝑦2
1ൗ
σ𝑛𝑖=1(𝑦𝑖
− ത 2
𝑦) 2
𝜎𝑦 =
𝑛−1
1ൗ
σ𝑛𝑖=1(𝑦𝑖
− 𝑦𝑖𝑘 )2 2
𝜎𝑦,𝑥 =
𝑛−2
Regression Analysis with Excel Program