Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Chapter 3: Getting Started with Tasks 3.1 Introduction to Task Dialogs 3.2 Creating a Listing Report 3.3 Creating a Frequency Report 3.4 Creating a Two-Way.

Similar presentations


Presentation on theme: "1 Chapter 3: Getting Started with Tasks 3.1 Introduction to Task Dialogs 3.2 Creating a Listing Report 3.3 Creating a Frequency Report 3.4 Creating a Two-Way."— Presentation transcript:

1 1 Chapter 3: Getting Started with Tasks 3.1 Introduction to Task Dialogs 3.2 Creating a Listing Report 3.3 Creating a Frequency Report 3.4 Creating a Two-Way Frequency Report 3.5 Using Variable Parameters in Tasks

2 2 Chapter 3: Getting Started with Tasks 3.1 Introduction to Task Dialogs 3.2 Creating a Listing Report 3.3 Creating a Frequency Report 3.4 Creating a Two-Way Frequency Report 3.5 Using Variable Parameters in Tasks

3 3 Objectives State the definition of a SAS Enterprise Guide task. Name one method of accessing tasks in SAS Enterprise Guide. State the function of the tabs in the task dialogs.

4 4 What Is a Task? A task is a specific type of analysis or report that you can perform against data in a project. A task is typically referenced by its description: Create Query Using Active Data Summary Statistics Transpose Cluster Analysis Mean and Range Chart

5 5 Associating a Task with Data Tasks are usually associated with a particular data source in the project. 1) Highlight the data source in the Project Explorer or Process Flow window. 2) Select a task.

6 6 Working with Tasks Each task dialog follows a similar format that includes a Selection pane listing the options available for that task. Help is displayed when the cursor hovers over any part of the task dialog.

7 7 Working with Tasks Use the Titles pane to add descriptive titles and footnotes to reports. Type a custom title or footnote. Select to add custom footnotes.

8 8 Task Wizards Selected tasks have an optional wizard that can be used to quickly set up the task results.

9 9 Working with Tasks Results can also be exported or e-mailed from the Project Explorer or Process Flow windows.

10 10 Working with Tasks To modify an existing task, open the task in the Project Explorer or Process Flow window.

11 11 Chapter 3: Getting Started with Tasks 3.1 Introduction to Task Dialogs 3.2 Creating a Listing Report 3.3 Creating a Frequency Report 3.4 Creating a Two-Way Frequency Report 3.5 Using Variable Parameters in Tasks

12 12 Objectives Access the List Data task. Order the report by a selected column. Identify the rows of the report by the values of a selected column. Generate a listing report.

13 13 List Data Task The List Data task displays rows of data in a table or those rows returned by a query. Sum columns. Display each row. Group rows.

14 14 List Data: Task Roles Print variables in the order listed. Columns to sum

15 15 List Data: Group Table by Role Variable(s) to group the rows by Sort the group variable in this order.

16 16 List Data: Identifying Label Role Suppress repetitive printing of the Group variable.

17 17 List Data: Options Run the task against all data or a portion. Format the report headings and columns. Set addition al report options.

18 18 Scenario LLB wants to post a list of suppliers with the following characteristics on its intranet: Suppliers from the same country should be grouped together. Country names should only appear once at the beginning of a country grouping. CompanyNameLong should be labeled in the report as Company Name. The title Suppliers by Country should be centered at the top of the report.

19 19 Scenario Resulting Report (Partial Output)

20 20 This demonstration illustrates how to use the List Data task to create a listing report. Creating a Listing Report

21 21 Chapter 3: Getting Started with Tasks 3.1 Introduction to Task Dialogs 3.2 Creating a Listing Report 3.3 Creating a Frequency Report 3.4 Creating a Two-Way Frequency Report 3.5 Using Variable Parameters in Tasks

22 22 Objectives Access the One-Way Frequencies task. Generate a one-way frequency table. Save the results to a location outside the project environment.

