SlideShare a Scribd company logo
1 of 14
Download to read offline
Lecture:
Simple Linear Regression
in MICROSOFT EXCEL
Chaudhary Awais Salman
Doctoral Researcher in Future Energy
Course instructor
School of Business, Society and Engineering
Fuuture Energy – Centre of Excellence
Email: Chaudhary.awais.salman@mdh.se
Regression analysis in Excel
● Three methods are described to perform the regression analysis in EXCEL
1. By formulas
2. By graph
3. By built-in data analysis tool
2
Temperature (deg F) Icecream sales, USD
52 185
58 215
60 332
62 325
64 408
66 406
68 412
72 522
74 445
74 545
74 640
76 522
77 544
80 614
82 614
84 620
85 627
88 627
90 632
Data set used for regression analysis
Formulas (1)
● Microsoft Excel has built-in functions such as LINEST, SLOPE, INTERCPET, and
CORREL that can help to do the linear regression.
3
The LINEST Function uses the least
squares method and determine a best
fitted straight line between studied
variables and returns an array
describing that line.
LINEST function returns an array of values (a and b), so it
must be entered as an array formula. Select two adjacent
cells in the same row, D3:F3 in this case, type the formula,
and press Ctrl + Shift + Enter to complete it.
Formulas (2)
● Microsoft Excel has built-in functions such as LINEST, SLOPE, INTERCPET, and
CORREL that can help to do the linear regression.
4
Otherwise, we can find the value of slope (a) and intercept
(b) directly by using the SLOPE and INTERCEPT
formulas
Formulas (3)
● Microsoft Excel has built-in functions such as LINEST, SLOPE, INTERCPET, and
CORREL that can help to do the linear regression.
5
Similarly correlations and R-squared between two variables can be determined by using the CORREL and
RSQ function of excel. (R-squared can also be determined by squaring the correlation)
By graph (1)
● Select the two columns with your data, including headers.
● On the Inset tab, in the Charts group, click the Scatter chart icon, and select
the Scatter thumbnail (the first one):
6
7
● Now, a least squares regression line needs to be drawn. Right click on any point in scatter
graph and choose Add Trendline
By graph (2)
8
● From Trendline options select linear as option and check the display equation and R-
squared on chart options
By graph (3)
On the Data tab, in the Analysis group, click the Data Analysis button.
9
Select Regression and click OK
● Select the Input Y Range, which is your dependent variable. In our case, it’s (B1:B20).
● Select the Input X Range, i.e. your independent variable. In this example, it's the (A1:A20).
● Select your preffered output range, it can be new worksheet also
10
● Optionally select the
residual option
Summary of results
11
Explanation of Regression statistics terms
● Multiple R. It is the Correlation Coefficient
● R Square. It is the Coefficient of Determination, which is used as an indicator of the goodness
of fit. In our example, R2 is 0.87 (rounded to 2 digits), which is fairy good. It means that 87% of
our values fit the regression analysis model. Generally, R Squared of 95% or more is
considered a good fit.
● Adjusted R Square. It is the R square adjusted for the number of independent variable in the
model. You will want to use this value instead of R square for multiple regression analysis.
● Standard Error. It is another goodness-of-fit measure that shows the precision of your
regression analysis - the smaller the number, the more certain you can be about your
regression equation. While R2 represents the percentage of the dependent variables variance
that is explained by the model, Standard Error is an absolute measure that shows the average
distance that the data points fall from the regression line.
● Observations. It is simply the number of observations in your model.
12
https://www.ablebits.com/office-addins-blog/2018/08/01/linear-regression-analysis-excel/
Explanation of Regression output terms
● The most useful component in this section is Coefficients. It helps us to make a model.
● X variable 1 =a = slope = 12,72
● Intercept = b = -442,387
● Equation
● Y = aX + b
● Y = 12,72 X -442,387
13
https://www.ablebits.com/office-addins-blog/2018/08/01/linear-regression-analysis-excel/
Regression analysis output: residuals
● If you compare the estimated and actual number of sold
ice-creams corresponding to the temperature , you will
see that these numbers are slightly different:
● Estimated: 219,44 (calculated above)
● Actual: 185 (row 2 of the source data)
● Why's the difference? Because independent variables
are never perfect predictors of the dependent variables.
And the residuals can help you understand how far
away the actual values are from the predicted values:
14
https://www.ablebits.com/office-addins-blog/2018/08/01/linear-regression-analysis-excel/

