SlideShare a Scribd company logo
Excel Slope/Intercept Instructions
Excel has functions which calculate the SLOPE and INTERCEPT of a regression line given a dataset. It also
has a function, FORECAST, which creates predicted values (using the "regression" line). These instructions
walk you through the steps needed to do the assignment in Unit 5. Similar steps will work to create predicted
values for any dataset.
Overview
It is a good idea to set up your spreadsheet in some logical fashion. While it is possible to create a nice graph
from data with the x-component data at the top of the worksheet and the y-component 1000 cells below, it's
not a good way to set things up. Organization of a worksheet is an art, but any effort you make is very
helpful, especially when you have to come back to a spreadsheet you created last year and update a report
before your boss's meeting at noon. (And who knows when your boss will want to use your spreadsheet
while you're gone?) In addition to logical arrangement of data, headings and comments are very helpful
additions to any complex spreadsheet.
Here we set up two extra columns of data to produce straight lines that pass through the original data. One
line is the SD-line and the other is the regression line. So, we will set up columns of data with x-values next to
y-values. I suggest leaving some room at the top of the spreadsheet to put comments, calculated values like
the average, and titles. The bottom is OK too, but harder for others to find if they borrow your spreadsheet.
Make the SD line data
1. Copy the data into the worksheet and move the columns (cut and paste) so that the variables are lined
up next to each other.
2. Find the averages and standard deviations for each column and the correlation coefficient; place them
in cells adjacent to labels so that you (and others) know what they are.
3. We now have all the information needed to create the SD-line. put an appropriate label at the top of a
new column and enter a formula in the first row of data which uses the SD-line formula to calculate the
correct y-value for the x-value of that row. Each row corresponds to an x-value and its related y-
values (one for the data point, one on the SD-line that we are now computing, and one on the
regression line that we will compute below). Remember to use dollar signs before the letter and
number of any cells that shouldn't change when you copy from one row to the next. For example, the
average and SDs are the same for each row. If they appear in cell D4, then use $D$4 in place of D4.
The SD-line of interest will be downward sloping if the correlation coefficient is negative (so you'll need
to have the correlation coefficient computed -- and, I hope, labelled -- somewhere on the sheet). So,
for example, use the function SIGN($F$6) to get a plus or minus 1 depending on the sign of the cell
F6.
4. Check that your formula gives the correct answer. Then copy the formula down the column to the
other rows. Check to make sure that the correct cell names (like A10) are getting incremented while
the ones for the average, SD, etc are not. If necessary, add more dollar signs and copy again.
Make the regression line data
Now to add the column for the regression line: (Did you label it first?)
There are three ways to get the regression line.
1. You can enter the formula for the regression line just like you did for the SD-line. You have all the
needed averages and SDs and the correlation coefficient.
2. You can have Excel calculate the slope and intercept for you, putting them into special cells (don't
forget to label them). Then use the formula for a line in each row of the column. The functions SLOPE
and INTERCEPT give you the values you need. They each require two data ranges as inputs, one for
the x values and one for the y values -- but for some reason Excel wants the y-values first.
3. You can use the FORECAST function. This function requires three inputs: the particular x value for
which you want a regression result, all the y values, and all the x values. Remember to put dollar signs
in the data ranges that you don't want to change when you copy.
Whichever way you choose, copy the formula down the column and check that it incremented (or left alone)
the cell ranges correctly.
Make a scatter plot with SD and regression lines
You now have four columns of data! You can make a scatter plot with lines for the SD-line and regression
line.
1. Highlight the four data columns (with their labels at the top) and choose the "chart wizard" (a button at
the top with a bar chart). Choose the scatter plot format without lines connecting the points.
2. The next screen asks you to verify that the four columns that Excel thinks you want are really the ones
you want. Select the Series tab at the top and verify that the x and y ranges are correct for each of the
three data series (a data series is a column of y values) All OK? Then move to Next screen.
3. Put titles as you wish and/or remove the legend (i.e., the table telling which symbol represents which
series). There will be three sets of data points. Click FINISH to put the chart into your worksheet.
4. By clicking on the emphasized points on the rim of the chart and moving the mouse, you can change
the size or position of the chart.
5. Initially, the axes will cross at (0,0), while all the data points appear well above and to the right. To
make the graph focus on the data points, change the scale of your plot by double-clicking on the x- (or
y-) axis and then choosing the "Scale" Tab in the window that appears. Choose appropriate values for
the minimum and maximum values of the x and y variables, near the minima and maxima for the data
points. You may also want to change the major units to some smaller value, to add more grid lines to
the graph.
6. Make the second (SD line) points and third (predicted) data points appear as lines: Double-click on
one of the SD-line points (respectively, "predicted" data points). Then, under the "Pattern" Tab, set the
line style to "automatic" and the marker style to "none". Click OK, then click somewhere off the chart
(to unselect the data) and look at your chart.
Revised: January 7, 2000. Questions to: dlantz@mail.colgate.edu
Copyright 2000 © Colgate University. All rights reserved.

