Please enable JavaScript to view this site.

Navigation: Graphs > Format Axes dialog > Logarithmic axes

Regression fits the data, not the graph

Scroll Prev Top Next More

 

Choosing a log scale changes the way the graph looks, but does not change the data values. Linear or nonlinear regression fit an equation to your data. Your choice of axis scaling does not affect any calculations.

The three graphs shown below represent the same data by linear regression.

The graph below has linear X and Y axes, so the linear regression line appears straight.

axis 38 log 1

The graph below has a logarithmic X axis. The curve you see is the results of linear regression. It is the best fit to the equation Y=intercept + slope*X. The X values used by the linear regression are the X values you entered. Graphing this linear regression line on a log axis results in a curve.

axis 40 log 3

The graph below has a logarithmic Y axis. Again, the best-fit linear regression line appears curved when plotted on a logarithmic axis.

axis 39 log 2

 

 

 

© 1995-2019 GraphPad Software, LLC. All rights reserved.