More Related Content

What's hot

Regression analysis ppt
Regression analysis pptRegression analysis ppt
Regression analysis ppt
Elkana Rorio
 
Logistic regression
Logistic regressionLogistic regression
Logistic regression
saba khan
 
Spss lecture notes
Spss lecture notesSpss lecture notes
Spss lecture notes
David mbwiga
 
Introduction to business statistics
Introduction to business statisticsIntroduction to business statistics
Introduction to business statistics
Aakash Kulkarni
 

What's hot (20)

Correlation analysis ppt
Correlation analysis pptCorrelation analysis ppt
Correlation analysis ppt
 
Statistical Distributions
Statistical DistributionsStatistical Distributions
Statistical Distributions
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Regression analysis ppt
Regression analysis pptRegression analysis ppt
Regression analysis ppt
 
Data visualization using R
Data visualization using RData visualization using R
Data visualization using R
 
Logistic regression
Logistic regressionLogistic regression
Logistic regression
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Simple Linear Regression
Simple Linear RegressionSimple Linear Regression
Simple Linear Regression
 
Logistic regression
Logistic regressionLogistic regression
Logistic regression
 
Spss lecture notes
Spss lecture notesSpss lecture notes
Spss lecture notes
 
Ordinary least squares linear regression
Ordinary least squares linear regressionOrdinary least squares linear regression
Ordinary least squares linear regression
 
discriminant analysis
discriminant analysisdiscriminant analysis
discriminant analysis
 
Linear regression analysis
Linear regression analysisLinear regression analysis
Linear regression analysis
 
Data analysis with R
Data analysis with RData analysis with R
Data analysis with R
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and Regression
 
Lesson 6 coefficient of determination
Lesson 6   coefficient of determinationLesson 6   coefficient of determination
Lesson 6 coefficient of determination
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Introduction to Statistics
Introduction to StatisticsIntroduction to Statistics
Introduction to Statistics
 
Introduction to business statistics
Introduction to business statisticsIntroduction to business statistics
Introduction to business statistics
 

Similar to Regression analysis in excel

SupportVectorRegression
SupportVectorRegressionSupportVectorRegression
SupportVectorRegression
Daniel K
 
Documents.pub sigmaplot 13-smit-principal-components-analysis-principal-compo...
Documents.pub sigmaplot 13-smit-principal-components-analysis-principal-compo...Documents.pub sigmaplot 13-smit-principal-components-analysis-principal-compo...
Documents.pub sigmaplot 13-smit-principal-components-analysis-principal-compo...
Martin Magu
 
ENGR 102B Microsoft Excel Proficiency LevelsPlease have your in.docx
ENGR 102B Microsoft Excel Proficiency LevelsPlease have your in.docxENGR 102B Microsoft Excel Proficiency LevelsPlease have your in.docx
ENGR 102B Microsoft Excel Proficiency LevelsPlease have your in.docx
YASHU40
 
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wiMAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
AbramMartino96
 
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wiMAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
AbramMartino96
 

Similar to Regression analysis in excel (20)

Principal component analysis and lda
Principal component analysis and ldaPrincipal component analysis and lda
Principal component analysis and lda
 
Six sigma pedagogy
Six sigma pedagogySix sigma pedagogy
Six sigma pedagogy
 
Six sigma
Six sigma Six sigma
Six sigma
 
SupportVectorRegression
SupportVectorRegressionSupportVectorRegression
SupportVectorRegression
 
Exploring Support Vector Regression - Signals and Systems Project
Exploring Support Vector Regression - Signals and Systems ProjectExploring Support Vector Regression - Signals and Systems Project
Exploring Support Vector Regression - Signals and Systems Project
 