More Related Content

What's hot

excel charts
excel chartsexcel charts
excel charts
Aayushi Jain
 
Advances in ms excel
Advances in ms excelAdvances in ms excel
Advances in ms excelMohit Kumar
 
Creating Chart
Creating ChartCreating Chart
Creating Chart
tieny8085
 
MS Excel - Charts
MS Excel - ChartsMS Excel - Charts
MS Excel - Charts
Muhammad Yasir Bhutta
 
Introduction to Basic Spreadsheets
Introduction to Basic SpreadsheetsIntroduction to Basic Spreadsheets
Introduction to Basic Spreadsheets
Kingston Tagoe
 
Charts in excel 2007
Charts in excel 2007Charts in excel 2007
Charts in excel 2007bloftinsaisd
 
USING VLOOKUP FUNCTION
USING VLOOKUP FUNCTIONUSING VLOOKUP FUNCTION
USING VLOOKUP FUNCTION
Ruffson Panganiban
 
NCompass Live: Excel for Librarians
NCompass Live: Excel for LibrariansNCompass Live: Excel for Librarians
NCompass Live: Excel for Librarians
Nebraska Library Commission
 
Computer midterms
Computer midtermsComputer midterms
Computer midterms
Emjei Mendoza
 
DATA SCIENCE TRAINING IN HYDERABAD
DATA SCIENCE TRAINING IN HYDERABADDATA SCIENCE TRAINING IN HYDERABAD
DATA SCIENCE TRAINING IN HYDERABAD
RS Trainings
 
MS-EXCEL Assignment Help
MS-EXCEL Assignment HelpMS-EXCEL Assignment Help
MS-EXCEL Assignment Help
Rahul Kataria
 
MS Excel Ch 3 PPT
MS Excel Ch 3 PPTMS Excel Ch 3 PPT
MS Excel Ch 3 PPTprsmith72
 
spreedsheet operation
spreedsheet operationspreedsheet operation
spreedsheet operationyamchhetri
 
Chart Components
Chart ComponentsChart Components
Chart Componentswmassie
 
MS Excel Ch 1 PPT
MS Excel Ch 1 PPTMS Excel Ch 1 PPT
MS Excel Ch 1 PPTprsmith72
 
Making a Chart Using Excel
Making a Chart Using ExcelMaking a Chart Using Excel
Making a Chart Using Excel
rebelbrindley
 

What's hot (20)

excel charts
excel chartsexcel charts
excel charts
 
Advances in ms excel
Advances in ms excelAdvances in ms excel
Advances in ms excel
 
Creating Chart
Creating ChartCreating Chart
Creating Chart
 
MS Excel - Charts
MS Excel - ChartsMS Excel - Charts
MS Excel - Charts
 
Introduction to Basic Spreadsheets
Introduction to Basic SpreadsheetsIntroduction to Basic Spreadsheets
Introduction to Basic Spreadsheets
 
Excel booklet
Excel bookletExcel booklet
Excel booklet
 
Charts in excel 2007
Charts in excel 2007Charts in excel 2007
Charts in excel 2007
 
USING VLOOKUP FUNCTION
USING VLOOKUP FUNCTIONUSING VLOOKUP FUNCTION
USING VLOOKUP FUNCTION
 
NCompass Live: Excel for Librarians
NCompass Live: Excel for LibrariansNCompass Live: Excel for Librarians
NCompass Live: Excel for Librarians
 
Computer midterms
Computer midtermsComputer midterms
Computer midterms
 
DATA SCIENCE TRAINING IN HYDERABAD
DATA SCIENCE TRAINING IN HYDERABADDATA SCIENCE TRAINING IN HYDERABAD
DATA SCIENCE TRAINING IN HYDERABAD
 
