sas למתחילים

97
SAS SAS םםםםםםםם םםםםםםםם םםםם םםםםםםם םםםם םםםםםםם םםם םםם2008 2008 םםםםם םםםם םםםםם םםםם םם: םם:04-8293694 04-8293694 [email protected] [email protected] םםם"ם םםם"ם: :

Upload: devin-meyers

Post on 01-Jan-2016

24 views

Category:

Documents


8 download

DESCRIPTION

SAS למתחילים. מרכז המחשבים מרץ 2008 אירית חסיד טל: 04-8293694 [email protected] דוא"ל:. מטרות. היכרות עם ממשק SAS Enterprise Guide ייבוא נתונים ,ועבודה עם נתונים יצירת דוחות . - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: SAS    למתחילים

SASSAS למתחילים למתחילים

מרכז המחשביםמרכז המחשבים

20082008מרץ מרץ

אירית חסידאירית חסיד

04-829369404-8293694טל: טל:

[email protected] [email protected] דוא"לדוא"ל::

Page 2: SAS    למתחילים

מטרותמטרות

SAS Enterprise Guideהיכרות עם ממשק היכרות עם ממשק ►ייבוא נתונים ,ועבודה עם נתוניםייבוא נתונים ,ועבודה עם נתונים►יצירת דוחות .יצירת דוחות .►הדוגמאות והתרגילים עושים שימוש בקבצי הנתונים הדוגמאות והתרגילים עושים שימוש בקבצי הנתונים ►

הקיימים במחשבים בהם הותקנה התוכנה בכיתה הקיימים במחשבים בהם הותקנה התוכנה בכיתה d:\sas-course\zqjegqr4\egqr4d:\sas-course\zqjegqr4\egqr4בתיקייה: בתיקייה:

d:\sas-coursed:\sas-courseאת קבצי התרגילים ניתן לשמור ב: את קבצי התרגילים ניתן לשמור ב:

Page 3: SAS    למתחילים

SAS Enterprise Guide Structure

►To begin work with SAS Enterprise Guide 1. create a project 2. add data to the project 3. run tasks against the data.

Page 4: SAS    למתחילים

Navigating the SAS Enterprise Guide

Workspace

Page 5: SAS    למתחילים

Main WindowMain Window

Page 6: SAS    למתחילים

►To reset all windows to their original positions, select Tools -> Options from the menu bar.

►Select Reset Docking Windows -> OK.

Page 7: SAS    למתחילים

Using SAS Enterprise GuideUsing SAS Enterprise Guide

Page 8: SAS    למתחילים

כניסה לתוכנהכניסה לתוכנה start > Programs > SAS > start > Programs > SAS >

Enterprise Guide 4 Enterprise Guide 4

Page 9: SAS    למתחילים

חלונות עיקרייםחלונות עיקריים

Page 10: SAS    למתחילים

סרגלי כליםסרגלי כלים

םם

Active Data displays the active data item in the Project Explorer and process flow. You can

use the drop-down list to select a new active data item, or you can select the data item from the Project Explorer or process flow.

Control enables you to control the processing of code, tasks, queries, and stored

processes.

Project enables you to add new items (project, process flow, stored process, data, code

and note) to the current project.

View enables you to open the nine separate windows that comprise the SAS

Enterprise Guide application and minimize or maximize the workspace.

Standard enables you to manage your files. For example, from this toolbar you can create new files, save existing files, cut and paste text, delete text, and search for text.

Page 11: SAS    למתחילים

ייבוא נתוניםייבוא נתונים

►11

►22

► 33

Page 12: SAS    למתחילים
Page 13: SAS    למתחילים
Page 14: SAS    למתחילים
Page 15: SAS    למתחילים

הפיכת קבצי נתונים מסאס לאקסלהפיכת קבצי נתונים מסאס לאקסל

Page 16: SAS    למתחילים

......11סידרת תרגילים מספר סידרת תרגילים מספר ►

Page 17: SAS    למתחילים

Common Data FormatsCommon Data Formats

Page 18: SAS    למתחילים

SAS Data TablesSAS Data Tables

Page 19: SAS    למתחילים
Page 20: SAS    למתחילים

►Names can be 1 to 32 Characters long.Names can be 1 to 32 Characters long.►Labels for the columns can be up to Labels for the columns can be up to

256 characters in length.256 characters in length.

Page 21: SAS    למתחילים
Page 22: SAS    למתחילים
Page 23: SAS    למתחילים
Page 24: SAS    למתחילים
Page 25: SAS    למתחילים
Page 26: SAS    למתחילים
Page 27: SAS    למתחילים

