Skip to content

Excel Regression Function

2 messages · Paul Bernal, Nordlund, Dan (DSHS/RDA)

#
Part of the problem is that Frauke is apparently posting from Nabble and is not providing context.  In the original post, the problem was reconciling output from linest in Excel with output from lm in R.  The problem appears to have been incorrect preparation of data and/or misspecification of the call to lm in R, and a misspecification of the linest formula in Excel.

I read the presented data into R and had no problem with the lm function (David Winsemius reported the same results).  I also loaded the data into Excel and got the same results using linest function as I got in R.  So, absent a reproducible example of the problem, I can only conclude operator error on the part of the OP in both cases.


Dan

Daniel Nordlund
Olympia, WA 98504-5204