ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Return the logarithm stats for a line of best fit (https://www.excelbanter.com/excel-worksheet-functions/223159-return-logarithm-stats-line-best-fit.html)

Bruce

Return the logarithm stats for a line of best fit
 
Hi,

I wish to return the logarithm stats based on the log line of best fit.

I can do this for linear and poly entered as an array formula as follows;

For linear
=LINEST(C58:C69,B58:B69,,1)

For 2nd order poly (quadratic)
=LINEST(C58:C69,B58:B69^{1,2},,1)

How do i modify this for a logarithm?

Bruce


MartinW[_3_]

Return the logarithm stats for a line of best fit
 
Hi Bruce,

Take a look here at John Walkenbach's site.
http://spreadsheetpage.com/index.php...line_formulas/

HTH
Martin



"Bruce" wrote in message
...
Hi,

I wish to return the logarithm stats based on the log line of best fit.

I can do this for linear and poly entered as an array formula as follows;

For linear
=LINEST(C58:C69,B58:B69,,1)

For 2nd order poly (quadratic)
=LINEST(C58:C69,B58:B69^{1,2},,1)

How do i modify this for a logarithm?

Bruce



MartinW[_3_]

Return the logarithm stats for a line of best fit
 
I should add that there is a typo in the log equation on that page.

The Equation: y = (c * LN(x)) - b

Should be y = (c * LN(x)) + b

The rest are a tremendous reference to keep handy.

Regards
Martin



"MartinW" wrote in message
...
Hi Bruce,

Take a look here at John Walkenbach's site.
http://spreadsheetpage.com/index.php...line_formulas/

HTH
Martin



"Bruce" wrote in message
...
Hi,

I wish to return the logarithm stats based on the log line of best fit.

I can do this for linear and poly entered as an array formula as follows;

For linear
=LINEST(C58:C69,B58:B69,,1)

For 2nd order poly (quadratic)
=LINEST(C58:C69,B58:B69^{1,2},,1)

How do i modify this for a logarithm?

Bruce




[email protected]

Return the logarithm stats for a line of best fit
 

I should add that there is a typo in the log equation on that page.

The Equation: y = (c * LN(x)) - b

Should be y = (c * LN(x)) + b


Thanks for pointing that out. I corrected it.

http://spreadsheetpage.com/index.php...line_formulas/

-John


All times are GMT +1. The time now is 01:08 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com