Help using Base SAS procedures

Unusual warning while using PROC UNIVARIATE WITH ODS

Reply
Occasional Contributor
Posts: 15

Unusual warning while using PROC UNIVARIATE WITH ODS

Our process has been failing because of the below warning. I have tried different options but am not able to resolve this. Can someone please help?

SAS Procedure start /*****************/

MPRINT(BOOTLOOP):   proc univariate noprint data=wout_run2;

MPRINT(BOOTLOOP):   ods output ParameterEstimates=zout_run2 (where=(Parameter='Mean') keep=parameter estimate);


MPRINT(BOOTLOOP):   histogram / weibull (cinitial=1) nochart;

MPRINT(BOOTLOOP):   var raw_value;


MPRINT(BOOTLOOP):   run;

Warning start /****************/

NOTE: No fitted curves were drawn on the histogram for GMB_RAW since its standard deviation is zero.


WARNING: Output 'ParameterEstimates' was not created.  Make sure that the output object name, label, or path is spelled correctly.


         Also, verify that the appropriate procedure options are used to produce the requested output object.  For example, verify


         that the NOPRINT option is not used.


NOTE: PROCEDURE UNIVARIATE used (Total process time):

Respected Advisor
Posts: 4,930

Re: Unusual warning while using PROC UNIVARIATE WITH ODS

There are two separate errors.

The one about the standard deviation being 0 points to a data error. Check the raw_value values in wout_run2.

With the noprint option in proc univariate there cannot be any ODS output produced, including ParameterEstimates. Remove the noprint option. You can however use ODS SELECT NONE; to get rid of any printed output, if that's what you want.

PG

PG
Occasional Contributor
Posts: 15

Re: Unusual warning while using PROC UNIVARIATE WITH ODS

Thanks for the quick response. Let me try and will update the thread. Thanks.

Ask a Question
Discussion stats
  • 2 replies
  • 161 views
  • 0 likes
  • 2 in conversation