Introductionto SASEnterprise Guide
Introductionto SASEnterprise Guide
Introduction to SAS
Enterprise Guide for the
University of Otago
Melissa Cassar
Academic Program Manager
SAS Australia and New Zealand
Close / Questions
Copyright © 2003, SAS Institute Inc. All rights reserved.
Academic Initiative
Student Prospects
• Home Use Copies
• Learning Edition / E-Learning
• Internship / Work Placement or Training Opportunities
• Scholarship
Project
Window
Task
Dialog
Work
Area
SAS
on Windows
SAS
Co d e on OS/390
lts
Resu
SAS
SAS Enterprise on UNIX
Guide
Copyright © 2003, SAS Institute Inc. All rights reserved. ...
...
Working with Data in a
project
.sas7bdat,
.xls, .wk?
.sd2, .sd7
Format: DOLLAR10.
Format: MMDDYY8.
Stored value: 76806
Stored value: 15061
Name Required
Width
delimiter
MMDDYY10. Format
01/ 01/ 01/ 05/
01 01 01 25 /19
/19 /19 /19
5 9 6 0 6 1 9 8
Examples:
Table Value Format Name Displayed Value
14024 MMDDYY10. 05/25/1998
14024 DATE9. 25MAY1998
14024 WEEKDATE25. Monday, May 25, 1998
14024 FRADFDE9. 25mai1998
Copyright © 2003, SAS Institute Inc. All rights reserved.
SAS Data Tables
If a data value is not present for a column in a
particular row, it is considered missing.
• A character missing value is displayed as a blank.
• A numeric missing value is displayed as a period/dot.
. .
.
OS/390 sas
Mainframe
sas
UNIX
sas sas
Windows
Local User Server
Copyright © 2003, SAS Institute Inc. All rights reserved.
Accessing Remote Data
The Server List window provides an organized view of all of
your files and data sources.
Server
List
Libraries organize
similar data sources
within a server.
OLE DB
provider’s files Microsoft
Access tables
Software file
contains no
metadata.
Create Query
Summary Using Active Data
Statistics
Transpose
Mean and Range
Cluster Analysis Chart
Highlight the
data source
in the Project
window and
double-click
on the task.
Variables
available
in this task
Special
Roles valid options
for this sometimes
task available
Some tasks
allow you
to specify
the statistics
to include
in the output.
Sum
columns.
Options
List of
columns
available
Drop the
column
in here.
Drag a
column
from
here.
Use the
Expression
Builder
to create
your own
condition.
Copyright © 2003, SAS Institute Inc. All rights reserved.
Expression Builder
Modify
the
existing
expression
or type
your own.
Select
the type
of function.
Select
a specific
function.
Select values
Select a to include
column in the
to view expression.
distinct
values.
Copyright © 2003, SAS Institute Inc. All rights reserved.
Intermediate Results
…remove
duplicate
rows.
Copyright © 2003, SAS Institute Inc. All rights reserved.
Selecting Columns
Modify a
Right-click on the table name column’s
to alphabetize the column list. attributes.
Uncheck a
column to Reorder
exclude it. columns.
Create
new
columns.
Alias (name)
of the new column
Column’s role
in the query
Text area to
build an
expression
Insert
functions and
data values.
Copyright © 2003, SAS Institute Inc. All rights reserved.
Query Builder: Select and Sort Tab
Computed columns appear in the left pane and can be used
in a filter on both the Filter Data tab and the Group Filters
tab or as an input to another computed column.
Matching
rows only
From From
USCustomerDatabaseLong ItemsOrdered
Specify variables
Select additional whose values
variables to include define subgroups.
in the output table.
Specify
the number
of decimal
places
to display
in reports.
Calculate confidence
limits and t-statistics.
Create a
summary report.
Output selected
subgroup
crossings.
Variables
whose values
make up the Generate a
rowcolumn separate summary
combinations table for each
distinct value.
Drop the
variable into
the row or
column
area.
Drag
statistics
from the
list.
Drop
statistics on
or next to
the default
statistic.
Drag
the variable Drop the
from the variable next
list. to the current
column.
Drop the
Drag variable
the ALL above or
variable below the
from the current
list. row.
Java Applet
ActiveX Control
Don
Sc ut
Copyright © 2003, SAS Institute Inc. All rights reserved.
Bar Chart: Chart Gallery Tab
The Bar Chart task creates vertical, horizontal, or
3D block charts that compare numeric values or statistics
between different values of a chart variable.
Select
the type
of chart.
Determines
the lengths Determines
of the bars. the number
of segments
in each bar.
Customize
the appearance
of the chart.
Select a statistic
whose value Select
determines the additional
length of each bar. statistics and
display options.
All graphs
produced
in the future
will have a
new default
output format.
…right-click on the
task in the Project
window and select
Properties.
Copyright © 2003, SAS Institute Inc. All rights reserved.
...
...
New Default Output Format
GIF File
Select
the task.
Change
Run the or delete
process upon a task.
completion.
To learn more..
SAS Education
• 2 Day course in Querying and Reporting using Enterprise Guide
3rd -4th June in the Wellington Office - Receive 60% Academic
Discount