خطوات تحميل برنامج الـ SAS الإصدار التاسع 2004 (v9)

Download Report

Transcript خطوات تحميل برنامج الـ SAS الإصدار التاسع 2004 (v9)

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‬‬
‫اإلصدار التاسع ‪)v9, 2004( 2004‬‬
‫‪(1‬‬
‫‪(2‬‬
‫‪(3‬‬
‫‪(4‬‬
‫‪(5‬‬
‫‪(6‬‬
‫‪(7‬‬
‫تعديل التاريخ إلي أغسطس ‪2004‬‬
‫فتح مجلد ‪ Setup desk‬ثم ملف ‪setup.exe‬‬
‫اإلجابة بـ ‪ OK‬علي مربع الحوار‬
‫إختيار أمر ‪Install SAS software‬‬
‫اإلجابة علي مربع الحوار ‪Install Shield Wizard‬‬
‫اإلجابة بـ ‪ Next‬ثم ‪Finish‬‬
‫لا‬
‫إعادة الخطوات من ‪ 5-1‬حتي تظهر كلمة ‪ Next‬بد ً‬
‫من كلمة ‪Finish‬‬
‫تابع خطوات تحميل برنامج الـ ‪SAS‬‬
‫‪ (8‬اإلجابة علي مربع الحوار بـ ‪Browse‬‬
‫‪ (9‬إختيار وفتح مجلد ‪SAS 9.0 License And Date Crack‬‬
‫‪ (10‬إختيار الملف األوسط ‪ sas9834961.exe‬ثم ‪Next‬‬
‫>= ‪Wizard‬‬
‫‪ (11‬اإلجابة علي مربع الحوار‬
‫‪ Language selections‬بـ ‪ English‬ثم ‪ 4‬مرات ‪Next‬‬
‫حتي تصل إلي ‪Select component‬‬
‫‪ (12‬يتم إختيار ‪ )System-Academic( SAS software‬ثم‬
‫‪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‬‬