About this Resource
P|E|A|S FAQ   | home   | contact us   | index   | links and further resources   |
   
 

B. The SAS Package

 
 

>B.1 Introduction >B.2 Using SAS with P|E|A|S Exemplars > B.3 Web Links
> B.4 Costs and Licensing >B.5 What kind of package is it?
>B.6 Methods for Complex Surveys >> .B.7 User written code >>B.8 Imputation

uparrowtop

sasicon SAS (Statistical Analysis System) is a package widely used in finance and in
the pharmaceutical industry. It is developed and distributed by the SAS Institute with headquarters in the USA, but branches and support teams around the world. It is continuing developing, and new versions are released every one or two years.

Using SAS with P|E|A|S exemplars

The exemplars have all been developed using SAS Versions 8.1 and 8.2 on a PC. Version 9 has many more survey procedures and we hope to update the site to incorporate these soon.

To help you get started with SAS we have developed some guides to go with each exemplar.

Mini-guides are intended as reminders for people with some experience with sas.

mini guide 1
mini guide 2
mini guide 3
mini guide 4
mini guide 5
mini guide 6

Novice guides are intended to give non-SAS users the basic help they need to analyse surveys: novice guide

 
 
uparrowtop
B.2 Web links

- SAS institute

- Version 8 documentation online

- Description on the SAS web site

- Site at UCLA with extensive resources to help you with SAS as well as links to other sources of help

- SAS survey procedures

 
 
uparrowtop
B.3 Costs and licensing

SAS is an expensive package for commercial organisations. Licenses
are negotiated annually and are specific to the different sub-sections of SAS. The survey procedures come under the SAS STAT sub-section, which is part of the main package under most price-plans. SAS is available at reduced prices to academic organisations in the UK via CHEST where the current price list can be accessed.

 
 
uparrowtop
B.4 What kind of package is it?

SAS is an expensive package for commercial organisations. Licenses
are negotiated annually and are specific to the different sub-sections of SAS. The survey procedures come under the SAS STAT sub-section, which is part of the main package under most price-plans. SAS is available at reduced prices to academic organisations in the UK via CHEST where the current price list can be accessed.

 
 
uparrowtop
B.5 Methods for complex surveys

There are a series of SURVEY PROCEDURES that are part of SAS STAT (comes as part of the main package). These are the SURVEYSELECT, SURVEYMEANS, and SURVEYREG procedures.

SURVEYSELECT is intended for those designing surveys. The other two procedures can be used to analyse survey data. They include the following features:

  • Means (including subgroup means)
  • Proportions
  • Regression
  • All variance estimation by Taylor linearistion
  • Post-stratification cannot usually be handled.
User written code
 
uparrowtop
B.6 User written code

The SAS mechanism for doing this is the SAS macro. Some of these are available via the SAS site and others from different sources. There is a technical report on the SAS web site which contains some macros that can be used to implement replication methods in SAS.

The CALMAR macro, written by the French National Statistics Service, does post-startification and is featured in the SAS code for exemplar 1 ex1sas.htm. See section on non-response weighting (section 5.2.5) for links to information on this.

Pctilegroups.sas - A SAS macro for calculating the estimates and standard errors of the quantiles of a distribution for subgroups of a population.


 
 
uparrowtop
B.7 Software for imputation

The SAS procedures MI and MIANALYZE can be used for multiple imputation. The set of IVEWARE macros are also available. See the section on imputation (section 6.6) for details.

 

peas project 2004/2005/2006