Programming the statistical procedures from SAS

SAS 9.4 Proc surveyreg ods output parmeter estimates too few decimal places

Reply
Occasional Contributor bg
Occasional Contributor
Posts: 14

SAS 9.4 Proc surveyreg ods output parmeter estimates too few decimal places

SAS support helped me.  The format that is displayed is not the internal format.

All values are stored internally in double precision so I was able to apply a new format and see the decimal places.

I am using following code.

In the ods output data set _pe2  , variables Estimate and StdErr have format 10.  , so no decimal places.

Is there a fix for this?

Thanks,

Barbara

proc surveyreg data=allyrs2 ;

      class &cvar.;

      model &dvar. = &cvar. /solution;

    WEIGHT &wtvar. ;

  CLUSTER hospid ;

  STRATA NIS_stratum ;

  DOMAIN INSUBSET;

  ods output ParameterEstimates=_pe2 ;

  ods output Effects=_effects;

  ods select effects parameterestimates;

  run;

Ask a Question
Discussion stats
  • 0 replies
  • 237 views
  • 0 likes
  • 1 in conversation