These macros are licensed under the GNL General Public License Version 2.0. You can use/modify/distribute those macros. For questions or comments, please contact Johnny Zhang at zhiyongzhang(@)nd.edu. It would be appreciated if you cite the macros in the following way:

/*The second Macro: POWER*//*This Macro calls the first Macro LL for each replication*/* Calculate power based on R replications;%MACRO POWER(R,N,T,seed,df);DATA tempfit; DO _N_=1 TO 8; tempfit=_N_; OUTPUT; END;RUN;