LINEST Function

Basically I have the following instructions, but there for excel so I was wondering if anyone could help me with the numbers equivalent of how to carry them out 🙂

Click F2 and enter the formula =LINEST(B2:B11,A2:A11,,TRUE). Where B2:B11 is
your y axis column of your data and A2:A11 is the x axis column of your data if
they correspond to rows 2 to 11. When done entering the formula, press the CTRL
key, SHIFT key, and ENTER key all at once; this will tell Excel to write the
results of the LINEST function in the selected cells with the pattern.

Macbook Pro 09', Mac OS X (10.5.6)

Posted on Feb 27, 2009 12:28 PM

Reply
12 replies

Feb 27, 2009 2:07 PM in response to cptbigt

I think he is trying to indicate that you can add a trendline to a chart in Number '09 without having to calculate it within a table first.

I believe you are looking for the INDEX function in addition to LINEST. It's a bit too long to explain it all here. If you open the function browser (use the Fx icon on the toolbar or go to the menu item Insert/Function/Show Function Browser) and type in LINEST it'll show you how to get what you need. There is a link in the description for "additional stats" which includes errors and the like. Post back here if it isn't clear enough and you need more help.

Feb 27, 2009 2:08 PM in response to cptbigt

I don't know to which poster you are responding.
If it's to me, maybe you missed that we may change the parameter: Order in the Inspector 😉

If it's not to me, it seems that you missed the pages 249 … 252 of the iWork Formulas and Functions User Guide.
Alas you aren't the first one 😟

Yvan KOENIG (from FRANCE vendredi 27 février 2009 23:08:57)

Feb 27, 2009 2:19 PM in response to cptbigt

Also another question if I may:

If I have a scatter diagram running off two sets of data, with a linear trendline applied to each one, where the first set starts at 0 seconds and runs until 60 seconds where seconds are on the x axis, and the second set of data starts at 60 seconds and has a much higher y axis value, is it possible to have numbers extend the trendline for the second set of data until it intercepts the axis and extrapolate the exact number at which it intercepts.

Thanks!

Feb 27, 2009 4:50 PM in response to cptbigt

Sure can (I think). This seems to work but I'm not 100% sure it's kosher. At first blush it seems like it should throw off the least squares fit but it doesn't. Before I start, though, if you are only interested in the intercept as a number and not making the trendline extend on the chart, calculate it with INTERCEPT. But if you're interested in the chart, read on.

B and D columns are the X axis seconds starting at 0 and going past 60 to whatever the highest number is. Same numbers in each column

C column is the first set of Y data. Leave blank the rows with seconds greater than 60

E column is the second set of Y data, leave blank the rows for seconds less than 60

In column E at 0 seconds, put the INTERCEPT function. Select only the range over which you have data, don't include the rows with seconds less than 60.

It extends the trendline but it also puts a data point at the intercept.

Feb 27, 2009 7:15 PM in response to Badunit

Also, in case it wasn't clear, when I said to "Select only the range over which you have data" for the INTERCEPT function, I meant the data for the 2nd set of Y's.

And, of course, the last step is to create the chart, selecting all four columns, from 0 seconds all the way to the end.

I'm going to have to start posting images, they're worth 1000 words.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

LINEST Function

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.