0% found this document useful (0 votes)
53 views

Sample Workbook To Linear Regression Analysis in Excel: Author Last Update 6-Jul-18 Tutorial URL

The document shows how to perform linear regression analysis in Excel using a sample workbook. It includes examples of regression analysis using the Analysis ToolPak, generating a regression graph, and displaying the regression formulas and output statistics. The sample data tracks monthly rainfall and umbrella sales over 24 periods, and the linear regression calculates the relationship between rainfall and umbrellas sold.

Uploaded by

atib
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views

Sample Workbook To Linear Regression Analysis in Excel: Author Last Update 6-Jul-18 Tutorial URL

The document shows how to perform linear regression analysis in Excel using a sample workbook. It includes examples of regression analysis using the Analysis ToolPak, generating a regression graph, and displaying the regression formulas and output statistics. The sample data tracks monthly rainfall and umbrella sales over 24 periods, and the linear regression calculates the relationship between rainfall and umbrellas sold.

Uploaded by

atib
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Sample Workbook to Linear Regression Analysis in Excel

The workbook shows different techniques to perfomr linear regression analysis in Excel.

Author https://www.Ablebits.com
Last update 6-Jul-18
Tutorial URL https://www.ablebits.com/office-addins-blog/2018/08/01/linear-regression

Examples
Regression analysis with Analysis ToolPak
Regression graph
Regression formulas
8/08/01/linear-regression-analysis-excel/
Month Rainfall (mm) Umbrellas sold SUMMARY OUTPUT
Jan 82 15
Feb 92.5 25 Regression Statistics
Mar 83.2 17 Multiple R 0.957666798479
Apr 97.7 28 R Square 0.917125696908
May 131.9 41 Adjusted R S 0.913358683131
Jun 141.3 47 Standard Erro 3.581413820188
Jul 165.4 50 Observations 24
Aug 140 46
Sep 126.7 37 ANOVA
Oct 97.8 22 df SS
Nov 86.2 20 Regression 1 3122.774784402
Dec 99.6 30 Residual 22 282.1835489315
Jan 87 14 Total 23 3404.958333333
Feb 97.5 27
Mar 88.2 14 Coefficients Standard Error
Apr 102.7 30 Intercept -19.07410899414 3.372182167954
May 123 43 Rainfall 0.450001319898 0.028840179615
Jun 146.3 49
Jul 160 49
Aug 145 44
Sep 131.7 39
Oct 118 36
Nov 91.2 20
Dec 104.6 32
MS F Significance F
3122.7747844 243.4623 2.216043E-13
12.826524951

t Stat P-value Lower 95% Upper 95% Lower 95.0% Upper 95.0%
-5.6563103783 1.093E-05 -26.067586772 -12.080631216 -26.067586772 -12.080631216
15.603277299 2.216E-13 0.39019044812 0.5098121917 0.3901904481 0.5098121917
RESIDUAL OUTPUT

Observation Predicted Umbrellas sold Residuals


1 17.8259992374586 -2.8259992375
2 22.5510130963833 2.4489869036
3 18.3660008213357 -1.3660008213
4 24.8910199598508 3.1089800401
5 40.2810651003486 0.7189348997
6 44.511077507386 2.4889224926
7 55.356109316918 -5.3561093169
8 43.9260757915191 2.0739242085
9 37.9410582368811 -0.9410582369
10 24.9360200918406 -2.9360200918
11 19.7160047810285 0.283995219
12 25.7460224676562 4.2539775323
13 20.0760058369465 -6.0760058369
14 24.8010196958713 2.1989803041
15 20.6160074208236 -6.6160074208
16 27.1410265593388 2.8589734407
17 36.27605335326 6.7239466467
18 46.7610841068739 2.2389158931
19 52.926102189471 -3.9261021895
20 46.1760823910071 -2.176082391
21 40.191064836369 -1.1910648364
22 34.026046753772 1.9739532462
23 21.9660113805164 -1.9660113805
24 27.9960290671442 4.0039709329
Month Rainfall (mm) Umbrellas sold
Jan 82 15
Feb 92.5 25
Mar 83.2 17 Linear regression

Umbrellas sold
Apr 97.7 28
May 131.9 41 60
Jun 141.3 47 50 f(x) = 0.450001319897595 x − 19.0741089941443
Jul 165.4 50
Aug 140 46 40
Sep 126.7 37
30
Oct 97.8 22
Nov 86.2 20 20
Dec 99.6 30
10
Jan 87 14
Feb 97.5 27 0
70 90 110 130
Mar 88.2 14
Apr 102.7 30 Rainfall (mm)
May 123 43
Jun 146.3 49
Jul 160 49
Aug 145 44
Sep 131.7 39
Oct 118 36
Nov 91.2 20
Dec 104.6 32
Linear regression

01319897595 x − 19.0741089941443

110 130 150 170

Rainfall (mm)
Month Rainfall (mm) Umbrellas sold Regression formula y = bx + a
Jan 82 15 b a
Feb 92.5 25 0.450001 -19.07411
Mar 83.2 17
Apr 97.7 28 a (Y-intercept)
May 131.9 41 -19.07411
Jun 141.3 47
Jul 165.4 50 b (slope of a regression line)
Aug 140 46 0.450001
Sep 126.7 37
Oct 97.8 22 Correlation coefficient
Nov 86.2 20 0.957667
Dec 99.6 30
Jan 87 14
Feb 97.5 27
Mar 88.2 14
Apr 102.7 30
May 123 43
Jun 146.3 49
Jul 160 49
Aug 145 44
Sep 131.7 39
Oct 118 36
Nov 91.2 20
Dec 104.6 32

You might also like