Statistical Analysis for Animal Production Sciences (603 & 611 AAP) Biostatistics-SAS, 2010 Dr. Hosam M. Safaa Associate Professor Animal Production Department.

Slides:



Advertisements
Similar presentations
Summary Statistics/Simple Graphs in SAS/EXCEL/JMP.
Advertisements

Technology Short Courses: Spring 2010 Kentaka Aruga
Statistical Methods Lynne Stokes Department of Statistical Science Lecture 7: Introduction to SAS Programming Language.
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.
Introduction to SAS Programming Christina L. Ughrin Statistical Software Consulting Some notes pulled from SAS Programming I: Essentials Training.
Introduction to SPSS Allen Risley Academic Technology Services, CSUSM
Today: Run SAS programs on Saturn (UNIX tutorial) Runs SAS programs on the PC.
Descriptive Statistics In SAS Exploring Your Data.
T T02-06 Histogram (6 SD) Purpose Allows the analyst to analyze quantitative data by summarizing it in sorted format, scattergram by observation,
A Simple Guide to Using SPSS© for Windows
T T02-04 Histogram (User Selected Classes) Purpose Allows the analyst to analyze quantitative data by summarizing it in sorted format, scattergram.
Basic And Advanced SAS Programming
1 SAS SAS is a statistics software package developed by SAS Institute Inc. in U.S.A. SAS products include SAS/STAT, SAS/IML, SAS/OR, etc. The most.
SPSS 1: An Introduction to the Statistical Package SPSS Suzie Cro MRC Clinical Trials Unit.
SPSS Statistical Package for the Social Sciences is a statistical analysis and data management software package. SPSS can take data from almost any type.
Introduction to SPSS Short Courses Last created (Feb, 2008) Kentaka Aruga.
Understanding SAS Data Step Processing Alan C. Elliott stattutorials.com.
Introduction To Correlation with SAS Sam Gordji Weir 107.
Week 3 Topic - Descriptive Procedures Program 3 in course notes Cody & Smith (Chapter 2)
How to Analyze Data? Aravinda Guntupalli. SPSS windows process Data window Variable view window Output window Chart editor window.
Introduction to SAS Essentials Mastering SAS for Data Analytics
Review of Econ424 Fall –open book –understand the concepts –use them in real examples –Dec. 14, 8am-12pm, Plant Sciences 1129 –Vote Option 1(2)
SAS Workshop Lecture 1 Lecturer: Annie N. Simpson, MSc.
Introduction to SAS Essentials Mastering SAS for Data Analytics Alan Elliott and Wayne Woodward SAS ESSENTIALS -- Elliott & Woodward1.
APPENDIX B Data Preparation and Univariate Statistics How are computer used in data collection and analysis? How are collected data prepared for statistical.
Introduction to SAS BIO 226 – Spring Outline Windows and common rules Getting the data –The PRINT and CONTENT Procedures Manipulating the data.
1 Experimental Statistics - week 4 Chapter 8: 1-factor ANOVA models Using SAS.
Using SPSS for Windows Part II Jie Chen Ph.D. Phone: /6/20151.
Introduction to SAS. What is SAS? SAS originally stood for “Statistical Analysis System”. SAS is a computer software system that provides all the tools.
1 Experimental Statistics - week 2 Review: 2-sample t-tests paired t-tests Thursday: Meet in 15 Clements!! Bring Cody and Smith book.
C++ Basics Structure of a Program. C++ Source Code Plain text file Typical file extension .CPP Must compile the C++ source code without errors before.
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.
Then click the box for Normal probability plot. In the box labeled Standardized Residual Plots, first click the checkbox for Histogram, Multiple Linear.
Getting Started with MATLAB 1. Fundamentals of MATLAB 2. Different Windows of MATLAB 1.
ISU Basic SAS commands Laboratory No. 1 Computer Techniques for Biological Research Animal Science 500 Ken Stalder, Professor Department of Animal Science.
What is SPSS  SPSS is a program software used for statistical analysis.  Statistical Package for Social Sciences.
Introduction to SPSS. Object of the class About the windows in SPSS The basics of managing data files The basic analysis in SPSS.
T T03-01 Calculate Descriptive Statistics Purpose Allows the analyst to analyze quantitative data by summarizing it in sorted format, scattergram.
1 EPIB 698E Lecture 1 Notes Instructor: Raul Cruz 7/9/13.
Dr. Engr. Sami ur Rahman Research Methods in Computer Science Lecture: Data Analysis (Introduction to SPSS)
June 21, Objectives  Enable the Data Analysis Add-In  Quickly calculate descriptive statistics using the Data Analysis Add-In  Create a histogram.
Laboratory 1. Introduction to SAS u Statistical Analysis System u Package for –data entry –data manipulation –data storage –data analysis –reporting.
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.
Introduction to Correlation & Regression with SAS Sam Gordji Weir 107.
Review Lecture 51 Tue, Dec 13, Chapter 1 Sections 1.1 – 1.4. Sections 1.1 – 1.4. Be familiar with the language and principles of hypothesis testing.
1.Introduction to SPSS By: MHM. Nafas At HARDY ATI For HNDT Agriculture.
Chapter 1: Overview of SAS System Basic Concepts of SAS System.
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.
Using SPSS Next. An Introduction SPSS (the Statistical Package for the Social Sciences)
Chapter 2 Getting Data into SAS Directly enter data into SAS data sets –use the ViewTable window. You can define columns (variables) with the Column Attributes.
Chapter 8: Using Basic Statistical Procedures “33⅓% of the mice used in the experiment were cured by the test drug; 33⅓% of the test population were unaffected.
Chapter 1 Introduction to Statistics. Section 1.1 Fundamental Statistical Concepts.
1 PEER Session 02/04/15. 2  Multiple good data management software options exist – quantitative (e.g., SPSS), qualitative (e.g, atlas.ti), mixed (e.g.,
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.
Analyzing Data. Learning Objectives You will learn to: – Import from excel – Add, move, recode, label, and compute variables – Perform descriptive analyses.
Online Programming| Online Training| Real Time Projects | Certifications |Online Classes| Corporate Training |Jobs| CONTACT US: STANSYS SOFTWARE SOLUTIONS.
IENG-385 Statistical Methods for Engineers SPSS (Statistical package for social science) LAB # 1 (An Introduction to SPSS)
SAS ® 101 Based on Learning SAS by Example: A Programmer’s Guide Chapters 16 & 17 By Tasha Chapman, Oregon Health Authority.
If sig is less than 0.05 (A) then the test is significant at 95% confidence (B) then the test is significant at 90% confidence (C) then the test is significant.
LINGO TUTORIAL.
Exploring SPSS for Data Analysis
Applied Business Forecasting and Regression Analysis
By Dr. Madhukar H. Dalvi Nagindas Khandwala college
DEPARTMENT OF COMPUTER SCIENCE
Data Management and Acquisition Tutorial
Tamara Arenovich Tony Panzarella
Chapter 4: Sorting, Printing, Summarizing
6-1 Introduction To Empirical Models
Presentation transcript:

Statistical Analysis for Animal Production Sciences (603 & 611 AAP) Biostatistics-SAS, 2010 Dr. Hosam M. Safaa Associate Professor Animal Production Department Faculty of Agriculture, Cairo University

خطوات تحميل برنامج الـ SAS الإصدار التاسع 2004 (v9, 2004) 1) تعديل التاريخ إلي أغسطس ) فتح مجلد Setup desk ثم ملف setup.exe 3) الإجابة بـ OK علي مربع الحوار 4) إختيار أمر Install SAS software 5) الإجابة علي مربع الحوار Install Shield Wizard 6) الإجابة بـ Next ثم Finish 7) إعادة الخطوات من 1-5 حتي تظهر كلمة Next بدلاً من كلمة Finish

