Spreadsheets: Excel: the logest() function
The tutor shows how to use the logest() function to get an exponential curve from data.
Excel’s logest() function returns parameters for the equation y=bm^x, according to data fed for x and y values. Let’s imagine the data is as follows:
x | y |
0 | 3 |
1 | 5 |
3 | 16 |
4 | 27 |
5 | 61 |
Here’s how to get the parameters for the y=bm^x equation to fit the data:
- Let’s imagine the x-data is in range a1:a5; the y-data, b1:b5.
- Go to a cell somewhere else, then select it and drag to the one next door, so that both cells are selected.
- Key in =logest(b1:b5,a1:a5) but don’t hit enter!
- Now, press Ctrl+Shift+Enter (all at once).
- Hopefully, you receive two entries: 1.805018 and 2.834844
- The form of the equation is y=2.834844*1.805018^x
HTH:)
Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.
Leave a Reply
You must be logged in to post a comment.