Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Difference b/n proc means and proc summary procedures?

Answers were Sorted based on User's Feedback



Difference b/n proc means and proc summary procedures?..

Answer / manojkumar.d1218

proc means and summary procedures are display the summary
statistics like n mean e.t.c...
And To display the summary statistics means procedure is the
is more efficiency because print option is default working
and display the summarized tables summary procedure is more efficient because noprint option is default working

proc means data=sashelp.class;
class name;
var age;
run;

/*for summary procedure */
proc summary data=sashelp.class;
class name;
var age;output out=summary_statistics;
run;









Is This Answer Correct ?    6 Yes 0 No

Difference b/n proc means and proc summary procedures?..

Answer / lakshmi

PROC SUMMARY DEFAULTS TO NOPRINT
PROC MEANS DEFAULTS TO PRINT
PROOC MEANS GENERATE A DEFAULT OUTPUT BUT PROC SUMMARY
REQUIRED PRINT OPTION TO GENERATE OUTPUT SIMILAR TO PROC
MEANS
TO GET SIMILAR OUTPUTS PROC SUMMARY SHOULD COMPUSORY HAVE
ATLEAST ONE VARIABLE IN VAR STATEMENT
/*FOR EXAMPLE RUN THE BELOW 2 APPLICATIONS WE OBSERVE THE
ANSWER*/
PROC MEANS DATA=SASUSER.AE;
RUN;

PROC SUMMARY DATA=SASUSER.AE;
RUN;
THE OUTPUT WILL BE DIFFERENT K

Is This Answer Correct ?    3 Yes 1 No

Difference b/n proc means and proc summary procedures?..

Answer / sasswarup

Proc SUMMARY and Proc MEANS are essentially the same procedure. Both procedures compute descriptive statistics. The main difference concerns the default type of output they produce. Proc MEANS by default produces printed output in the LISTING window or other open destination whereas Proc SUMMARY does not. Inclusion of the print option on the Proc SUMMARY statement will output results to the output window.
The second difference between the two procedures is reflected in the omission of the VAR statement. When all variables in the data set are character the same output: a simple count of observations, is produced for each procedure. However, when some variables in the dataset are numeric, Proc MEANS analyses all numeric variables not listed in any of the other statements and produces default statistics for these variables (N, Mean, Standard Deviation, Minimum and Maximum).

Using the SASHELP data set SHOES the example reflecting this difference is shown.

proc means data = sashelp.shoes;
run;

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More SAS Interview Questions

How do you debug and test your SAS programs? What can you learn from the SAS log when debugging? How do you test for missing values? How would you create multiple observations from a single observation? What are some good SAS programming practices for processing very large data sets? Briefly describe 5 ways to do a "table lookup" in SAS. Why is SAS considered self-documenting? Are you sensitive to code walk-throughs, peer review, or QC review? What other SAS features do you use for error trapping and data validation? How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?

2 Answers  


how to create the AE dataset by using SDTMIG specifications and SAP plan by using UNIX platform?

0 Answers  


What are the features of SAS?

0 Answers  


How to get second top scorer student from a class- table having different sections A, B, C & D? each section has same number of student.

4 Answers   TCS,


how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5

0 Answers  


what are the three main credit bureau names

1 Answers   Synchrony Financial,


How to limit decimal places for variable using proc means?

0 Answers  


What is the significance of the ‘OF’ in X=SUM (OF a1-a4, a6, a9);?

8 Answers  


what is Global Symbol table and Local symbol table?

4 Answers   CitiGroup,


explain the main difference between the nodup and nodupkey options? : Sas-administrator

0 Answers  


how do you debug and test your sas programs? : Sas programming

0 Answers  


How are the analysis data sets structured?

3 Answers  


Categories