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.
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.
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.
SAS 9.4 TS level 1M4
X64_10PRO platform
This is a standalone installation on a Windows 10 system.
@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.
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.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.