ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   logarithmic regression (https://www.excelbanter.com/excel-worksheet-functions/75881-logarithmic-regression.html)

lcoddens

logarithmic regression
 

Having 2 columns of data x and y, i can fit a *logarithmic *trend to
them after creating a scatterplot. Adding the trendline gives an
R-Squared value. How do I calculate -this- RS myself, without going
through the chart-thing?
Thx!


--
lcoddens
------------------------------------------------------------------------
lcoddens's Profile: http://www.excelforum.com/member.php...o&userid=32252
View this thread: http://www.excelforum.com/showthread...hreadid=520036


Jerry W. Lewis

logarithmic regression
 
=LINEST(ydata,LN(xdata),,TRUE)

Jerry

"lcoddens" wrote:


Having 2 columns of data x and y, i can fit a *logarithmic *trend to
them after creating a scatterplot. Adding the trendline gives an
R-Squared value. How do I calculate -this- RS myself, without going
through the chart-thing?
Thx!


--
lcoddens
------------------------------------------------------------------------
lcoddens's Profile: http://www.excelforum.com/member.php...o&userid=32252
View this thread: http://www.excelforum.com/showthread...hreadid=520036



B. R.Ramachandran

logarithmic regression
 
Hi,

If you want a formula that returns just the R-squared value, the formula is
=RSQ(y-range,LN(x-range))

If you want the trendline coefficients and the regression statistics
(including the R-squared value) calculated, use the LINEST function (see the
response of Jerry W. Lewis for your post)

Regards,
B. R. Ramachandran

"lcoddens" wrote:


Having 2 columns of data x and y, i can fit a *logarithmic *trend to
them after creating a scatterplot. Adding the trendline gives an
R-Squared value. How do I calculate -this- RS myself, without going
through the chart-thing?
Thx!


--
lcoddens
------------------------------------------------------------------------
lcoddens's Profile: http://www.excelforum.com/member.php...o&userid=32252
View this thread: http://www.excelforum.com/showthread...hreadid=520036



lcoddens

logarithmic regression
 

Thank you!


--
lcoddens
------------------------------------------------------------------------
lcoddens's Profile: http://www.excelforum.com/member.php...o&userid=32252
View this thread: http://www.excelforum.com/showthread...hreadid=520036



All times are GMT +1. The time now is 09:29 PM.

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