Help using Base SAS procedures

PROC SURVERREG noprint option

Reply
Contributor
Posts: 24

PROC SURVERREG noprint option

Hi,

 

I am trying to suppress otuputs that prints out from PROC SURVERREG.  I tried "NOPRINT" option but it did not work. 

 

proc surveyreg data    = dataset  noprint ;
                      
Does anyone know where I should put the option in PROC SURVEYREG?

 

Thank you,

 

Momi                 

 

 

Super User
Posts: 11,343

Re: PROC SURVERREG noprint option

You will need to know either which output tables you want and use and ODS Select statement or which ones to suppress and use ODS Exclude.

 

The documentation for surveyreg will list all of the table or you can use ODS trace on; before the proc and then close with ODS trace off afterwards. Then you will get a listig of the tables generated.

 

Without specific code for options used and which ones you want to see it is hard to provide more explicit response.

Note that if you are using ODS Output to create output data sets then suppressing them with ods exclude / select will mean the table is not there to create data.

Contributor
Posts: 24

Re: PROC SURVERREG noprint option

Thank you for your response.  So, this does not work since I am creating ods tables, correct?

 


      ods output ParameterEstimates = test  (keep = parameter StdErr probt estimate);

         proc surveyreg data    = dataset norpint ;

 

 

 

so, is there anyway to have ODS outputs and suppressed paramaters output in the list file?

 

Thanks!

Super User
Posts: 11,343

Re: PROC SURVERREG noprint option

You would need to ensure that the ParameterEstimates output is created.

That would be the ODS Select to only generate that table.

 

I don't think SAS has implemented an OUTPUT statement based output data set for parameter estimates or most of the other items outside of predicted values and the associated confidence limits, resduals and standard errors.

Ask a Question
Discussion stats
  • 3 replies
  • 279 views
  • 1 like
  • 2 in conversation