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.
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
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.