I need help to analyze the dependence of the objective function (variable: "cus12") on independent variables. I have data that has 1000 columns and the independent variables are divided into 4 groups: app_x, act_x, agr_x, ags_x. I probably need to write a loop to investigate the dependence of the variable "cus12" on variables from the given groups. I have a problem with writing such a loop and entering the appropriate "proc" in it. I don't know how to start. My idea is as follows: 1. I think I should build a macro and a loop (but all the loops I build don't work). 2. I think I should parse the dependency using "proc logistic" but and don t have macro and loops so I can't try to do anything inside. 3. I wanted to use the Chi-Square and Cramer's V test, but without a good start, I can't try anything else. I am a beginner in SAS. Any help/advice will be useful. Can I give changing variables here? If yes, How? proc freq data = my.credit; tables ConstansVariable * variable_x / chisq; output out= data cramv; run; I think about put this proc to loop but I don t know how...
... View more