23 23 One-Way Frequencies

24 24 One-Way Frequencies: Task Roles Create a one-way frequency table for each specified variable.

25 25 One-Way Frequencies: Frequency Count The value of this variable represents the number of times the row should be counted.

26 26 Specify the following: the statistics to generate how missing values are handled Specify the following: the statistics to generate how missing values are handled One-Way Frequencies: Statistics

27 27 Create two- dimensional charts of frequencies. One-Way Frequencies: Plots

28 28 One-Way Frequencies: Results Specify how values should be ordered.

29 29 Partial Output

30 30 Scenario LLB wants to post on its intranet a frequency table that does the following: displays the count of products in each food category shows the percent of products in each food category displays a title of Frequency Distribution for Product Categories

31 31 This demonstration illustrates how to create a one-way frequency table specify the statistics to include in the table save the results. Generating a One-Way Frequency Report

32 32 Chapter 3: Getting Started with Tasks 3.1 Introduction to Task Dialogs 3.2 Creating a Listing Report 3.3 Creating a Frequency Report 3.4 Creating a Two-Way Frequency Report 3.5 Using Variable Parameters in Tasks

33 33 Objectives Use the Table Analysis task to generate a two-way frequency table.

34 34 Table Analysis: Two-Way Frequency Table

35 35 Table Analysis: Task Roles Choose columns to be included in the table.

36 36 Table Analysis: Tables Drag and drop variables into row and column positions for the table.

37 37 Table Analysis: Statistics Select statistics to include in the output.

38 38 Table Analysis: Results

39 39 Scenario Create a two-way table to determine how many of the products sold by LLB are currently available versus those discontinued within each food category. 1 = Discontinued 0 = Not discontinued

40 40 This demonstration illustrates how to generate a two-way frequency table. Creating a Two-Way Frequency Report

41 41 Chapter 3: Getting Started with Tasks 3.1 Introduction to Task Dialogs 3.2 Creating a Listing Report 3.3 Creating a Frequency Report 3.4 Creating a Two-Way Frequency Report 3.5 Using Variable Parameters in Tasks

42 42 Objectives Discuss the Parameters (Macro Variables) Manager. Use the Parameters Manager to create the parameter. Use the parameter in a task.

43 43 Parameters (Macro Variables) Manager Parameters can be used in tasks to enable the user to modify which variable(s) should be used in the results when the task executes.

44 44 Using Variable Parameters in Tasks Using variable parameters in tasks requires two steps: 1.Use the Parameters Manager to create the parameter. 2.Use the parameter in a task.

45 45 1) Creating the Variable Parameter 1) Select Tools  Parameters (Macro Variable) Manager…. 2) Select Add….

46 46 1) Creating the Variable Parameter 1) The display name will be what the user sees when the task is executed. 2) The SAS code name will be used to reference the parameter behind the scenes. 3) The data type defines how the parameter can be used in the future.

47 47 1) Creating the Variable Parameter 1) The variable parameter prompt can enable the user to type in a value or choose from a list of values. 2) Variable names can be loaded into the Value list from existing data sources.

48 48 2) Using the Parameter in a Task Variable parameters will appear as a variable that can be assigned to task roles. Parameters can also be referenced in titles and footnotes.

49 49 Task Results

50 50 Create a parameter that allows the user to select the Analysis variable in a One-Way Frequency analysis as the task is run. Using Variable Parameters in Tasks

51 51 Complete the Chapter 3 exercises starting on page 3-49. Detailed solutions are provided starting on page 3-53. *If you have experience writing SAS code, optional Exercise 5 shows you how to edit task code. Exercises


Download ppt "1 Chapter 3: Getting Started with Tasks 3.1 Introduction to Task Dialogs 3.2 Creating a Listing Report 3.3 Creating a Frequency Report 3.4 Creating a Two-Way."

Similar presentations


Ads by Google