Adding a Local Excel Adding a Local Excel Spreadsheet to the Spreadsheet to the

ProjectProject►File -> Open -> Data… from the menu File -> Open -> Data… from the menu

bar. bar. ►Select Local Computer to find the Select Local Computer to find the

data source in your Windows data source in your Windows directory.directory.

►Navigate to the location of the data and Navigate to the location of the data and verify that the Files of type field contains averify that the Files of type field contains a

value of All Known Data Files(*.*). Double-value of All Known Data Files(*.*). Double-click on the file.click on the file.

Page 28: SAS    למתחילים
Page 29: SAS    למתחילים
Page 30: SAS    למתחילים

To insert a column, select To insert a column, select Data -> Columns -Data -> Columns -> Insert from the menu bar.> Insert from the menu bar.

Page 31: SAS    למתחילים
Page 32: SAS    למתחילים
Page 33: SAS    למתחילים
Page 34: SAS    למתחילים
Page 35: SAS    למתחילים

......22סידרת תרגילים מספר סידרת תרגילים מספר ►

Page 36: SAS    למתחילים

Getting Started with Tasks

Page 37: SAS    למתחילים
Page 38: SAS    למתחילים
Page 39: SAS    למתחילים
Page 40: SAS    למתחילים
Page 41: SAS    למתחילים
Page 42: SAS    למתחילים

Creating a Listing Report

Page 43: SAS    למתחילים

►By default, SAS Enterprise Guide generates results in HTML format. To generate results in the PDF and RTF formats, right-click on the List Data task in the Project Explorer or Process Flow window and select Properties.

►Select Results in the Selection pane. Select the Override the preferences set in Tools -> Options, HTML, PDF, and RTF check boxes. Select OK.

Page 44: SAS    למתחילים
Page 45: SAS    למתחילים
Page 46: SAS    למתחילים
Page 47: SAS    למתחילים
Page 48: SAS    למתחילים

Using Variable Parameters in Tasks

►Parameters (macro variables) can be used in tasks, queries, and code.

► Select Tools -> Parameters (Macro Variables) Manager to open the window.

Page 49: SAS    למתחילים
Page 50: SAS    למתחילים
Page 51: SAS    למתחילים
Page 52: SAS    למתחילים
Page 53: SAS    למתחילים

......33סידרת תרגילים מספר סידרת תרגילים מספר ►

Page 54: SAS    למתחילים
Page 55: SAS    למתחילים
Page 56: SAS    למתחילים

Select Data tab

►select columns to output►assign aliases and labels►apply formats►group data►perform summary functions►eliminate duplicate rows

Page 57: SAS    למתחילים
Page 58: SAS    למתחילים
Page 59: SAS    למתחילים
Page 60: SAS    למתחילים
Page 61: SAS    למתחילים
Page 62: SAS    למתחילים
Page 63: SAS    למתחילים

► The properties of a column that can be modified include the Alias (name), Label, and Format.

► To add all columns from a table into a query, right-click on the table name and select Add All Columns to Selection. For tables with many columns, it might be helpful to arrange the column names in alphabetical order by selecting Sort by Column Names.

Page 64: SAS    למתחילים
Page 65: SAS    למתחילים
Page 66: SAS    למתחילים
Page 67: SAS    למתחילים
Page 68: SAS    למתחילים
Page 69: SAS    למתחילים
Page 70: SAS    למתחילים
Page 71: SAS    למתחילים
Page 72: SAS    למתחילים
Page 73: SAS    למתחילים
Page 74: SAS    למתחילים

Creating New Columns with an Expression

Page 75: SAS    למתחילים
Page 76: SAS    למתחילים
Page 77: SAS    למתחילים
Page 78: SAS    למתחילים
Page 79: SAS    למתחילים
Page 80: SAS    למתחילים
Page 81: SAS    למתחילים
Page 82: SAS    למתחילים
Page 83: SAS    למתחילים
Page 84: SAS    למתחילים
Page 85: SAS    למתחילים
Page 86: SAS    למתחילים
Page 87: SAS    למתחילים
Page 88: SAS    למתחילים
Page 89: SAS    למתחילים
Page 90: SAS    למתחילים
Page 91: SAS    למתחילים
Page 92: SAS    למתחילים
Page 93: SAS    למתחילים
Page 94: SAS    למתחילים
Page 95: SAS    למתחילים
Page 96: SAS    למתחילים
Page 97: SAS    למתחילים

... ...44סידרת תרגילים מספר סידרת תרגילים מספר ►