04-24-2013 11:00 AM
While running SAS for my research, I have
some problem with ‘MACRO’ things. So, anyone who know how to solve my problem
please help me.
I want to find the ‘decay parameter’ which
results the maximum concurrent rate in logistics regression model. And before
that I need to make some dataset which differ according to its decay parameter
Here’s my original codes
data ana2_macro; set ana2;
And the problem is I want to make decay from 0.1 to 1 (0.1, 0.2, 0.3 …) automatically by using &n or something, but I don’t
know how to make it. So, can you give me some advice on this?
04-24-2013 11:07 AM
Why do you need a macro for that? Use a do loop and then process using a by variable.
do decay=0.1 to 0.5;