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.

sas-innovate-2024.png

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.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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