BookmarkSubscribeRSS Feed
Terry___
Calcite | Level 5

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.

(http://support.sas.com/documentation/cdl/en/statug/67523/HTML/default/viewer.htm#statug_fmm_syntax09...)

 

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.

 

 

1 REPLY 1
Rick_SAS
SAS Super FREQ

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.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 879 views
  • 0 likes
  • 2 in conversation