Page 81 - SAS_manual
P. 81

One more option we have i.e OUT. Out option will store the result in new data set which give only count
               and percent.


               The first line will give missing value of product in the above product.

               7.7 PROC MEANS:


               Proc means is used to find descriptive statistics for numeric variables.

               By default it gives 5 descriptive statistics for all variables. Default statistics are N, MEAN, STD, MIN and
               MAX.

               SYNTAX:

               Proc means data=dsn<options>;


               VAR numeric varlist;

               By presortedvarlist;

               Class varlist;

               Output out=newdsn;

               RUN;


               LIST OF OPTIONS:



                N                     No. of non-missing value

                NMISS                 No. of missing value
                MEAN                  Average value

                MEDIAN                Middle most value

                SUM                   total value

                STD                   Average of deviation from mean

                MAX                   Maximum value

                MIN                   Minimum value

                RANGE                 Difference between MAX and MIN

                NOPRINT               Donot display result


                                                    SAS HANDBOOK | VISIT:: http://nikhilanalytics.com  81
   76   77   78   79   80   81   82   83   84   85   86