Skip to Main Content Libraries

MATH 138: Statistics: Excel & R Tips

How to Videos

Willamette subscribes to Linked-In Learning, a collection of self-paced educational videos that allow individuals to develop personal and professional skills (e.g. photography, writing skills, computer languages). Linked-In Learning also lists video courses you complete under your Linked-In account under licenses and certifications. 

Excel Directions

Basic curve fitting with Excel

1. DATA
There must be two columns of data of the same size. Column one will be the X axis (independent, input, predictor data), and column two will be the Y axis (Dependent, output, response data). 

2. SCATTER PLOT
Highlight the two columns.  Select Insert (top of screen) and then select Scatter for your chart.  To label the axis, click on the scatter plot (it doesn't matter where).  You should automatically be in the Design tab. In the top left corner, select Quick Layout, and choose the top left most option (Layout 1). This will add generic labels to the chart. Right click on the labels to edit them.

3. FITTING A MODEL
Highlight your chart is highlighted (click on the chart anywhere). Three icons will appear on the right, click on the Plus icon and select Trendline. The arrow over next to the Plus icon provides more trendline options such as exponential, polynomial, moving average, linear, and logarithmic. When selecting polynomial you need to set the order of the polynomial (2 is quadratic, 3 is cubic). At the bottom of the Format Trendline box choose Display Equation and Display R squared. You can choose to give the equation a name, choose to have the equation extrapolated forward or backward, and set a fixed intercept value.

 

Willamette University

Willamette University Libraries

Mark O. Hatfield Library
900 State Street.
Salem Oregon 97301
Pacific Northwest College of Art Library
511 NW Broadway.
Portland Oregon 97209