1.

State the difference between PROC MEANS and PROC SUMMARY.

Answer»

Proc SUMMARY and Proc MEANS are essentially the same methods for CALCULATING descriptive statistics, such as mean, count, sum, median, etc. Also, it is capable of calculating several other metrics such as percentiles, quartiles, variances, standard deviations, and t-tests. N, MIN, MAX, MEAN, and STD DEV are the default statistics produced by PROC MEANS.  

  • They differ mainly in the output TYPE they PRODUCE by default. Unlike PROC SUMMARY, PROC MEANS by default prints output in the LISTING window or other open destination. When the print option is included in the Proc SUMMARY statement, the results will be printed to the output window.
  • By default, PROC MEANS takes into account all of the numerical variables in the STATISTICAL analysis. PROC SUMMARY, on the other hand, takes into account all of the variables described in the VAR statement in the statistical analysis.


Discussion

No Comment Found