Thanks so much Sastronaut!
If my varables are of different names, I had to list them in macro variable? as in
%let Varlist=c1,f,g,r..etc
I do have some fixed variables, I would make them as macro variables. will that work? here are my code, correct me if i am wrong. I need some explanation...
Hi ,
I'd like to run logistic regressions on a data set. However there are more than 100 covariates. I wonder whether macro would help to make the process more efficient.
I am using
proc logistic descending;
model a = b c1;
run;
(given there are 100 c1, all come with different variable...
a little more explanation for my problem. For example SLEGEN1 is
SLEGEN1 4 2 2 2 1 1 4 4 3 3 1 1 1 1 1 3 2 2 3 3 2 2 4 4 1 1 4 4 1 1 ....
I'd like to group the observations such that
SLEGEN1 42 22 11 44 22 33 11 11 13 22 33 22 44 11 ....
(the total number of observations for each ID will...
Thanks so much HTH,
regarding unhandled observations.. I would like to check every two digit in all observation such that if the two digits
are identical give it a "2" (ie. all 11, 22, 33, 44, and 00 will have '2')
if they are different (ie. 13, 21, 24. 43...and all other possible combination)...
Hi
Below is the data which consist of IDs (SLEGEN1, 2 and 3) and their respective observations (ie. 4 2 2 2 1 1 1 4 4…etc for the first ID and such. The observations are arranged horizontally and continued in the next row until the end)
/* data */
SLEGEN1 4 2 2 2 1 1 4 4 3 3 1 1 1 1 1 3 2 2 3...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.