Dear members,
I am currently working on the FMM procudure.
According to documaentation below, multinomial and multinomial cluster distribution are available in FMM model statements.
However I found that those options are unavaile as below.
My code:
PROC FMM Data = Data criterion = AIC;
model response = IPT AvgPrice age / DIST = mclus kmin=1 kmax= 5;
RUN;
Error:
ERROR 22-322: Syntax error, expecting one of the following: BERNOULLI, BETA, BETABIN,
BETABINOMIAL, BIN, BINARY, BINOMCLUS, BINOMCLUSTER, BINOMIAL, BINOMIALCLUS,
CONSTANT, DEGENERATE, EXPO, EXPONENTIAL, FNORMAL, FOLDEDNORMAL, GAM, GAMMA, GAUSS,
GAUSSIAN, GENPOISSON, GEOM, GEOMETRIC, GPOISSON, IG, IGAUSSIAN, INVGAUSS, LOGN,
LOGNORMAL, NB, NEGBIN, NEGBINOMIAL, NORMAL, POI, POISSON, STUDENT, T, TEXPO,
TEXPONENTIAL, TGAUSSIAN, TLOGN, TLOGNORMAL, TNB, TNEGBIN, TNORMAL, TPOI, TPOISSON,
TRUNCEXPO, TRUNCEXPONENTIAL, TRUNCGAUSSIAN, TRUNCLOGN, TRUNCLOGNORMAL, TRUNCNB,
TRUNCNEGBIN, TRUNCNORMAL, TRUNCPOISSON, UNIF, UNIFORM, WEIB, WEIBULL.
76: LINE and COLUMN cannot be determined.
multinomial and mclus distribution do not exists according to error messages.
What makes my program different from guidbook? How can I fix this problem?
I am looking forward your kind advice. Thank you.
Most likely reason: According to the doc, the DIST=MCLUS option was added in SAS/STAT 13.2, but you are not running SAS/STAT 13.2.
According to this blog post, SAS/STAT 13.2 was released with SAS 9.4m2. You can determine your version of SAS by submitting
%put &=SYSVLONG;
The result is in the SAS log. If you see a value less than 9.04.01M2... then you are not running a version of SAS that supports that option.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.