Professional Documents
Culture Documents
Regression
Regression
Regression deals with “prediction with precision” and it generally does the following:
(i) Identifies the regression line (that is best fitting straight line) for a scatter plot
between two variables
(ii) It uses variable X (which is the horizontal axis of the scattergram) and a variable Y
(which is the vertical axis of the scatter plot)
(iii) X is the independent variable or the predictor variable
Y is the dependent variable and or the criterion variable
(iv) Two concepts are used to describe the regression line, they include:
(a).The slope of the regression line
(b).The intercept; the point at which the regression line touches the vertical
axis
(v) The regression can be used to make predictions; by estimating the most likely
score on variable Y for any given score on variable X.
(vi) The standard error can be estimated: which is the variability of any statistical
estimate. In regression calculation, the standard error of the slope and the
standard error of the intercept can be calculated.
Standard error is normally the standard deviation indicating the likely spread of
any estimate.
10
7
SOIL TEMPERATURE
0
1 2 3 4 5 6 7 8
SOIL MOISTURE
1|Page
(ii) The slope of the regression line denoted as b. This is the gradient of the best
fitting line through the points on the scattergram. It can be positive or negative.
Slope is the number of units that the regression line moves up the vertical axis for
each unit it moves along the horizontal axis.
Example; if the slope horizontal axis is 20 and the vertical axis is 4, the slope will
be 4/20 which is equal to + 2. This means that for every increase of one unit on
the horizontal axis (X axis), there is a corresponding increase of 2 on the vertical
axis (Y axis) or vice versa if the slope is
-2 .
Calculation
Step one: set out the measurement scores as shown in Table 1.2
b=
ΣΧY − ( ΣΧΣY
Ν )
ΣΧY 2
ΣΧ 2−
Ν
2|Page
b=
240− ( 6210x 45 )
( 62)2
446−
10
b=
240− ( 2790
10 )
3844
446−
10
240−270
b=
446−384.4
−39
b=
61.6
b=−0.63
The slope of the regression line is negative, it moves downwards from top left to bottom
right. For every unit of increase on the horizontal axis (X), the regression line moves 0.63
units down the vertical line, as it is a negative slope.
Step four: calculate the intercept (α) of the regression line on the vertical axis
Σ Y −b ΣΧ
α
N
45−(−0.63 x 62)
α
10
45−(−39.06)
α
10
84.06
α
10
α =8.41
3|Page
Y= 8.41 + (-0.63 * 8)
Y = 8.41 + (-5.04)
Y = 3.37
This means that when the soil temperature is 8, the soil moisture would be 3.37
4|Page