تابع خطوات تحميل برنامج الـ SAS 8) الإجابة علي مربع الحوار بـ Browse 9) إختيار وفتح مجلد SAS 9.0 License And Date Crack 10) إختيار الملف الأوسط sas exe ثم Next 11) الإجابة علي مربع الحوار Wizard => Language selections بـ English ثم 4 مرات Next حتي تصل إلي Select component 12) يتم إختيار SAS software (System-Academic) ثم Next 13) سيطلب مربع الحوار Software Disk1 فيتم فتح Browse=> مجلد SAS v9=> مجلد Software Disk1 ثم OK مرتين

تابع خطوات تحميل برنامج الـ SAS 14) سيطلب مربع الحوار Software Disk2 فيتم فتح Browse=> مجلد SAS v9=> مجلد Software Disk2 ثم OK مرتين 15) سيطلب مربع الحوار Software Disk3 فيتم فتح Browse=> مجلد SAS v9=> مجلد Software Disk3 ثم OK مرتين 16) سيطلب مربع الحوار SAS/Secure Windows فيتم فتح Browse=> مجلد SAS v9=> مجلد SAS/Secure Windows ثم OK مرتين 17) سيطلب مربع الحوار SAS/Shared Components فيتم فتح Browse=> مجلد SAS v9=> مجلد SAS/Shared Compo ثم OK مرتين

