Docsity

Performing Regression Analysis using Microsoft Excel: A Step-by-Step Guide, Assignments of Pre-Calculus

Toggle sidebar
bg1
Regression using Microsoft Excel Regression
Objective: Students will learn how to perform regression analysis.
1. First, enter and select the data you want in your scatter plot/
regression analysis. This data is a student’s recording of cumulative
miles traveled by their car over a 10-day period.
Day # Cumulative Miles
112
2 23
3 45
4 56
5 62
6 70
7 120
8 134
9 145
10 183
2. Next, click on the Chart Wizard ikon , select the XY (Scatter)plot,
then fine tune it (with title, axis labels, legend, etc.). You may want to
refer to the Excel Statistics worksheet for more details.
3. With the graph selected, click on Chart in the menu bar, and drag
downward to “Add Trendline”. You should see 2 tabs.
Under the Type tab, choose Linear and under the Options tab, choose
“Display equation on chart” and “Display R
2
value on chart”. The
computer does the rest!
You should see the equation in slope-intercept [y = ax + b] form. You
will need to find the square root of R
2
for the correlation coefficient.
You may use the square root command [=SQRT(R
2
value)], which works
in general. You will need to apply the + or – sign. For the linear
correlation coefficient, you may also choose the more direct command:
=CORREL(array for x values, array for y values).
You may also perform quadratic regression (polynomial, order 2), cubic
regression (polynomial, order 3), and other polynomial regression
(orders 4, 5, and 6), logarithmic regression, exponential regression,
and power regression. The process for each is very similar.
1
pf3

Partial preview of the text

Download Performing Regression Analysis using Microsoft Excel: A Step-by-Step Guide and more Assignments Pre-Calculus in PDF only on Docsity!

Regression using Microsoft Excel Regression

Objective: Students will learn how to perform regression analysis.

  1. First, enter and select the data you want in your scatter plot/ regression analysis. This data is a student’s recording of cumulative miles traveled by their car over a 10-day period. Day # Cumulative Miles 1 12 2 23 3 45 4 56 5 62 6 70 7 120 8 134 9 145 10 183
  2. Next, click on the Chart Wizard ikon , select the XY (Scatter)plot, then fine tune it (with title, axis labels, legend, etc.). You may want to refer to the Excel Statistics worksheet for more details.
  3. With the graph selected, click on Chart in the menu bar, and drag downward to “Add Trendline”. You should see 2 tabs.

Under the Type tab, choose Linear and under the Options tab, choose “Display equation on chart” and “Display R 2 value on chart”. The computer does the rest!

You should see the equation in slope-intercept [y = ax + b] form. You will need to find the square root of R 2 for the correlation coefficient. You may use the square root command [=SQRT(R 2 value)], which works in general. You will need to apply the + or – sign. For the linear correlation coefficient, you may also choose the more direct command: =CORREL(array for x values, array for y values).

You may also perform quadratic regression (polynomial, order 2), cubic regression (polynomial, order 3), and other polynomial regression (orders 4, 5, and 6), logarithmic regression, exponential regression, and power regression. The process for each is very similar.

Regression using Microsoft Excel Printing Issues

A few helpful hints on printing...

Printing in Excel —

In order to print, click and drag over all cells you’d like to print.

Then under File, select Set Print Area.

You can use Page Setup under File to orient the page vertically (Portrait) or horizontally (Landscape).

You can also go under File to Print Preview to see how the page(s) will look before you commit to print. This is highly recommended to save paper (and trees)!

There are 2 ways to ask the computer to print once you’re ready — either go under File to Print, or click on the printer icon button.

Your regression analysis results may look something like this:

Odometer Readings y = 18.412x - 16. R^2 = 0.

0

10

20

30

40

50

60

70

80

90

100

110

120

130

140

150

160

170

180

190

200

0 1 2 3 4 5 6 7 8 9 10 11 12 Day number

Cumulative Miles