How To Extracting Summary Stats for Sepwise Regression
Hello dear friends,
What I want is to, somehow data.frame the summary of a stepwise regression
(the estimated coefficients and p-values) to show them as a report in table
format. However I have not been able to do that.
Any help and/or guidance will be greatly appreciated, below are all the
details of what I am doing:
I am working with R version 3.5.2 in Power BI.
The Power BI version is: 2.67.5404.581 64-bit (March 2019)
The error I am getting is the following: Error in step(basis_model,
direction = "both", scope = formula(FitAll)) :
number of rows in use has changed: remove missing values?
In addition: Warning message:
In add1.lm(fit, scope$add, scale = scale, trace = trace, k = k, :
using the 106/107 rows from a combined fit