I have a data set with 140 rows and 81 variables including the dependent variable, I want to include all of the variables to do backward elimination for designing regression model. How do i enter all of the variables at once. I found a similar question here in the following link but the answer is to vague to reproduce in my own data set
proc glm data = train plot ;
model SalePrice = GrLivArea ........ 80 variables ;
run;
what if there is categorical variable , how do i address that when selecting predicting worthiness , binary coding may help but what if 0 is selected and not 1 in the selection criterion. The data also have almost 24 variables char data type and the rest are numeric. How do I address the problem as
proc glmselect data=TrainSubset;
will give an error saying
ERROR: Variable BsmtFinType1 should be either numeric or specified in the CLASS statement
I have found same discussion thread here but found it to vague and complicated
https://blogs.sas.com/content/iml/2017/02/13/run-1000-regressions.html
Thank you !!!