NonParametric Statistics using SAS. 2 List the components of a SAS program. Open an existing SAS program and run it. Objectives.

Slides:



Advertisements
Similar presentations
Statistical Methods Lynne Stokes Department of Statistical Science Lecture 7: Introduction to SAS Programming Language.
Advertisements

Chapter 3: Editing and Debugging SAS Programs. Some useful tips of using Program Editor Add line number: In the Command Box, type num, enter. Save SAS.
Marketing Research Aaker, Kumar, Day and Leone Tenth Edition Instructor’s Presentation Slides 1.
Statistics in Science  Introducing SAS ® software Acknowlegements to David Williams Caroline Brophy.
Statistical Methods II
SAS Programming: Working With Variables. Data Step Manipulations New variables should be created during a Data step Existing variables should be manipulated.
Creating Graphs on Saturn GOPTIONS DEVICE = png HTITLE=2 HTEXT=1.5 GSFMODE = replace; PROC REG DATA=agebp; MODEL sbp = age; PLOT sbp*age; RUN; This will.
Lecture 10 Non Parametric Testing STAT 3120 Statistical Methods I.
Today: Run SAS programs on Saturn (UNIX tutorial) Runs SAS programs on the PC.
Biostatistical Methods II PubH 6415 Spring PubH 6415 – Biostatistics I Instructor: Susan Telke (office hours: lecture.
Descriptive Statistics In SAS Exploring Your Data.
Analysis of Variance. Experimental Design u Investigator controls one or more independent variables –Called treatment variables or factors –Contain two.
Aaker, Kumar, Day Ninth Edition Instructor’s Presentation Slides
A Simple Guide to Using SPSS© for Windows
Categorical Data Analysis using SAS. 2 List the components of a SAS program. Open an existing SAS program and run it. Discuss the Chi Square Test of Independence.
SAS ® Regression Essentials. 2 List the components of a SAS program. Open an existing SAS program and run it. Objectives.
15-1 Introduction Most of the hypothesis-testing and confidence interval procedures discussed in previous chapters are based on the assumption that.
Mann-Whitney and Wilcoxon Tests.
EPLS Lab Software Orientation SAS. Orientation Overview Background Getting Started SAS Windows.
Into to SAS ®. 2 List the components of a SAS program. Open an existing SAS program and run it. Objectives.
Statistical Methods II
SAS ® ANOVA Essentials. 2 List the components of a SAS program. Open an existing SAS program and run it. Objectives.
Lecture 4 Ttests STAT 3120 Statistical Methods I.
Introduction To Correlation with SAS Sam Gordji Weir 107.
SAS Lecture 5 – Some regression procedures Aidan McDermott, April 25, 2005.
Selecting the Correct Statistical Test
STAT 3130 Statistical Methods I Session 2 One Way Analysis of Variance (ANOVA)
Introduction to SAS Essentials Mastering SAS for Data Analytics
1 Experimental Statistics - week 7 Chapter 15: Factorial Models (15.5) Chapter 17: Random Effects Models.
SAS Workshop Lecture 1 Lecturer: Annie N. Simpson, MSc.
Chapter 9 Producing Descriptive Statistics PROC MEANS; Summarize descriptive statistics for continuous numeric variables. PROC FREQ; Summarize frequency.
Introduction to SAS Essentials Mastering SAS for Data Analytics Alan Elliott and Wayne Woodward SAS ESSENTIALS -- Elliott & Woodward1.
1 Experimental Statistics - week 4 Chapter 8: 1-factor ANOVA models Using SAS.
Special Topics 504: Practical Methods in Analyzing Animal Science Experiments The course is: Designed to help familiarize you with the most common methods.
Introduction to SAS Essentials Mastering SAS for Data Analytics
Introduction to SAS. What is SAS? SAS originally stood for “Statistical Analysis System”. SAS is a computer software system that provides all the tools.
Shavelson Chapter 14 S14-1. Know the purpose of a two-way factorial design and what type of information it will supply (e.g. main effects and interaction.
1 Experimental Statistics - week 2 Review: 2-sample t-tests paired t-tests Thursday: Meet in 15 Clements!! Bring Cody and Smith book.
Quantify the Example Data First, code and quantify the data (assign column locations & variable names) Use the sample data to create a data set from the.
Math 3400 Computer Applications of Statistics Lecture 1 Introduction and SAS Overview.
SAS 介绍和举例 Presented by 经济实验教学中心 商务数据挖掘中心. Raw Data Read in Data Process Data (Create new variables) Output Data (Create SAS Dataset) Analyze Data Using.
Testing Multiple Means and the Analysis of Variance (§8.1, 8.2, 8.6) Situations where comparing more than two means is important. The approach to testing.
Haas MFE SAS Workshop Lecture 3: Peng Liu Haas School.
BUSI 6480 Lecture 8 Repeated Measures.
How to start using SAS Tina Tian. The topics An overview of the SAS system Reading raw data/ create SAS data set Combining SAS data sets & Match merging.
Laboratory 1. Introduction to SAS u Statistical Analysis System u Package for –data entry –data manipulation –data storage –data analysis –reporting.
ITEC6310 Research Methods in Information Technology Instructor: Prof. Z. Yang Course Website: c6310.htm Office:
Experimental Design and Statistics. Scientific Method
1 Experimental Statistics - week 14 Multiple Regression – miscellaneous topics.
JavaScript Syntax, how to use it in a HTML document
Lecture 3 Topic - Descriptive Procedures Programs 3-4 LSB 4:1-4.4; 4:9:4:11; 8:1-8:5; 5:1-5.2.
Chapter 1: Overview of SAS System Basic Concepts of SAS System.
Lesson 8 - Topics Creating SAS datasets from procedures Using ODS and data steps to make reports Using PROC RANK Programs in course notes LSB 4:11;5:3.
Computing with SAS Software A SAS program consists of SAS statements. 1. The DATA step consists of SAS statements that define your data and create a SAS.
Computing the ranks of data is only one of several possible so-called scoring methods that are in use... Section 2.7 reviews three of them – we’ll look.
ISQS 6347, Data & Text Mining 1 ISQS 6339, Data Management & Business Intelligence Data Preparation for Analytics Using SAS Zhangxi Lin Texas Tech University.
Experimental Statistics - week 9
Topic 29: Three-Way ANOVA. Outline Three-way ANOVA –Data –Model –Inference.
Chapter 1 Introduction to Statistics. Section 1.1 Fundamental Statistical Concepts.
HYPOTHESIS TESTING FOR DIFFERENCES BETWEEN MEANS AND BETWEEN PROPORTIONS.
1 EPIB 698C Lecture 1 Instructor: Raul Cruz-Cano
SAS Programming Training Instructor:Greg Grandits TA: Textbooks:The Little SAS Book, 5th Edition Applied Statistics and the SAS Programming Language, 5.
Educational Research Inferential Statistics Chapter th Chapter 12- 8th Gay and Airasian.
Chapter 14 Repeated Measures and Two Factor Analysis of Variance PowerPoint Lecture Slides Essentials of Statistics for the Behavioral Sciences Seventh.
Introduction to SAS®.
Non-parametric Analysis of the Variance in SAS®
SAS® Regression Essentials
Introduction to SAS Essentials Mastering SAS for Data Analytics
Introduction to SAS Lecturer: Chu Bin Lin.
Introduction to SAS Essentials Mastering SAS for Data Analytics
Presentation transcript:

NonParametric Statistics using SAS

2 List the components of a SAS program. Open an existing SAS program and run it. Objectives

3 DATA steps are typically used to create SAS data sets. PROC steps are typically used to process SAS data sets (that is, generate reports and graphs, edit data, and sort data). A SAS program is a sequence of steps that the user submits for execution. Raw Data DATA Step Report SAS Data Set PROC Step SAS Programs

4 DATA one; INPUT Name $ Gender $ Runtime Age Weight ; DATALINES; Donna F Gracie F Luanne F Mimi F Chris M ; RUN; PROC PRINT DATA=one; RUN; PROC REG DATA=one; MODEL Runtime=Weight; RUN; DATA Step PROC Steps SAS Programs

5 Interactive windows enable you to interface with SAS. SAS Windowing Environment

6 Open the SAS program “example.sas.” Submit the program and examine the results. Data for today's class located at Exercises

7 Learn the two fundamental SAS syntax programming rules. Write a Data Step to read a data file. Objectives

8 SAS statements have these characteristics: usually begin with an identifying keyword always end with a semicolon DATA staff; INPUT LastName $ FirstName $ JobTitle $ Salary; DATALINES; …insert text here… RUN; PROC PRINT DATA=staff; RUN; Fundamental SAS Syntax Rules

Example of a typical text data set. Name Gender Runtime Age Weight Donna F Gracie F Luanne F Mimi F Chris M

DATA one; INPUT Name $ Gender $ Runtime Age Weight; DATALINES; Donna F Gracie F Luanne F Mimi F Chris M ; RUN; PROC PRINT DATA=one; RUN; Creating a SAS data set: The Data Step

Veneer Data brand wear Acme 2.3 Acme 2.1 Acme 2.4 Acme 2.5 Acme 2.2 Acme 2.0 Champ 2.2 Champ 2.3 Champ 2.4 …

12 Write a SAS program to read the data located in the “veneer.txt“ text file. Exercises

Nonparametric ANOVA

Objectives Recognize when nonparametric analysis is appropriate. Perform nonparametric analysis with the NPAR1WAY procedure.

Nonparametric Analysis Nonparametric analyses are those that rely only on the assumption that the observations are independent. Normality not required Variances do not have to be equal Small sample sizes ok Dependant variable can be ordinal

Hypotheses of Interest

Rank Scores

Median Scores Median = 8.5

THE NPAR1WAY PROCEDURE PROC NPAR1WAY DATA=SAS-data-set ; CLASS variable; VAR variables; RUN;

Veneer Data brand wear Acme 2.3 Acme 2.1 Acme 2.4 Acme 2.5 Acme 2.2 Acme 2.0 Champ 2.2 Champ 2.3 Champ 2.4 …

Veneer Example Are there differences between the durability of brands of wood veneer?

22 The nonparm.sas program contains several of the most common SAS procedures used your class. During the remainder of this class, we will open that SAS program discuss the function of each of the procedures and demo it in SAS. SAS Procedures