MS-EXCEL Assignment Help
MS-EXCEL Assignment HelpMS-EXCEL Assignment Help
MS-EXCEL Assignment Help
 
MS Excel Ch 3 PPT
MS Excel Ch 3 PPTMS Excel Ch 3 PPT
MS Excel Ch 3 PPT
 
spreedsheet operation
spreedsheet operationspreedsheet operation
spreedsheet operation
 
Excel2002
Excel2002Excel2002
Excel2002
 
ch 9
ch 9ch 9
ch 9
 
Chart Components
Chart ComponentsChart Components
Chart Components
 
MS Excel Ch 1 PPT
MS Excel Ch 1 PPTMS Excel Ch 1 PPT
MS Excel Ch 1 PPT
 
Making a Chart Using Excel
Making a Chart Using ExcelMaking a Chart Using Excel
Making a Chart Using Excel
 
Spreadsheets 2
Spreadsheets 2Spreadsheets 2
Spreadsheets 2
 

Viewers also liked

Lesson 8 Linear Correlation And Regression
Lesson 8 Linear Correlation And RegressionLesson 8 Linear Correlation And Regression
Lesson 8 Linear Correlation And RegressionSumit Prajapati
 
Linear regression and correlation analysis ppt @ bec doms
Linear regression and correlation analysis ppt @ bec domsLinear regression and correlation analysis ppt @ bec doms
Linear regression and correlation analysis ppt @ bec doms
Babasab Patil
 
Simple linear regression (final)
Simple linear regression (final)Simple linear regression (final)
Simple linear regression (final)Harsh Upadhyay
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regressionKhalid Aziz
 
Regression analysis ppt
Regression analysis pptRegression analysis ppt
Regression analysis pptElkana Rorio
 

Viewers also liked (8)

Lesson 8 Linear Correlation And Regression
Lesson 8 Linear Correlation And RegressionLesson 8 Linear Correlation And Regression
Lesson 8 Linear Correlation And Regression
 
Linear regression and correlation analysis ppt @ bec doms
Linear regression and correlation analysis ppt @ bec domsLinear regression and correlation analysis ppt @ bec doms
Linear regression and correlation analysis ppt @ bec doms
 
Simple linear regression (final)
Simple linear regression (final)Simple linear regression (final)
Simple linear regression (final)
 
Correlation analysis
Correlation analysisCorrelation analysis
Correlation analysis
 
Correlation and Simple Regression
Correlation  and Simple RegressionCorrelation  and Simple Regression
Correlation and Simple Regression
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Regression analysis ppt
Regression analysis pptRegression analysis ppt
Regression analysis ppt
 
Correlation ppt...
Correlation ppt...Correlation ppt...
Correlation ppt...
 

Similar to Excel Slope Instruction

Microsoft Excel.pptx
Microsoft Excel.pptxMicrosoft Excel.pptx
Microsoft Excel.pptx
SIMNchannel
 
In Section 1 on the Data page, complete each column of the spreads.docx
In Section 1 on the Data page, complete each column of the spreads.docxIn Section 1 on the Data page, complete each column of the spreads.docx
In Section 1 on the Data page, complete each column of the spreads.docx
sleeperharwell
 
Lab 4 Excel Basics.ppt
Lab 4 Excel Basics.pptLab 4 Excel Basics.ppt
Lab 4 Excel Basics.ppt
CristianAlfonso20
 
Lab 4 excel basics
Lab 4 excel basicsLab 4 excel basics
Lab 4 excel basics
Prashant07061995
 
Excel Basics.ppt
Excel Basics.pptExcel Basics.ppt
Excel Basics.ppt
Anabel Bagdoc
 
Correlations and Scatterplots MS Excel Lesson 2 Grade 8.ppt
Correlations and Scatterplots MS Excel Lesson 2 Grade 8.pptCorrelations and Scatterplots MS Excel Lesson 2 Grade 8.ppt
Correlations and Scatterplots MS Excel Lesson 2 Grade 8.ppt
JoshuaCasas7
 
LECTURE 06 (SPREADSHEET).pptx
LECTURE 06 (SPREADSHEET).pptxLECTURE 06 (SPREADSHEET).pptx
LECTURE 06 (SPREADSHEET).pptx
MwangaPrayGod
 
IPT Preliminary Spreadsheets
IPT Preliminary SpreadsheetsIPT Preliminary Spreadsheets
IPT Preliminary Spreadsheets
thowell1985
 