Multiple Regression.ppt
Multiple Regression.pptMultiple Regression.ppt
Multiple Regression.ppt
 
How to combine interpolation and regression graphs in R
How to combine interpolation and regression graphs in RHow to combine interpolation and regression graphs in R
How to combine interpolation and regression graphs in R
 
Documents.pub sigmaplot 13-smit-principal-components-analysis-principal-compo...
Documents.pub sigmaplot 13-smit-principal-components-analysis-principal-compo...Documents.pub sigmaplot 13-smit-principal-components-analysis-principal-compo...
Documents.pub sigmaplot 13-smit-principal-components-analysis-principal-compo...
 
An Introduction to MATLAB with Worked Examples
An Introduction to MATLAB with Worked ExamplesAn Introduction to MATLAB with Worked Examples
An Introduction to MATLAB with Worked Examples
 
Elementary Data Analysis with MS Excel_Day-5
Elementary Data Analysis with MS Excel_Day-5Elementary Data Analysis with MS Excel_Day-5
Elementary Data Analysis with MS Excel_Day-5
 
What is Isotonic Regression and How Can a Business Utilize it to Analyze Data?
What is Isotonic Regression and How Can a Business Utilize it to Analyze Data?What is Isotonic Regression and How Can a Business Utilize it to Analyze Data?
What is Isotonic Regression and How Can a Business Utilize it to Analyze Data?
 
JF608: Quality Control - Unit 3
JF608: Quality Control - Unit 3JF608: Quality Control - Unit 3
JF608: Quality Control - Unit 3
 
R9
R9R9
R9
 
2.6b scatter plots and lines of best fit
2.6b scatter plots and lines of best fit2.6b scatter plots and lines of best fit
2.6b scatter plots and lines of best fit
 
Dimensionality Reduction and feature extraction.pptx
Dimensionality Reduction and feature extraction.pptxDimensionality Reduction and feature extraction.pptx
Dimensionality Reduction and feature extraction.pptx
 
ENGR 102B Microsoft Excel Proficiency LevelsPlease have your in.docx
ENGR 102B Microsoft Excel Proficiency LevelsPlease have your in.docxENGR 102B Microsoft Excel Proficiency LevelsPlease have your in.docx
ENGR 102B Microsoft Excel Proficiency LevelsPlease have your in.docx
 
X‾ and r charts
X‾ and r chartsX‾ and r charts
X‾ and r charts
 
Calculator scientific
Calculator scientificCalculator scientific
Calculator scientific
 
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wiMAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
 
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wiMAT 240 Random Sampling in Excel Tutorial This tutorial wi
MAT 240 Random Sampling in Excel Tutorial This tutorial wi
 

Recently uploaded

Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Klinik kandungan
 
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
gajnagarg
 
Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...
gajnagarg
 
Call Girls in G.T.B. Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in G.T.B. Nagar  (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in G.T.B. Nagar  (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in G.T.B. Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Belur $ Female Escorts Service in Kolkata (Adult Only) 8005736733 Escort Serv...
Belur $ Female Escorts Service in Kolkata (Adult Only) 8005736733 Escort Serv...Belur $ Female Escorts Service in Kolkata (Adult Only) 8005736733 Escort Serv...
Belur $ Female Escorts Service in Kolkata (Adult Only) 8005736733 Escort Serv...
HyderabadDolls
 
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
nirzagarg
 
Kalyani ? Call Girl in Kolkata | Service-oriented sexy call girls 8005736733 ...
Kalyani ? Call Girl in Kolkata | Service-oriented sexy call girls 8005736733 ...Kalyani ? Call Girl in Kolkata | Service-oriented sexy call girls 8005736733 ...
Kalyani ? Call Girl in Kolkata | Service-oriented sexy call girls 8005736733 ...
HyderabadDolls
 
Abortion pills in Doha {{ QATAR }} +966572737505) Get Cytotec
Abortion pills in Doha {{ QATAR }} +966572737505) Get CytotecAbortion pills in Doha {{ QATAR }} +966572737505) Get Cytotec
Abortion pills in Doha {{ QATAR }} +966572737505) Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 

