![]() |
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 |
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 |
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 |
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