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

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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.

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