3. Regression Analysis in Excel and R

One of the obstacles to moving smoothly between Excel and R is the array of differences in how the two applications combine the results of a regression analysis. For example, Excel’s principal regression function is LINEST( ), which returns the elements of the regression equation as well as eight other statistics that enable the user to assess the equation’s accuracy and its reliability. One of R’s principal regression functions is lm, an abbreviation of linear model. As it’s normally used, lm returns some useful information that LINEST( ) doesn’t, but lm for some ...

Get R for Microsoft® Excel Users: Making the Transition for Statistical Analysis now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.