Spreadsheets
SpreadsheetsSpreadsheets
Spreadsheets
Ross Martin
 
LabsLab5Lab5_Excel_SH.htmlLab 5 SpreadsheetsLearning Outcomes.docx
LabsLab5Lab5_Excel_SH.htmlLab 5 SpreadsheetsLearning Outcomes.docxLabsLab5Lab5_Excel_SH.htmlLab 5 SpreadsheetsLearning Outcomes.docx
LabsLab5Lab5_Excel_SH.htmlLab 5 SpreadsheetsLearning Outcomes.docx
DIPESH30
 
Excle
ExcleExcle
Excle
kamal modi
 
MIRCROSOFT EXCEL- brief and useful for beginners by RISHABH BANSAL
MIRCROSOFT EXCEL- brief and useful for beginners by RISHABH BANSALMIRCROSOFT EXCEL- brief and useful for beginners by RISHABH BANSAL
MIRCROSOFT EXCEL- brief and useful for beginners by RISHABH BANSAL
Rishabh Bansal
 
Excel Project 2 Check FiguresSteps 1-2-3 As instructedStep
Excel Project 2 Check FiguresSteps 1-2-3  As instructedStepExcel Project 2 Check FiguresSteps 1-2-3  As instructedStep
Excel Project 2 Check FiguresSteps 1-2-3 As instructedStep
galinagrabow44ms
 
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
Nitish Nagar
 
Graphing Using Excel Part Ii 2008 Finished
Graphing Using Excel Part Ii 2008 FinishedGraphing Using Excel Part Ii 2008 Finished
Graphing Using Excel Part Ii 2008 Finished
Stephanie
 
22-excel-basics-15511.ppt
22-excel-basics-15511.ppt22-excel-basics-15511.ppt
22-excel-basics-15511.ppt
20ArnavKumar8F
 
Introduction to micro soft Training ms Excel.ppt
Introduction to micro soft Training ms Excel.pptIntroduction to micro soft Training ms Excel.ppt
Introduction to micro soft Training ms Excel.ppt
dejene3
 
How to Insert a Graph Into Microsoft Excel 2007
How to Insert a Graph Into Microsoft Excel 2007How to Insert a Graph Into Microsoft Excel 2007
How to Insert a Graph Into Microsoft Excel 2007nfasano
 
Excel training
Excel trainingExcel training
Excel training
Alexandru Gologan
 

Similar to Excel Slope Instruction (20)

Microsoft Excel.pptx
Microsoft Excel.pptxMicrosoft Excel.pptx
Microsoft Excel.pptx
 
In Section 1 on the Data page, complete each column of the spreads.docx
In Section 1 on the Data page, complete each column of the spreads.docxIn Section 1 on the Data page, complete each column of the spreads.docx
In Section 1 on the Data page, complete each column of the spreads.docx
 
Lab 4 Excel Basics.ppt
Lab 4 Excel Basics.pptLab 4 Excel Basics.ppt
Lab 4 Excel Basics.ppt
 
Lab 4 excel basics
Lab 4 excel basicsLab 4 excel basics
Lab 4 excel basics
 
Excel Basics.ppt
Excel Basics.pptExcel Basics.ppt
Excel Basics.ppt
 
Correlations and Scatterplots MS Excel Lesson 2 Grade 8.ppt
Correlations and Scatterplots MS Excel Lesson 2 Grade 8.pptCorrelations and Scatterplots MS Excel Lesson 2 Grade 8.ppt
Correlations and Scatterplots MS Excel Lesson 2 Grade 8.ppt
 
LECTURE 06 (SPREADSHEET).pptx
LECTURE 06 (SPREADSHEET).pptxLECTURE 06 (SPREADSHEET).pptx
LECTURE 06 (SPREADSHEET).pptx
 
IPT Preliminary Spreadsheets
IPT Preliminary SpreadsheetsIPT Preliminary Spreadsheets
IPT Preliminary Spreadsheets
 
Spreadsheets
SpreadsheetsSpreadsheets
Spreadsheets
 
LabsLab5Lab5_Excel_SH.htmlLab 5 SpreadsheetsLearning Outcomes.docx
LabsLab5Lab5_Excel_SH.htmlLab 5 SpreadsheetsLearning Outcomes.docxLabsLab5Lab5_Excel_SH.htmlLab 5 SpreadsheetsLearning Outcomes.docx
LabsLab5Lab5_Excel_SH.htmlLab 5 SpreadsheetsLearning Outcomes.docx
 
