Академический Документы
Профессиональный Документы
Культура Документы
1 1
1 1
1 1
1 1 1 1 1 1
1
2
min
1
2
1
2
=
=
=
=
|
|
.
|
\
|
=
|
|
.
|
\
|
= + + = =
c
|
|
.
|
\
|
c
=
c
c
=
c
c
=
c
c
=
= =
+ =
= =
= =
= =
= = = = = =
=
= =
n
X b Y
a
X b na Y
a for Solving
X b na Y
X b na Y X b a Y bX a Y
a
bX a Y
a
Q
b
Q
and
a
Q
which for b and a of values at Q Q
bX a Y Y Y Q
bX a Y
n
i
i
n
i
i
n
i
n
i
i i
n
i
n
i
i i
n
i
n
i
n
i
i i
n
i
i
n
i
i
n
i
i i
n
i
i i
n
i
i i
n
i
i i
i i
12-Feb-14 9
Chapter 1: MEASUREMENT FUNDAMENTALS
Muhammad Mustafa Masud
Assistant Professor (DEE), NUST-CEME
EE-383 Instrumentation and Measurements
LEAST SQUARES REGRESSION LINE
( )
( ) ( )
( )
= = = = =
= = = = =
= =
=
= =
=
= =
= = =
=
= =
=
=
|
|
.
|
\
|
+
+
|
|
.
|
\
|
=
=
=
=
= = =
c
|
|
.
|
\
|
c
=
c
c
n
i
i i
n
i
i
n
i
i
n
i
i
n
i
i
n
i
i
n
i
i
n
i
i
n
i
i
n
i
i i
n
i
i
n
i
i
n
i
i
n
i
i
n
i
i i
n
i
i
n
i
i
n
i
i i
n
i
i
n
i
i
n
i
i i
n
i
i i i i
n
i
i i i i i
n
i
i i
n
i
i i
Y X n Y X X b X nb
Y X X b X nb Y X n
n
X b Y
X
X b Y X
X
X b Y X
a
a for Solving
X b X a Y X
bX aX Y X
bX aX Y X X bX a Y
b
bX a Y
b
Q
1 1 1
2
1 1
2
1 1
2
1 1
2
1
1 1
1
1
2
1
1
1
2
1
1
2
1 1
1
2
1
2
1
1
2
0
0 2
0 2 2
12-Feb-14 10
Chapter 1: MEASUREMENT FUNDAMENTALS
Muhammad Mustafa Masud
Assistant Professor (DEE), NUST-CEME
EE-383 Instrumentation and Measurements
LEAST SQUARES REGRESSION LINE
intercept
intercept
slope
2
1 1
2
1 1 1
2
1
1
2
1 1
2
1 1 1
1
1 1
2
1 1
2
1 1 1
1 1 1
2
1 1
2
1 1 1
2
1 1
2
=
|
|
.
|
\
|
=
|
|
|
|
|
.
|
\
|
|
|
.
|
\
|
=
=
=
=
|
|
.
|
\
|
=
+ =
|
|
.
|
\
|
=
|
|
.
|
\
|
+
= =
= = = =
=
= =
= = =
=
= =
= =
= = =
= = = = =
= = = = =
n
i
i
n
i
i
n
i
i i
n
i
i
n
i
i
n
i
i
n
i
i
n
i
i
n
i
i
n
i
i
n
i
i
n
i
i i
n
i
i
n
i
i
n
i
i
n
i
i
n
i
i
n
i
i
n
i
i
n
i
i i
n
i
i i
n
i
i
n
i
i
n
i
i
n
i
i
n
i
i i
n
i
i
n
i
i
n
i
i
n
i
i
X X n
Y X X X Y
n
X
X X n
Y X Y X n
Y
a
n
X b Y
a
in putting
X X n
Y X Y X n
b
Y X n Y X X b X nb
Y X n Y X X b X nb
12-Feb-14 11
Chapter 1: MEASUREMENT FUNDAMENTALS
Muhammad Mustafa Masud
Assistant Professor (DEE), NUST-CEME
EE-383 Instrumentation and Measurements
LEAST SQUARES REGRESSION LINE
intercept
intercept
slope
2
1 1
2
1 1 1
2
1
1 1
2
1 1
2
1 1 1
=
|
|
.
|
\
|
=
=
=
=
|
|
.
|
\
|
=
= =
= = = =
= =
= =
= = =
n
i
i
n
i
i
n
i
i i
n
i
i
n
i
i
n
i
i
n
i
i
n
i
i
n
i
i
n
i
i
n
i
i
n
i
i
n
i
i i
X X n
Y X X X Y
a
n
X b Y
a
X X n
Y X Y X n
b
12-Feb-14 12
Chapter 1: MEASUREMENT FUNDAMENTALS
Muhammad Mustafa Masud
Assistant Professor (DEE), NUST-CEME
EE-383 Instrumentation and Measurements
LEAST SQUARES REGRESSION LINE
Example: An experiment measured the following 10 voltages across a given
thermocouple at various temperatures
Assuming that there is a direct linear relationship, determine the relationship
between thermocouple-voltage and temperature in the form of an equation of a
straight line
12-Feb-14 13
Chapter 1: MEASUREMENT FUNDAMENTALS
Muhammad Mustafa Masud
Assistant Professor (DEE), NUST-CEME
EE-383 Instrumentation and Measurements
LEAST SQUARES REGRESSION LINE
Solution: Since the measured voltage is dependent on the applied temperature,
voltage is then the dependent variable Y whereas temperature is the independent
variable X
12-Feb-14 14
Chapter 1: MEASUREMENT FUNDAMENTALS
Muhammad Mustafa Masud
Assistant Professor (DEE), NUST-CEME
EE-383 Instrumentation and Measurements
LEAST SQUARES REGRESSION LINE
Slope:
Intercept:
Linear Equation:
Once the relationship between X and Y is determined, we are able to
estimate the value of Y that corresponds to a given value of X without
actually having to measure it
This is called a regression curve of Y on X
12-Feb-14 15
Chapter 1: MEASUREMENT FUNDAMENTALS
Muhammad Mustafa Masud
Assistant Professor (DEE), NUST-CEME
EE-383 Instrumentation and Measurements
LEAST SQUARES REGRESSION LINE
Y is estimated by knowing the value of X and is frequently referred to as
interpolation
If the curve is found to correspond to a straight line between some minimum
and maximum values of X
We may be tempted to extend or extrapolate the line in either direction and
assume that points outside the measured data range also behave in a similar
manner
BUT THAT SHOULD NOT BE DONE!!
For example in the last example we should not step beyond the ranges of
100F and 190F (unless there is not option)