Sas training in hyderabad

Page 1

Basics Presented By


Agenda Introduction to SAS Software Program Data preparation & Tabulation Test of Difference: T-test, and ANOVA Test of Association: Correlation & Regression Analysis

www.kellytechno.com


www.kellytechno.com


SAS ď‚— From traditional statistical analysis of variance and

predictive modeling to exact methods and statistical visualization techniques, SAS/STAT software is designed for both specialized and enterprise wide analytical needs. SAS/STAT software provides a complete, comprehensive set of tools that can meet the data analysis needs of the entire organization. www.kellytechno.com


SAS Components SAS SAS Enterprise Enterprise Guide Guide

SAS SAS 9.2 9.2

Graphical Graphical user user interface interface application application for for some some common common basic basic data data analysis analysis tasks. tasks.

Command-based Command-based application application for for aa wide wide variety variety of of data data analysis analysis tasks. tasks.

www.kellytechno.com


SAS Enterprise Guide ď‚— To open the statistical software package SAS go

to the Start Menu >>> All Programs >>> SAS >>> SAS Enterprise Guide 4.3

www.kellytechno.com


SAS 9.2

ď‚— To open the statistical software package SAS go

to the Start Menu >> All Program >> SAS >> SAS 9.2 (English)

www.kellytechno.com


What Is SAS Enterprise Guide?

What Is SAS Enterprise Guide? SAS Enterprise Guide is an easy-to-use Windows client application that provides these features: – – – – –

access to much of the functionality of SAS an intuitive, visual, customizable interface transparent access to data ready-to-use tasks for analysis and reporting easy ways to export data and results to other applications – scripting and automation – a program editor with syntax completion and built-in function help www.kellytechno.com


Explore the Main Windows 1 2

3

www.kellytechno.com


Create a Project for This Tutorial  If SAS Enterprise Guide is not open, start it now. In the Welcome window, select New Project.  If SAS Enterprise Guide is already open, select File >> New Project. If you already had a project open in SAS Enterprise Guide, you might be prompted to save the project. Select the appropriate response.  The new project opens with an empty Process Flow window.

www.kellytechno.com


1. The Project Tree ď‚— You can use the Project Tree window to manage the objects in your project. You can delete, rename, and reorder the items in the project. You can also run a process flow or schedule a process flow to run at a particular time.

www.kellytechno.com


2. Workspace and Process Flow Windows You can have one or more process flows in your project. When you create a new project, an empty Process Flow window opens. As you add data, run tasks, and generate output, an icon for each object is added to the process flow. The process flow displays the objects in a project, any relationships that exist between the objects, and the order in which the objects will run when you run the process flow. www.kellytechno.com


3. The Task List You can use tasks to do everything from manipulating data, to running specific analytical procedures, to creating reports. Many tasks are also available as wizards, which contain a limited number of options and can provide a quick and easy way to use some of the tasks. www.kellytechno.com


Add SAS Data to the Project ď‚— You can add SAS data files

and other types of files, including OLAP cubes, information maps, ODBCcompliant data, and files that are created by other software packages, such as Microsoft Word or Microsoft Excel.

www.kellytechno.com


ď‚— SAS Enterprise Guide requires all data that it accesses

to be in table format. A table is a rectangular arrangement of rows (also called observations) and columns (also called variables).

Name Jones Laverne Jaffe Wilson

Gender M M F M

Age 48 58 . 28

Weight 128.6 158.3 115.5 170.1

www.kellytechno.com


• a column's type is important because it affects how the

column can be used in a SAS Enterprise Guide task. A column's type can be either character or numeric. • Character variables, such as Name and Gender in the preceding data set, can contain any values. Missing character values are represented by a blank. • Numeric variables, such as Age and Weight in the preceding data set, can contain only numeric values. Currency, date, and time data is stored as numeric variables. Missing numeric values are represented by a period.Name Gender Age Weight Jones Laverne Jaffe Wilson

M M F M

48 58 . 28

128.6 158.3 115.5 170.1

www.kellytechno.com


Local and Remote Data

ď‚— When you open data in SAS Enterprise Guide, you

must select whether you want to look for the data on your local computer, a SAS server, or in a SAS folder.

www.kellytechno.com


Local and Remote Data (Cont’)  If you click My Computer, you can browse the

directory structure of your computer. You can open any type of data file that SAS Enterprise Guide can read.  If you click Servers, you can look for your data on a server. A server can either be a local server if SAS software is installed on your own computer, or it can be a remote server if SAS software is installed on a different computer. www.kellytechno.com


Open Data from Server ď‚— Within each server there are icons that you can select for

Libraries and Files. Libraries are shortcut names for directory locations that SAS knows about. Some libraries are defined by SAS, and some are defined by SAS Enterprise Guide. Libraries contain only SAS data sets. ď‚— The Files folder on a server enables you to access data files in the directory structure on the computer where the SAS server is running. For example, if you wanted to open a Microsoft Excel file on a server that is defined in your repository, you would use the Files node to locate and open the file. www.kellytechno.com


Open Data from SAS Folders If you click SAS Folders, you can browse the list of SAS folders that you can access. SAS folders are defined in the SAS Metadata Server and can be used to provide a central location for your stored processes, information maps, and projects so that they can be shared with other SAS applications. SAS folders can also contain content that is not in the SAS Metadata Server, such as data files.

www.kellytechno.com


Add SAS Data from Your Local Computer • Select File >> Open >> Data. In the Open Data

window, select My Computer. • Open the SAS Enterprise Guide samples directory and double-click Data. By default, the sample programs, projects, and data are located in C:\Program Files\SAS\EnterpriseGuide\4.3\Sample. By default, all file types are displayed in the window. Files with the icon are SAS data sets. Press CTRL and select Orders.sd2 and Products.sas7bdat, and then click Open. www.kellytechno.com


Add SAS Data from Your Local Computer (Cont’)  Shortcuts to

the Products and Orders tables are added to the project, and the data sets open in data grids.  By default, the tables open in read-only mode. In this mode, you can browse, resize column widths, hide and hold columns and rows, and copy columns and rows to a new table.  You cannot edit the data in the table unless you change to edit mode. Select Edit >> Remove Protect Data www.kellytechno.com


View the Properties of a Data Set ď‚— In the project tree, right-click Products and

select Properties from the pop-up menu. The Properties for Products window opens. You can see information about general properties such as the physical location of the data and the date it was last modified.

www.kellytechno.com


View the Properties of a Data Set (Cont’)

ď‚— In the selection pane, click Columns. Here you can

view a list of columns in your data and the column attributes.

www.kellytechno.com


Add Data from a SAS Library • Select File >> Open >> Data. In

the Open Data window, select Servers. • Double-click Libraries, and then double-click SASHELP. As you can see, only SAS data sets are stored in libraries • Scroll in the window and double-click the PRDSALE data set. A shortcut to the data is added to the project and the data opens in the data grid.

www.kellytechno.com


Save the Project • Select File >> Save Project As. • The Save window opens and prompts you to choose whether to save the project on your computer or on a server. Select My Computer. • In the Save window, select a location for the project. In the File name box, type ‘your file name’. Project files are saved with the extension .egp. • Click Save.

www.kellytechno.com


Thank You Presented By

www.kellytechno.com


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.