07-12-2011 11:06 AM
PROC MEANS has the option of MAXDEC which can control the number of decimal places in the output. But this option cannot exert control for the output data.
PROC MEANS DATA=work.model MEAN;
OUTPUT OUT=work.param(DROP=_NAME_ _TYPE_ _FREQ_ modelid) MEAN=;
In this way, all variables in the outoput will have many decimal places.
Maybe I need to manually use a FORMAT statement to change this?
07-12-2011 11:11 AM
The mean should inherit the FORMAT associated with the analysis variables. Then you can have difference formats for each variable if needed.
07-12-2011 11:31 AM
The decimal places are inherited from the proc logistic. They are the parameter estimates asOUTEST=. So I need to control the decimal places at the proc logistic step.
Need further help from the community? Please ask a new question.