Hi All,
Is there a macro for doing Association Analysis or Market Basket analysis on Base SAS or SAS EG?
Thanks,
Paul
Yes, there is, via Google
If Lexjanen.com is back up try that site instead. I know there’s a copy there for sure, still in PDF unfortunately.
There is an error in this Macro and is not working, getting the following error:
@rahul_wishard wrote:
There is an error in this Macro and is not working, getting the following error:
>>> Working on analysis unit #1 (apple)ERROR: The following columns were not found in the contributing tables: apple.NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.NOTE: The SAS System stopped processing this step because of errors.NOTE: PROCEDURE SQL used (Total process time):real time 0.03 secondscpu time 0.01 secondsERROR: File MBA.BASKET_DONORS.DATA does not exist.ERROR: File MBA.CO_OCCURANCE.DATA does not exist.WARNING: The data set MBA.CO_OCCURANCE may be incomplete. When this step was stopped there were 0 observations and 2 variables.ERROR: Column ASSOC_ANALYSIS_UNIT could not be found in the table/view identified with the correlation name B.ERROR: Column FREQ_CO_OCCUR could not be found in the table/view identified with the correlation name B.ERROR: Column FREQ_CO_OCCUR could not be found in the table/view identified with the correlation name B.ERROR: Column FREQ_CO_OCCUR could not be found in the table/view identified with the correlation name B.ERROR: Column ASSOC_ANALYSIS_UNIT could not be found in the table/view identified with the correlation name B.ERROR: File MBA.AFFINITY_CALC.DATA does not exist.WARNING: The data set MBA.AFFINITY_CALC may be incomplete. When this step was stopped there were 0 observations and 2 variables.ERROR: The following columns were not found in the contributing tables: ANALYSIS_UNIT_FREQ, ASSOC_ANALYSIS_UNIT,ASSOC_ANALYSIS_UNIT_FREQ, CONFIDENCE, EXPECTED_CONFIDENCE, FREQ_CO_OCCUR, LIFT, SUPPORT, TOT_BASKET_DIMENSIONS.
@Reeza I have created a new post: https://communities.sas.com/t5/SAS-Programming/Error-with-Market-Basket-Analysis-Macro/m-p/531884#M1...
Looking forward to your help! Thanks
As presented at the 2013 Midwest SAS Users Group meeting: http://billqualls.com/mba/index.html
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.