-
How to do stepwise regression in R?
You don’t.
-
Sorting Data independently before Regression
This thread on StackExchange is circling around my Twitter timeline today and I couldn’t resist sharing it here: Suppose we have data set (X_i, Y_i) with n points. We want to perform a linear regression, but first we sort the X_i values and the Y_i values independently of each other, forming data set(X_i, Y_j). Is…