These macros can be loaded into SAS with %include statements. Use is limited as indicated in the documentation
in the code. For questions, contact
gknafl@unc.edu.
All rights reserved. No warranties granted, explicit or implicit. These are the most recent
versions. Versions available with the examples have not been updated so that they may be
used to reproduce results reported for those examples. Requires Base SAS, SAS/STAT, and PROC IML.
Development of these tools has been supported in part by Grant # R01 AI57043 from the National Institute
of Allergy and Infectious Diseases and Grant # R03 MH086132 from the National Institute of Mental Health.

__ SAS macro genclass.20141210.sas for adaptive classification modeling.
Documentation for the genclass macro.
SAS macro genreg.20141207.sas for nonparametric regression.
See also nonparametric regression examples.
Documentation for the genreg macro.
SAS macro grpevnts.20140125.sas for grouping electronic adherence data.
See also electronic adherence data analysis examples.
Documentation for the grpevnts macro.
SAS macro impute.20141005.sas for imputing item values.
See also composite reliability examples.
SAS macro LCVCFA.20101001.sas for confirmatory factor analysis.
Note that this macro has been replaced by the more general LCVSEM macro.
See also factor analysis examples.
SAS macro LCVcluster.20141201.sas for adaptive cluster analysis.
See also electronic adherence data analysis examples.
Documentation for the LCVcluster macro.
SAS macro LCVEFA.20101002.sas for exploratory factor analysis.
See also factor analysis examples.
SAS macro LCVGAM.20141115.sas for generalized additive modeling.
Requires SAS Version 9.3 or later. See also adaptive fractional polynomial modeling.
Documentation for the LCVGAM macro.
SAS macro LCVmixed.20131021.sas for linear mixed modeling.
See also analyzing longitudinal data.
SAS macro LCVSEM.20141115.sas for structural equation modeling.
Documentation for the LCVSEM macro.
SAS macro medCIs.20091113.sas for bootstrapped confidence intervals for nonlinear indirect effects due to mediation.
See also mediation and moderation analysis examples.
SAS macro medmodCIs.20091113.sas for bootstrapped confidence intervals for nonlinear indirect effects due to mediated moderation.
See also mediation and moderation analysis examples.
SAS macros multGAM.20141201.sas for adaptive generalized additive modeling.
Requires SAS Version 9.3 or later. See also adaptive fractional polynomial modeling.
Documentation for the multGAM macros.
SAS macro multsubj.20141201.sas for analysis of electronic adherence data for multiple subjects possibly within multiple phases.
Replaces older versions of both the multsubj and multphse macros.
See also electronic adherence data analysis examples.
Documentation for the multsubj macro.
SAS macro RAmacros.20131205.sas for assessing Royston and Altman recommended fractional polynomial models.
See also adaptive fractional polynomial modeling. Documentation for the RAmacros.
__