Search the site...

SASCRUNCH TRAINING
  • Home
  • Member's Area
  • How to Start
  • SAS Interface
  • Creating a Data Set
  • Practical SAS Training Course
  • SAS Certified Specialist Training Program
  • Proc SQL Course
  • Introduction to Time Series Analysis
  • SAS Project Training Course
  • Full Training / Membership
  • Sign up
  • About us
  • Contact us
  • Home
  • Member's Area
  • How to Start
  • SAS Interface
  • Creating a Data Set
  • Practical SAS Training Course
  • SAS Certified Specialist Training Program
  • Proc SQL Course
  • Introduction to Time Series Analysis
  • SAS Project Training Course
  • Full Training / Membership
  • Sign up
  • About us
  • Contact us
Sentry Page Protection
Please Wait...
Data Analysis [6-15]


Additional Statistics
(Proc Means)
Similar to Proc Univariate, you can request for additional statistics when running Proc Means.

Let's take a look at the PHARMA data set again.

​Example
Picture

You can specify the statistics keywords after the (data=) option:

Example

Proc Means Data=Pharma Min Max Range;
Var Rev2014;
Run;
Picture

The statistics keywords (Min, Max, and Range) are specified. The corresponding statistics will be generated:
Picture

Proc Means has a very similar list of statistics keywords as Proc Univariate. 

Below are some of the more common keywords:
  • MAX
  • MEAN
  • MIN
  • MODE
  • N
  • NMISS
  • NOBS
  • RANGE
  • STD
  • SUM
  • Q1
  • MEDIAN
  • Q3

For the complete list of keywords, please visit here and scroll down to the bottom to statistics keywords.

Exercise

Compute the mean, standard deviation, standard error and the two-sided 95% confidence limit on the revenue in 2013. 
Next

Need some help? 


HINT:
You can find all the statistics keywords from the link above.


SOLUTION:
Proc Means Data=Pharma Mean std stderr clm;
Var Rev2013;
Run;


Fill out my online form.

Already a member? Go to member's area.