Recently uploaded (20)

Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
 
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
 
Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...
 
High Profile Call Girls Service in Jalore { 9332606886 } VVIP NISHA Call Girl...
High Profile Call Girls Service in Jalore { 9332606886 } VVIP NISHA Call Girl...High Profile Call Girls Service in Jalore { 9332606886 } VVIP NISHA Call Girl...
High Profile Call Girls Service in Jalore { 9332606886 } VVIP NISHA Call Girl...
 
Call Girls in G.T.B. Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in G.T.B. Nagar  (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in G.T.B. Nagar  (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in G.T.B. Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Gomti Nagar & best call girls in Lucknow | 9548273370 Independent Escorts & D...
Gomti Nagar & best call girls in Lucknow | 9548273370 Independent Escorts & D...Gomti Nagar & best call girls in Lucknow | 9548273370 Independent Escorts & D...
Gomti Nagar & best call girls in Lucknow | 9548273370 Independent Escorts & D...
 
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
 
Belur $ Female Escorts Service in Kolkata (Adult Only) 8005736733 Escort Serv...
Belur $ Female Escorts Service in Kolkata (Adult Only) 8005736733 Escort Serv...Belur $ Female Escorts Service in Kolkata (Adult Only) 8005736733 Escort Serv...
Belur $ Female Escorts Service in Kolkata (Adult Only) 8005736733 Escort Serv...
 
社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token Prediction社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token Prediction
 
Giridih Escorts Service Girl ^ 9332606886, WhatsApp Anytime Giridih
Giridih Escorts Service Girl ^ 9332606886, WhatsApp Anytime GiridihGiridih Escorts Service Girl ^ 9332606886, WhatsApp Anytime Giridih
Giridih Escorts Service Girl ^ 9332606886, WhatsApp Anytime Giridih
 
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
 
Vastral Call Girls Book Now 7737669865 Top Class Escort Service Available
Vastral Call Girls Book Now 7737669865 Top Class Escort Service AvailableVastral Call Girls Book Now 7737669865 Top Class Escort Service Available
Vastral Call Girls Book Now 7737669865 Top Class Escort Service Available
 
RESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptx
RESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptxRESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptx
RESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptx
 
Kalyani ? Call Girl in Kolkata | Service-oriented sexy call girls 8005736733 ...
Kalyani ? Call Girl in Kolkata | Service-oriented sexy call girls 8005736733 ...Kalyani ? Call Girl in Kolkata | Service-oriented sexy call girls 8005736733 ...
Kalyani ? Call Girl in Kolkata | Service-oriented sexy call girls 8005736733 ...
 
Abortion pills in Doha {{ QATAR }} +966572737505) Get Cytotec
Abortion pills in Doha {{ QATAR }} +966572737505) Get CytotecAbortion pills in Doha {{ QATAR }} +966572737505) Get Cytotec
Abortion pills in Doha {{ QATAR }} +966572737505) Get Cytotec
 
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
 
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book nowVadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
 
TrafficWave Generator Will Instantly drive targeted and engaging traffic back...
TrafficWave Generator Will Instantly drive targeted and engaging traffic back...TrafficWave Generator Will Instantly drive targeted and engaging traffic back...
TrafficWave Generator Will Instantly drive targeted and engaging traffic back...
 
👉 Bhilai Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl Ser...
👉 Bhilai Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl Ser...👉 Bhilai Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl Ser...
👉 Bhilai Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl Ser...
 
Statistics notes ,it includes mean to index numbers
Statistics notes ,it includes mean to index numbersStatistics notes ,it includes mean to index numbers
Statistics notes ,it includes mean to index numbers
 

