# SAS Programs

Printer-friendly version

These are links to examples used in this course along with the necessary files or data sets that are required.  Use this list to review the concepts and procedures that are covered in this course.  Follow the link to the page within the course for more detail explanations, animated walk-throughs of these examples and/or additional related files.

 The Topic / Procedure Code or Data files Lesson Page Finding descriptive statistics nutrient.txtnutrient.sas 1.4 - Example Finding generalized variance nutrient3.sasMATRIXDET.txt 1.6 - Example: Women's Nutrition Data Creating plots of the bivariate normal distribution normplot.sasphi_equation_r=0.7.txt 4.2 - Example: Bivariate Normal Distribution Calculating Mahalonobis distances mahalonobis.sas 4.3 - Exponent of Multivariate Normal Distribution Producing QQ plots Q_Qplot.sas 4.4 - Multivariate Normality and Outliers Producing a covariance matrix for a dataset wechsler.saswechsler.txt 4.7 - Example: Wechsler Adult Intelligence Scale Plotting a 95% confidence ellipse corresponding to a specified variance-covariance matrix ellplot.sas 4.8 - Special Cases: p = 2 Generate confidence intervals for population means CI_pop_means.sas 5.2 - Interval Estimate of Population Mean Partial correlation wechsler2.sas 6.2 - Example: Wechsler Adult Intelligence Scale Hotelling's T2 test nutrient4.sasnutrient.txt 7.1.4 - Example: Women’s Nutrition Data and Associated Confidence Intervals Simultaneous confidence intervals nutrient5.sas Profile plots nutrient6.sas Paired Hotelling's T2 test spouse.sasspouse.txt 7.1.9 - Example: Spouse Data Simultaneous Bonferroni Confidence intervals spouse1a.sas 7.1.10 - Confidence Intervals Paired Hotelling's T2 test: Matching Perceptions spouse2.sas 7.1.11 - Question 2: Matching Perceptions 2 Sample Hotelling's T2 test swiss10.sas 7.1.15 - The Two-Sample Hotelling's T-Square Test Statistic Check for Normality potterya.saspottery.txt 8.4 - Example: Pottery Data - Checking Model Assumptions MANOVA pottery.sas 8.5 - Example: MANOVA of Pottery Data Split-Plot Analysis dog2.sasdog1.txt 9.2 - An Example Repeated Measures dog.sas 9.4 - Approach 2 - MANOVA Mixed Model Analysis dog3.sas 9.7 - Approach 3 - Mixed Model Analysis Test for homogeneity of the variance-covariance matrices using Bartlett's test insect.sasinsect.txt 10.4 - Example: Insect Data Bartlett's test to check for homogeneity of the variance-covariance matrices swiss9.sasswiss1.txt 10.7 - Example: Swiss Bank Notes Principal component procedures places.sasplaces.txt 11.3 - Example: Places Rated Principal component procedures using the standardized data places1.sas 11.6 - Example: Places Rated after Standardization Factor Analysis places2.sas 12.4 - Example: Places Rated Data - Principal Component Method Factor Analysis - Maximum Likelihood method places3.sas 12.8 - Example: Places Rated Data Canonical Correlation Analysis sales.sassales.txt 13.2 - Example: Sales Data Two-Way MANOVA rice.sasrice.txt 13.11 - Forming a MANOVA table Cluster Analysis - Complete Linkage wood1.saswood.txt 14.5 - Agglomerative Method Example Cluster Analysis - Ward's Method wood5.sas 14.7 - Ward’s Method Cluster Analysis - K-Means wood6.sas 14.9 - Defining Initial Clusters