تابع خطوات تحميل برنامج الـ SAS 18) الرد علي مربع الحوار Confirm Update بـ Yes بعد إختيار Use this response for all files 14) سيطلب مربع الحوار Setup desk فيتم فتح Browse=> مجلد SAS v9=> مجلد Setup desk ثم OK مرتين 15) الرد علي مربع حوار Setup complete بـ Finish بعد إختيار Run SAS now و View P.I.D. 16) ستظهر شاشة البرنامج بها خمس نوافذ ومربع حوار لعرض المرشد SAS guide 17) بهذا يكون قد تم تحميل البرنامج وتشغيله، ويراعي إعادة التحميل مرة أخري في حالة توقف الجهاز أو عدم إكتمال التحميل حتي التشغيل

Statistical Analysis System (SAS)  SAS was designed to perform statistical analyses and report the results.  The SAS display manager system screen consists of 3 main windows: 1- Program Editor is where you enter the SAS statements to be executed. 2- LOG is very useful for debugging programs and contain all the error messages. 3- Output is where results output by SAS procedures are displayed.

SAS steps  SAS able to:  Perform the data analysis method.  Solve data analysis problems.  Cover several basic types of data analysis.  SAS steps consist of: 1- DATA steps are the sentences (statements) which organize, find and summarize data. 2- PROC steps are the statements which perform the analysis on the organized data.

SAS statements (Language)  DATA and PROC steps consists of SAS statements.  Most statements have one or more keywords that must be spelled exactly as shown.  The SAS language has its own vocabulary and syntax.  Syntax rule: SAS statements must end with semi column “;”).  Some words have special meaning.

SAS statements (Language)  ne = means not equal.  $ = refers to non numeric variables.  = refers to non columned data.  Dots “.” = refer to missed data.  Variable = Effect or Trait.  Data = Levels of effects or observations of Traits.

SAS statements (Language)  probbnml = Binomial distribution probability.  poisson = Poisson distribution probability.  probnorm = Normal distribution probability.  tvalue, tinv = T “Student=Gosset” probability.  probf = F “Fisher” distribution probability.  probchi = Chi square distribution probability.

Rules of SAS names  Must start with a letter.  Total length of the SAS name should not exceed 8 character.  Must not contain any embedded blanks

SAS spacing rules  The spacing of statements and of parts of statement is NOT important in SAS language.  You can put several statements in one line.  You can spread a statement in several lines.  You can put space between/among statements or not.  You can indent statements or not.  You should put at least one space (blank) between words in the SAS statement.

SAS DATA Step The DATA step is your primary tool for reading and processing data in the SAS System. The DATA step provides a powerful general purpose programming language that enables you to perform all kinds of data processing tasks. The DATA step is documented in SAS Language Reference.

DATA Steps A SAS data set has some specific characteristics and rules that must be followed to be able to analyzed using SAS software.  Title statement gives a title for output pages.  Footnote statement gives a footnote for output pages.  Data statement gives a name to the data.  Input statement tells SAS software what whether the variable have numeric or character values and where the variable are located.

DATA Steps  Label statement allows to label the variable.  Format statement allows to label the data values (levels or observations) of the variable, but need a PROC FORMAT statement.  IF statement tells any conditions for any of the variables in the input statement.  Cards statement tells the software that the data lines follow.  Data lines entered according to the input statement after cards statement.  Null statement after the data lines.

PROC Steps PROC is an abbreviation of procedure and tells the SAS software which procedure or type of analysis apply to the data.  Options statement setup output pages by allowing you to set certain system options.  PROC Format creates formats for variable’s values.  PROC Print allows to print data set in output windows.  PROC Sort allows to reordered the observations from data set.  PROC Means calculates your date to get summarizing statistics (Mean, mode, median, SD, min, max …ect).

PROC Steps  PROC Univariate allows for many descriptive statistics, comparing paired groups, testing for normality and producing normality plots.  PROC Chart allows for charts and histogram.  PROC Freq allows for many frequency and descriptive statistics.  Run statement executes the statements immediately above it when SAS was run.  Endsas statement exits from the SAS software.

PROC Steps  PROC ANOVA allows for analysis of variances statistics.  PROC GLM allows for analysis of variances statistics (General Linear Model).  PROC MIXED allows for analysis of variances statistics (Repeated measures).  PROC CATMOD allows for analysis of variances statistics (Chi Square).  PROC REG allows for regression statistics.  PROC STEPWISE allows for stepwise regression statistics.  PROC CORR allows for correlation statistics.

شكرا لحســن الاستماع Thanks