Tech training workshop 3 final 090810
Tech training   workshop 3 final 090810Tech training   workshop 3 final 090810
Tech training workshop 3 final 090810
 
Excle
ExcleExcle
Excle
 
MIRCROSOFT EXCEL- brief and useful for beginners by RISHABH BANSAL
MIRCROSOFT EXCEL- brief and useful for beginners by RISHABH BANSALMIRCROSOFT EXCEL- brief and useful for beginners by RISHABH BANSAL
MIRCROSOFT EXCEL- brief and useful for beginners by RISHABH BANSAL
 
Excel Project 2 Check FiguresSteps 1-2-3 As instructedStep
Excel Project 2 Check FiguresSteps 1-2-3  As instructedStepExcel Project 2 Check FiguresSteps 1-2-3  As instructedStep
Excel Project 2 Check FiguresSteps 1-2-3 As instructedStep
 
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
 
Graphing Using Excel Part Ii 2008 Finished
Graphing Using Excel Part Ii 2008 FinishedGraphing Using Excel Part Ii 2008 Finished
Graphing Using Excel Part Ii 2008 Finished
 
22-excel-basics-15511.ppt
22-excel-basics-15511.ppt22-excel-basics-15511.ppt
22-excel-basics-15511.ppt
 
Introduction to micro soft Training ms Excel.ppt
Introduction to micro soft Training ms Excel.pptIntroduction to micro soft Training ms Excel.ppt
Introduction to micro soft Training ms Excel.ppt
 
How to Insert a Graph Into Microsoft Excel 2007
How to Insert a Graph Into Microsoft Excel 2007How to Insert a Graph Into Microsoft Excel 2007
How to Insert a Graph Into Microsoft Excel 2007
 
Excel training
Excel trainingExcel training
Excel training
 

Recently uploaded

一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单
ewymefz
 
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
vcaxypu
 
一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单
enxupq
 
Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)
TravisMalana
 
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
Tiktokethiodaily
 
Opendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptxOpendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptx
Opendatabay
 
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
NABLAS株式会社
 
The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...
jerlynmaetalle
 
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
ewymefz
 
tapal brand analysis PPT slide for comptetive data
tapal brand analysis PPT slide for comptetive datatapal brand analysis PPT slide for comptetive data
tapal brand analysis PPT slide for comptetive data
theahmadsaood
 
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Subhajit Sahu
 
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
axoqas
 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Boston Institute of Analytics
 
一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单
ocavb
 
社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .
NABLAS株式会社
 
Tabula.io Cheatsheet: automate your data workflows
Tabula.io Cheatsheet: automate your data workflowsTabula.io Cheatsheet: automate your data workflows
Tabula.io Cheatsheet: automate your data workflows
alex933524
 
standardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghhstandardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghh
ArpitMalhotra16
 
一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单
ewymefz
 
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
correoyaya
 
Business update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMIBusiness update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMI
AlejandraGmez176757
 

Recently uploaded (20)

一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单
 
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
 
一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单
 
Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)
 
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
 
Opendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptxOpendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptx
 
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
 
The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...
 
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
 
tapal brand analysis PPT slide for comptetive data
tapal brand analysis PPT slide for comptetive datatapal brand analysis PPT slide for comptetive data
tapal brand analysis PPT slide for comptetive data
 
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
 
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
 
一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单
 
社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .
 
Tabula.io Cheatsheet: automate your data workflows
Tabula.io Cheatsheet: automate your data workflowsTabula.io Cheatsheet: automate your data workflows
Tabula.io Cheatsheet: automate your data workflows
 
standardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghhstandardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghh
 
一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单
 
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
 
Business update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMIBusiness update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMI
 

