This error:
37 %swdpwr(K = 162, design = ept, family = "binomial", model = "marginal",link = "log", type = "cross-sectional", meanresponse_start = 0.05,
_
180
ERROR 180-322: Statement is not valid or it is used out of proper order.
38 meanresponse_end0 = 0.049, meanresponse_end1 = 0.035, typeIerror = 0.05,alpha0 = 0.0047, alpha1 = 0.0047)
39
Means that the macro named SWDPWR has not been compiled in the current session. That means before you can use the macro call you have to have the code and submit the statements that start:
%macro swdpwr ( <parameters>);
and ends with
%mend;
... View more