Hi everyone, I wan to remove all the variables in my data which have collinearity. I found the command "_rmcoll" but it does not automatically drop the collinear variables but only list them.
In the example from the Stata manual:
I would like Stata to remove the variable tt.
Any help would be very much appreciated!
In the example from the Stata manual:
Code:
webuse auto generate tt = turn + trunk _rmcoll price-tt, forcedrop
Apparently by adding "forcedrop" the collinear variables should be dropped, but when I try it, this does not happen. Am I missing something or is there another way to drop that list of variables?
Any help would be very much appreciated!
Comment