Hello,
Is there an efficient way or an existing procedure within SAS to test whether the average residuals from an OLS model are the same between two subgroups of the estimation sample? Note that for a variaty of reasons, including indicators for subgroups in the model is not an option.
I have found an user generated macro, which however uses PROC IML, and I do not have that as part of my SAS installation. If I have to code the test from cratch, is there an alternative to PROC IML to get the matrix cross products (for the s.e. estimate of the difference in the residuals)?
Any thoughts or suggestions would be appreciated.
Thanks