What about reshaping the data so that you have x1 to x30 (I presume) as predictors, and then doing something like a logistic regression where you used LASSO or elastic net to select the variables that have the greatest influence? I like that better than putting in a single response and doing univariate things. Another possibility would be to use an EFFECT statement to fit a spline to the x variables, and then do the regression on the spline variable. This avoids the dangers of variable selection, but the trade-off is in knot selection.
SteveDenham
Thought about this more overnight. This sounds like a job for PROC CANDISC. From the documentation:
Given a classification variable and several quantitative variables, the CANDISC procedure derives canonical variables, which are linear combinations of the quantitative variables that summarize between-class variation in much the same way that principal components summarize total variation.
The example in the documentation ought to point you in the right direction, and the graphic generated should help with interpretation. Since the canonical variables are constructed based on both within and between associations, any time dependency in your X variables should be accounted for (i.e, they don't have to be independent variables).
SteveDenham
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.