Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In SAS, what is the difference between Proc Means And Proc Summary?

Tags:

sas

What exactly is the difference between Proc Means and Proc Summary? Many sites state that both these are the same, but unless each has something unique will SAS create it?

like image 336
Tommy Avatar asked Mar 16 '09 16:03

Tommy


People also ask

What is difference between proc MEANS and proc summary?

The key difference between PROC MEANS and PROC SUMMARY is that the default action of PROC MEANS is to place the analyses it performs in to your Output Window and in PROC SUMMARY the default is to create an output data set.

What is Proc Summary used for?

Computes descriptive statistics for variables across all observations or within groups of observations. See: For full syntax details, see PROC MEANS Statement.

Why do we use proc summary in SAS?

You can use proc summary in SAS to quickly calculate the following descriptive statistics for one or more variables in a dataset: N: The total number of observations. MIN: The minimum value. MAX: The maximum value.

What is the difference between proc MEANS and proc freq?

PROC MEANS is used to calculate summary statistics such as mean, count etc of numeric variables. It requires at least one numeric variable whereas Proc Freq does not have such limitation. In other words, if you have only one character variable to analyse, PROC FREQ is your friend and procedure to use.


1 Answers

@cmjohns gives the biggest difference...and from SAS discussion forum

"In earlier versions of SAS (SAS 5 and 6) PROC MEANS and PROC SUMMARY were separate procedures. Over time, by version 8, the code for the 2 procedures was standardized and "melded" together. There are essentially no differences except that MEANS creates output in the LISTING window or other open destinations, while SUMMARY creates an output dataset by default." (use the PRINT option in the Proc Summary statement to generate output)

Check the link Here

like image 165
Jay Corbett Avatar answered Sep 16 '22 22:09

Jay Corbett