Substitute the computed
Values of b and ato
Y=arty. the regression line equation
Y=35,58+0.48x en
Jression line equation
We can i
Now estimate scores in Physics (y) using the regression line equation by
substituting a value or score in Mathemati i
speting ae he tics (x), Say for instance, if x is equal to 75, then
y = 35.58 +0,48(75)
y= 71.58
Therefore, the estimated score in Physics is 71.59 or approximately equivalent to
22 if the score in Mathematics is 75.-The regression line equation may be used now in
estimating scores for y by substituting a value of x. :PUTER BASED SOL
co GE MS- EXCEL UTTON OF CORRELATION AND LINEAR REGRESSION
For is Solution of Correlation and Linear Regression using the Data Analysis
‘anction on the Data menu, we need to install first the Analysis Toolpak which is located
the add-in program.
1. Click the File tab, click Options,’and then click the Add-Ins category. This screen will
Pood pees a
en meet me ett N en2. Select Add-ins, In the Manage box, select Excel Add-ins and then click Go,nonsense tiettawenyrexasi x,
3. In the Add-Ins available box, select the Analysis TooIP oe OK ane Ae
OK. Click Data on the menu, then notice now that in .
Data Analysis was successfully installed.
i etme y
4. If you are prompted that the Analysis ToolPak is not Currently installed on your
computer, click Yes to install it, .s. After the installation of Analysis Toolpak, let’s now start solving the example for
correlation and linear regression using the same given (scores in Mathematics and
Physics).
65| 63 | 67 | 64 68 | 62 | 70 66 | 68 | 67 | 69 | 72
“rysics (Y) 68| 66 | 68 | 65 68 | 66 | 68 | 65 | 71 | 67 | 68 | 70 |
. Open a new blank MS- Excel worksheet then encode the given data in a vertical
manner or by column, Then number the respondents data. All in all there are 12
respondents.6, Open a new blank MS- Ex
manner or by column, Then naofkshest the
respondents. er the re
N encode the given data in a vertical
spondents data. All in all there are 12
nee
a" |
eee
: Eee a]
7. Next step now is to select Data in the menu, then press Data Analysis. A dialogue
box will appear, scroll it down until finding Regression.7. Next step Now is to select Data in the menu, then press Data Analysis. A dialogue
until finding Regression.
box will appear, scroll it down
‘ = ee) ree. ee “ea as eo
:
ap is al
|visiejeie|aieisisiele)a)ighlight all the data in the mathematics, and
he data in the physics. Remember that, x
|, the present value is 0.05 or 95%. For t
iduals, select Line Fit plots to visualize the
9. Select input X range, then hi
input y range, highlight all tt
time. Select confidence interval
select new worksheet. For the rest
the data.
po 2 ee?Press Ok. Another dialogue box will appear.40, Click OK. The results will be this new worksheet,
“a sae Pa a ik ne
a i41, For the interpretations, refer to the following:
a. Look for the Regression Statistics, The value of the Multiple R is actually the
value of Pearson-r. The r-value of 0.702651, referring to the arbitrary scale,
states that there is a strong/high relationship between the mathematics and
the physics scores. Take note also that this will be the basis to continue
performing, regression, that the variables are significantly related to each
other. If there is no relationship found, then stop the process and conclude
no significant relationship.
b. The value of R Square (R?) 0.4937193 Or 49.37% now explains the variation
in the physics score from the mathematics score.
‘SUMMARY OUTPUT
Regression Statistics
Multiple R _0.7026516
0.4937193 |
Standard Err
Observation
1.4036651
12c. The ANOVA table presents the significance of the relation which
0.01082225. Meaning, the relation of the variables is significant at 0.01 leva
of significance.
ANOVA
FSS MST | Fs Signifieorice F|
Repression 749713011 19.21391 9.75189 0.01082225
Residual 10 19.702756 1.970276
Total 11. 38.916067
d. For the constant and coefficients of the linear regression equation y=a
+ b, refer to the third result in the worksheet. The first value in the
intercept is the value of the constant a. Then the first value in the row:
Variable is the value of the regression coefficient b. Substituting these
now in the regression equation will produce to y = 35.824803 + 0.471
Coefficients Stondard Error _tStat P-value Lower 95% Upper 95% Lower 95.0%
Intercept 35.82480310.17795313 3.519844 0.00554 13.1469104 58.5026959 13.14691. $85
XVariable1 0.476378 0.15254826 3.122802 0.010822 _0.13647925 0.81627666 0.1364792 0.816286
e. The last part of the result in the worksheet presents the residual
after applying the regression equation that we had previously deri
Predicted values of y are given in the predicted y column.It in the worksheet presents the residual
ion equation that we had previously derived, Thy
The last part of the result
ven in the predicted y column.
after applying the regressi
predicted values of y are git
= 0.476378(75), ¥ = 71.55 OF 72. Th
= 65, then y = 35.824803 it
wr uals pean the error in the predicted value when compared to the ach
observed value.
The Line Fit Plot now shows the graphical representation of the variables
with their actual observed values of Y and the predicted vatue of Y using the
previously derived linear regression equation.
X Variable 1 Line Fit Plot
n
*f.
The Line Fit Plot now shows the graphical representation of the Variables
with their actual observed values of Y and the Predicted vatue of Y using the
previously derived linear regression equation.
X Variable 1 Line Fit Plot