Files
Home Syllabus Topics Covered Software Files Data Sets Class Materials Assignments Links

 

Documents, SAS Files and Data Files for Stat 579

SAS Setup

ZIP File Containing all SAS Macros: SAS Stat Macros.zip
        (all files to be stored in the same location on your hard drive)

autoexec.sas
        (to be stored in same location as sas.exe, typically C:\Program Files\SAS\SAS 9.1)

Procedure for copying and pasting ODS Graphics.

Running SAS Macros using Enterprise Guide on the Analysis Server.
     PrelimCode.egp

Chapter

Documents, SAS files and Data Files

1

Exercise 6
     SAS Code
     Exercise 6b using SAS PROC IML
     Enterprise Guide Project

Exercise 7
     SAS Code
     Enterprise Guide Project

Example on assessing multivariate normality and checking for multivariate outliers
     SAS Code
     Enterprise Guide Project

2

Example 2.1 (including scatterplot matrices)
     SAS Code
     Enterprise Guide Project

     Getting the EG project to work on your PC

SAS Macro for producing a matrix of (side-by-side) scatterplots
     Description

Example using the SAS Macro that computes Confidence Intervals on Correlation r
     SAS Code
     Enterprise Guide Project

Exercise 8
     SAS Code
     Enterprise Guide Project

3

U. S. Navy Example
     SAS Code
     Enterprise Guide Project

4

Exercise 2
     SAS Code

5

Exercise 1
     SAS Code
     Enterprise Guide Project

Exercise 7
     SAS Code
     Enterprise Guide Project

MathAttitudes.sas

6

Exercise 1
     SAS Code

Exercise 9
     SAS Code
     Enterprise Guide Project

Exam 1

Exam

Data Set (SAS code)
Data Set (SAS data set)

7

Financial Data
     ASCII data set
     SAS Code
     Enterprise Guide Project
     Plot of Financial Data

Football Data
     ASCII data set
     SAS Code
     Enterprise Guide Project

Gambling Groups
     SAS Code

8

Example on Coronary Heart Disease (Excel file)

Example 8.1
     SAS Code
     Enterprise Guide Project

Exam 2

Exam

Cereal data
     SAS Code for reading text file
     Cereal.txt

Hemophilia data
     SAS Code for reading text file
     Hemophilia.txt
     Hemophilia2.txt

9

Introduction to Cluster Analysis
     PCA Plots
          SAS Code
          Enterprise Guide Project
     Canonical Plots
          SAS Code
          Enterprise Guide Project
     Standardization

          SAS Code

Hierarchical Clustering Methods
     Cluster Analysis of Languages
     Ward's Method
     Demonstration of all Methods
     Determining the Number of Clusters
     Calculation of Beale's pseudo F

Partitive Clustering Methods
     k-Means Clustering
     Demonstration of the Order Effect
     Nonparametric Clustering
     Fuzzy Clustering
     Data Preprocessing using PROC ACECLUS
     Cluster Analysis of Elongated Clusters

Profiling and Scoring
     Profiling 1
     Profiling 2
     Scoring 1
     Scoring 2

Clustering Variables
     VARCLUS 1
     VARCLUS 2

Multidimensional Scaling
     Johnson9_9.sas
     MDS

Johnson9_12.sas (Single Linkage Method)

10

SAS Macro for producing confidence ellipsoid for the mean of bivariate data

Exercise 10.1, Parts acd

Homework on One-Sample Test for m
Data for Homework 11 (kites.txt)

Exercise 10.8

Exercise 10.9

SAS code for testing the equality of 2 mean vectors assuming unequal covariance matrices

SAS Macro for producing simultaneous confidence limits for each of a set of p continuous variables

11

Example on 1-way MANOVA

Example on 2-way MANOVA

A Second Example on 2-way MANOVA

Exercise 11.2

Exercise 11.3

Exercise 11.5
(Canonical variables created by PROC CANDISC)

Exercise 11.5f

Example on Repeated Measures - 1 within-subjects factor

Example on Repeated Measures - 1 between-subjects factor and 1 within-subjects factor

Example on Repeated Measures - 1 between-subjects factor and 2 within-subjects factors

Exam 3

Exam

Paper.sas
Paper.txt