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

Hi there, I am doing an FCS imputation using 100 imputations. I was wondering if it is possible to omit each individual imputation result from showing the the result viewer.

*Sample data;
proc mi data= ats.hsb_mar nimpute=100 out=mi_fcs ;
class female prog;
fcs plots=trace(mean std); 
var socst write read female math science prog;
fcs discrim(female prog /classeffects=include) nbiter =40 ; 
run;

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

Sure. You can control all output (including the entries in the "treeview" Results window) by using the ODS system. If I understand your question, you want the results to APPEAR in the output, but NOT in the Result Viewer? To suppress the results viewer entries, use

 

ODS NORESULTS;   /* turn off results viewer */

proc mi ...; 

run;

ODS RESULTS;  /* turn it back on */

 

If you actually want to suppress the output itself, you can use 

ODS EXCLUDE ALL;

...

ODS EXCLUDE NONE;

 

For more about suppressing ODS results, see "Turn off ODS when running simulations in SAS." To learn more about ODS EXCLUDE, see "Five reasons to use ODS EXCLUDE to suppress SAS output."

View solution in original post

2 REPLIES 2
ChrisNZ
Tourmaline | Level 20

Changed title and moved to procedures forum.

Rick_SAS
SAS Super FREQ

Sure. You can control all output (including the entries in the "treeview" Results window) by using the ODS system. If I understand your question, you want the results to APPEAR in the output, but NOT in the Result Viewer? To suppress the results viewer entries, use

 

ODS NORESULTS;   /* turn off results viewer */

proc mi ...; 

run;

ODS RESULTS;  /* turn it back on */

 

If you actually want to suppress the output itself, you can use 

ODS EXCLUDE ALL;

...

ODS EXCLUDE NONE;

 

For more about suppressing ODS results, see "Turn off ODS when running simulations in SAS." To learn more about ODS EXCLUDE, see "Five reasons to use ODS EXCLUDE to suppress SAS output."

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

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 2 replies
  • 1095 views
  • 1 like
  • 3 in conversation