04-26-2016 01:38 PM
How to call in all predictors in a "Model" statement without typing them in manually, especially in the case of highly dimensional data?
04-26-2016 03:29 PM
If you have variables with names that start the same you may be able to use a list such as
model y = abc: ;
which would use all variables that start with the letters abc. If you have multiple name stems you can use them
model y = abc: pdq: etc: ;
Other than that we may need to know more about your data as there is no way for us to know which of your variables are "predictors".
05-02-2016 03:03 PM
Thanks. That's a start.
Let's hypotheticaly assume my dataset has 50 variables of which only one is the the response variable (Y), and all the remaining variables would be Xs (X1, X2,X3....X49). Let's futher assume I am trying to run a PROC GLMSELECT to MODEL Y= X1, X2,X3....X49, while reducing the dimensionality. Would Y= ABCDEF....Z:; work, or there is another way to call in all existing variables on the right side of the equation, and then perhaps go and remove the only one that is the Y, without having to manually type them all in?