Microsoft Office Online
Sign in to My Office Online (What's this?) | Sign in

 
 
Help and How-to
Search
Search
 
Check for updates: (c) Microsoft
Microsoft Update
 
 
 
Warning: You are viewing this page with an unsupported Web browser. This Web site works best with Microsoft Internet Explorer 6.0 or later, Firefox 1.5, or Netscape Navigator 8.0 or later. Learn more about supported browsers.

Email this linkEmail this link Printer-Friendly VersionPrinter-Friendly Version Bookmark and ShareShare
Equations for calculating trendlines
Applies to: Graph
 

Linear

Calculates the least squares fit for a line represented by the following equation:

Equation

where m is the slope and b is the intercept.

Polynomial

Calculates the least squares fit through points by using the following equation:

Equation

where b and Variable are constants.

Logarithmic

Calculates the least squares fit through points by using the following equation:

Equation

where c and b are constants, and ln is the natural logarithm function.

Exponential

Calculates the least squares fit through points by using the following equation:

Equation

where c and b are constants, and e is the base of the natural logarithm.

Power

Calculates the least squares fit through points by using the following equation:

Equation

where c and b are constants.

R-squared Value

Equation

 Note   The R-squared value you can display with a trendline is not an adjusted R-squared value. For logarithmic, power, and exponential trendlines, Microsoft Graph uses a transformed regression model.

Moving Average

Equation

 Note   The number of points in a moving average trendline equals the total number of points in the series less the number you specify for the period.

advertisement