Excel Slope Instruction

  • 1. Excel Slope/Intercept Instructions Excel has functions which calculate the SLOPE and INTERCEPT of a regression line given a dataset. It also has a function, FORECAST, which creates predicted values (using the "regression" line). These instructions walk you through the steps needed to do the assignment in Unit 5. Similar steps will work to create predicted values for any dataset. Overview It is a good idea to set up your spreadsheet in some logical fashion. While it is possible to create a nice graph from data with the x-component data at the top of the worksheet and the y-component 1000 cells below, it's not a good way to set things up. Organization of a worksheet is an art, but any effort you make is very helpful, especially when you have to come back to a spreadsheet you created last year and update a report before your boss's meeting at noon. (And who knows when your boss will want to use your spreadsheet while you're gone?) In addition to logical arrangement of data, headings and comments are very helpful additions to any complex spreadsheet. Here we set up two extra columns of data to produce straight lines that pass through the original data. One line is the SD-line and the other is the regression line. So, we will set up columns of data with x-values next to y-values. I suggest leaving some room at the top of the spreadsheet to put comments, calculated values like the average, and titles. The bottom is OK too, but harder for others to find if they borrow your spreadsheet. Make the SD line data 1. Copy the data into the worksheet and move the columns (cut and paste) so that the variables are lined up next to each other. 2. Find the averages and standard deviations for each column and the correlation coefficient; place them in cells adjacent to labels so that you (and others) know what they are. 3. We now have all the information needed to create the SD-line. put an appropriate label at the top of a new column and enter a formula in the first row of data which uses the SD-line formula to calculate the correct y-value for the x-value of that row. Each row corresponds to an x-value and its related y- values (one for the data point, one on the SD-line that we are now computing, and one on the regression line that we will compute below). Remember to use dollar signs before the letter and number of any cells that shouldn't change when you copy from one row to the next. For example, the average and SDs are the same for each row. If they appear in cell D4, then use $D$4 in place of D4. The SD-line of interest will be downward sloping if the correlation coefficient is negative (so you'll need to have the correlation coefficient computed -- and, I hope, labelled -- somewhere on the sheet). So, for example, use the function SIGN($F$6) to get a plus or minus 1 depending on the sign of the cell F6. 4. Check that your formula gives the correct answer. Then copy the formula down the column to the other rows. Check to make sure that the correct cell names (like A10) are getting incremented while the ones for the average, SD, etc are not. If necessary, add more dollar signs and copy again. Make the regression line data
  • 2. Now to add the column for the regression line: (Did you label it first?) There are three ways to get the regression line. 1. You can enter the formula for the regression line just like you did for the SD-line. You have all the needed averages and SDs and the correlation coefficient. 2. You can have Excel calculate the slope and intercept for you, putting them into special cells (don't forget to label them). Then use the formula for a line in each row of the column. The functions SLOPE and INTERCEPT give you the values you need. They each require two data ranges as inputs, one for the x values and one for the y values -- but for some reason Excel wants the y-values first. 3. You can use the FORECAST function. This function requires three inputs: the particular x value for which you want a regression result, all the y values, and all the x values. Remember to put dollar signs in the data ranges that you don't want to change when you copy. Whichever way you choose, copy the formula down the column and check that it incremented (or left alone) the cell ranges correctly. Make a scatter plot with SD and regression lines You now have four columns of data! You can make a scatter plot with lines for the SD-line and regression line. 1. Highlight the four data columns (with their labels at the top) and choose the "chart wizard" (a button at the top with a bar chart). Choose the scatter plot format without lines connecting the points. 2. The next screen asks you to verify that the four columns that Excel thinks you want are really the ones you want. Select the Series tab at the top and verify that the x and y ranges are correct for each of the three data series (a data series is a column of y values) All OK? Then move to Next screen. 3. Put titles as you wish and/or remove the legend (i.e., the table telling which symbol represents which series). There will be three sets of data points. Click FINISH to put the chart into your worksheet. 4. By clicking on the emphasized points on the rim of the chart and moving the mouse, you can change the size or position of the chart. 5. Initially, the axes will cross at (0,0), while all the data points appear well above and to the right. To make the graph focus on the data points, change the scale of your plot by double-clicking on the x- (or y-) axis and then choosing the "Scale" Tab in the window that appears. Choose appropriate values for the minimum and maximum values of the x and y variables, near the minima and maxima for the data points. You may also want to change the major units to some smaller value, to add more grid lines to the graph. 6. Make the second (SD line) points and third (predicted) data points appear as lines: Double-click on one of the SD-line points (respectively, "predicted" data points). Then, under the "Pattern" Tab, set the line style to "automatic" and the marker style to "none". Click OK, then click somewhere off the chart (to unselect the data) and look at your chart. Revised: January 7, 2000. Questions to: dlantz@mail.colgate.edu Copyright 2000 © Colgate University. All rights reserved.