Regression Analysis II : Basic functions, charting

n a continuation from the previous tip, we look at some basic built-in functions for determining trendline coefficients of a X-Y plot.

For a series of X-Y values that we suspect have a linear relationship, we can determine the slope and y-intercept values of the linear approximation using the builtin functions SLOPE() and INTERCEPT as showb below. Compare these values to those we obtained when performig our regression analysis without using the builtin functions.

linreg2_1.jpg

Now, plotting X-Y data is straightforward. Adding a trendline takes a little more work. We start off with the basic X-Y plot.

linreg2_2.jpg

First, select the chart for editing by right-clicking anywhere inside the chart boundary. Now, before we add the trendline, we need to select the data series for editing. Move the cursor over one of the data points - you will see popup info about the nearest data point.

linreg2_3.jpg

Left-click and the data series is now selected (below)

linreg2_4.jpg

Now right-click and select Object Properties (below)

linreg2_5.jpg

The Data Series dialog opens up. Select the Statistics tab (below). Select the Linear Regression curve and click OK

linreg2_6.jpg

The modified X-Y plot with the newly added trend line.

linreg2_7.jpg

One Response to “Regression Analysis II : Basic functions, charting”

  1. Andrew Z Says:

    OpenOffice.org 2.4.0 can now in the chart display the equation for regression analysis. I wrote about it and some related details here:

    http://openofficeorgfoo.blogspot.com/2007/12/display-equations-for-regression-lines.html

Leave a Reply