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."

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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
  • 952 views
  • 1 like
  • 3 in conversation