Regression analysis in excel

  • 1. Lecture: Simple Linear Regression in MICROSOFT EXCEL Chaudhary Awais Salman Doctoral Researcher in Future Energy Course instructor School of Business, Society and Engineering Fuuture Energy – Centre of Excellence Email: Chaudhary.awais.salman@mdh.se
  • 2. Regression analysis in Excel ● Three methods are described to perform the regression analysis in EXCEL 1. By formulas 2. By graph 3. By built-in data analysis tool 2 Temperature (deg F) Icecream sales, USD 52 185 58 215 60 332 62 325 64 408 66 406 68 412 72 522 74 445 74 545 74 640 76 522 77 544 80 614 82 614 84 620 85 627 88 627 90 632 Data set used for regression analysis
  • 3. Formulas (1) ● Microsoft Excel has built-in functions such as LINEST, SLOPE, INTERCPET, and CORREL that can help to do the linear regression. 3 The LINEST Function uses the least squares method and determine a best fitted straight line between studied variables and returns an array describing that line. LINEST function returns an array of values (a and b), so it must be entered as an array formula. Select two adjacent cells in the same row, D3:F3 in this case, type the formula, and press Ctrl + Shift + Enter to complete it.
  • 4. Formulas (2) ● Microsoft Excel has built-in functions such as LINEST, SLOPE, INTERCPET, and CORREL that can help to do the linear regression. 4 Otherwise, we can find the value of slope (a) and intercept (b) directly by using the SLOPE and INTERCEPT formulas
  • 5. Formulas (3) ● Microsoft Excel has built-in functions such as LINEST, SLOPE, INTERCPET, and CORREL that can help to do the linear regression. 5 Similarly correlations and R-squared between two variables can be determined by using the CORREL and RSQ function of excel. (R-squared can also be determined by squaring the correlation)
  • 6. By graph (1) ● Select the two columns with your data, including headers. ● On the Inset tab, in the Charts group, click the Scatter chart icon, and select the Scatter thumbnail (the first one): 6
  • 7. 7 ● Now, a least squares regression line needs to be drawn. Right click on any point in scatter graph and choose Add Trendline By graph (2)
  • 8. 8 ● From Trendline options select linear as option and check the display equation and R- squared on chart options By graph (3)
  • 9. On the Data tab, in the Analysis group, click the Data Analysis button. 9 Select Regression and click OK
  • 10. ● Select the Input Y Range, which is your dependent variable. In our case, it’s (B1:B20). ● Select the Input X Range, i.e. your independent variable. In this example, it's the (A1:A20). ● Select your preffered output range, it can be new worksheet also 10 ● Optionally select the residual option
  • 12. Explanation of Regression statistics terms ● Multiple R. It is the Correlation Coefficient ● R Square. It is the Coefficient of Determination, which is used as an indicator of the goodness of fit. In our example, R2 is 0.87 (rounded to 2 digits), which is fairy good. It means that 87% of our values fit the regression analysis model. Generally, R Squared of 95% or more is considered a good fit. ● Adjusted R Square. It is the R square adjusted for the number of independent variable in the model. You will want to use this value instead of R square for multiple regression analysis. ● Standard Error. It is another goodness-of-fit measure that shows the precision of your regression analysis - the smaller the number, the more certain you can be about your regression equation. While R2 represents the percentage of the dependent variables variance that is explained by the model, Standard Error is an absolute measure that shows the average distance that the data points fall from the regression line. ● Observations. It is simply the number of observations in your model. 12 https://www.ablebits.com/office-addins-blog/2018/08/01/linear-regression-analysis-excel/
  • 13. Explanation of Regression output terms ● The most useful component in this section is Coefficients. It helps us to make a model. ● X variable 1 =a = slope = 12,72 ● Intercept = b = -442,387 ● Equation ● Y = aX + b ● Y = 12,72 X -442,387 13 https://www.ablebits.com/office-addins-blog/2018/08/01/linear-regression-analysis-excel/
  • 14. Regression analysis output: residuals ● If you compare the estimated and actual number of sold ice-creams corresponding to the temperature , you will see that these numbers are slightly different: ● Estimated: 219,44 (calculated above) ● Actual: 185 (row 2 of the source data) ● Why's the difference? Because independent variables are never perfect predictors of the dependent variables. And the residuals can help you understand how far away the actual values are from the predicted values: 14 https://www.ablebits.com/office-addins-blog/2018/08/01/linear-regression-analysis-excel/