BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
genysis
Calcite | Level 5

I have SAS Bchoice program which used to run. Now it gives me an error say underscoring the option after Random, underscoring OUTSUBCOEFF saying that it is not expected. I am trying to save the individual level coefficients in the dataset "SubCoeff".

 

proc bchoice data=temp outpost=Postsamp seed=123 nmc=50000 nbi=30000 thin=2
             alg=rwm nthreads=4;
   class participant_id QES;
   model Choice = / choiceset=(participant_id QES);
   random Non A1L2 A1L3 A1L4 A2L2 A3L2 A3L3 A4L2 A4L3 A5L2 A5L3 A6L2 A6L3 / sub=participant_id remean type=vc OUTSUBCOEFF=SubCoeff;
run;

-----------
ERROR 22-322: Syntax error, expecting one of the following: ;, COVPRIOR, MONITOR, NOOUTPOST,
PRINTCOV, REMEAN, TYPE.
ERROR 202-322: The option or parameter is not recognized and will be ignored.

1 ACCEPTED SOLUTION

Accepted Solutions
SAS_Rob
SAS Employee

Unfortunately this option is not available in your release.  It is first available as part of SAS 9.4TS1M5, which is the release after the one you are currently running.

https://go.documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.3&docsetId=statug&docsetTarget=st... 

View solution in original post

5 REPLIES 5
ballardw
Super User

What version of SAS are you running? Of you connect to a server which version is it running?

 

The OUTSUBCOEFF option is relatively new and if running an older version for some reason that is a likely cause.

genysis
Calcite | Level 5

SAS 9.4 TS level 1M4

X64_10PRO platform

 

This is a standalone installation on a Windows 10 system.

JosvanderVelden
SAS Super FREQ
At first glance it seems you have found a bug. Can you please open a track so that SAS Technical Support can investigate. Link: https://support.sas.com/en/technical-support/submit-a-support-request.html

Best regards, Jos
ballardw
Super User

@genysis wrote:

SAS 9.4 TS level 1M4

X64_10PRO platform

 

This is a standalone installation on a Windows 10 system.


I am running that version and the online documentation at that level does not have the option you are attempting that is causing the error.

 

http://documentation.sas.com/?cdcId=statcdc&cdcVersion=14.2&docsetId=statug&docsetTarget=statug_bcho...  for example.

SAS_Rob
SAS Employee

Unfortunately this option is not available in your release.  It is first available as part of SAS 9.4TS1M5, which is the release after the one you are currently running.

https://go.documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.3&docsetId=statug&docsetTarget=st... 

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

What is ANOVA?

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.

Discussion stats
  • 5 replies
  • 504 views
  • 3 likes
  • 4 in conversation