34
BAS 150 Lesson 2: SAS Studio – Visual Programmer

BAS 150 Lesson 2 Lecture

Embed Size (px)

Citation preview

Page 1: BAS 150 Lesson 2 Lecture

BAS 150Lesson 2: SAS Studio – Visual Programmer

Page 2: BAS 150 Lesson 2 Lecture

• Explain Analytical Programming

• Connect to SAS Studio

• Create a Logical Data Flow Map

Last Week’s Learning Objectives

Page 3: BAS 150 Lesson 2 Lecture

• Effectively Work in SAS Studio – Visual Programmer

• Import data using SAS Studio – VP

• Create two different charts in SAS Studio - VP

This Week’s Learning Objectives

Page 4: BAS 150 Lesson 2 Lecture

Effectively Work in SAS StudioVisual Programmer

Page 5: BAS 150 Lesson 2 Lecture

SAS Programmer

Page 6: BAS 150 Lesson 2 Lecture

Visual Programmer

Page 7: BAS 150 Lesson 2 Lecture

SAS VP allows the analyst to collect, explore and present large amounts of data to discover underlying patterns, trends and insights using statistical software WITHOUT coding.

Turns logical data flow maps into actionable insights

Helps you to learn SAS faster

Lets you visually see your analytic process

What is SAS Visual Programmer? (1 of 4)

Page 8: BAS 150 Lesson 2 Lecture

Remember from last week…

What does it take to become a good SAS programmer?

o Thinks logically

o Organized

o Attention to detail

o Looks for ways to be more efficient

o Can interpret and explain results clearly

o Focused on results

What is SAS Visual Programmer? (2 of 4)

Page 9: BAS 150 Lesson 2 Lecture

Also, remember from last week…

Draw the process of Making Toast?

o Thinks logically

o Organized

o Attention to detail

o Looks for ways to be more efficient

o Can interpret and explain results clearly

o Focused on results

What is SAS Visual Programmer? (3 of 4)

Page 10: BAS 150 Lesson 2 Lecture

What is SAS Visual Programmer? (4 of 4)

Page 11: BAS 150 Lesson 2 Lecture

SAS Visual Programmer

Critical tool in your analytical toolbox…

“Logical Data Flow Map”

o The end-to-end flow of data

oRaw data Actionable insights

o Begin with the end in mind?

Page 12: BAS 150 Lesson 2 Lecture

Business Problem You work as a Business Analyst at the headquarters

of a chain or retail stores selling a wide range of

products. The CEO lives by one of the stores and

wants to know what are the highest profit items in

the store AND what are the highest selling items.

You have 5 hours to get this information to him.

Page 13: BAS 150 Lesson 2 Lecture

Requested Information

Clean Normalize

Subset Analyze

Products Sold

Product Profit

3Show

2Code

1Data

Logical Data Flow Map (1 of 2)

Page 14: BAS 150 Lesson 2 Lecture

Logical Data Flow Map (2 of 2)

Begin with where the data can be found

oQuestions to ask…

“Where is the data stored?”

“What type of data is this?”

“What format is the data saved?”

1Data

Page 15: BAS 150 Lesson 2 Lecture

2. Double-clicking this box opens up an input screen.

1. Click on “+” drops down a menu. Choose Import Data. Choose “Retail Store.xlsx”

Importing Data (1 of 5)

Page 16: BAS 150 Lesson 2 Lecture

1. Where is the data (“Retail Store”) stored?

2. What type of data is “Retail Store”?

3. What format is the data (“Retail Store”) saved?

Importing Data (2 of 5)

Page 17: BAS 150 Lesson 2 Lecture

Importing Data (3 of 5)

Page 18: BAS 150 Lesson 2 Lecture

Importing Data (4 of 5)

Page 19: BAS 150 Lesson 2 Lecture

Importing Data (5 of 5)

Page 20: BAS 150 Lesson 2 Lecture

Data management & analysis

oQuestions to ask…

“Do I need to clean the data?”

“How do I merge the data?”

“What types of analytics do I need to uncover insights?”

“How do I subset the data to report the insights?”

2CodeLogical Data Flow Map

Page 21: BAS 150 Lesson 2 Lecture

1. Do I need to clean the data?

2. How do I subset the data?

3. What type of analytics do I need?

Data Management & Analysis (1 of 5)

Page 22: BAS 150 Lesson 2 Lecture

NOTE: If the nodes are not connected by a dotted line, just drag a line from the Import Data node to the Sort Data node

First, we want to Sort the data by highest to lowest selling items.

Drag “Sort Data” task to Process Flow Window

CEO wants to know what are the highest profit items in the store AND what are the highest selling items.

Data Management & Analysis (2 of 5)

Page 23: BAS 150 Lesson 2 Lecture

Data Management & Analysis (3 of 5)

Page 24: BAS 150 Lesson 2 Lecture

CEO wants to know what are the highest profit items in the store AND what are the highest selling items.

Next, we want to filter only the “Highest” profit items. To do this, we only want to see those products with greater than $500 of weekly profit

Data Management & Analysis (4 of 5)

Page 25: BAS 150 Lesson 2 Lecture

Data Management & Analysis (5 of 5)

Page 26: BAS 150 Lesson 2 Lecture

End with an actionable insight to share

oQuestions to ask…

“Who is my audience?”

“What type of reports do they want to see?”

“How do I format output to easily “see” the insights?”

“Is the insight actionable?”

3ShowLogical Data Flow Map

Page 27: BAS 150 Lesson 2 Lecture

End with an actionable insight to share

o “Who is my audience?” CEO

o “What type of reports do they want to see?”

High-Level Report. Used to Graphs and Charts

o “How do I format output to easily “see” the insights?” One or two easy to read charts

3ShowInsights to Share (1 of 6)

Page 28: BAS 150 Lesson 2 Lecture

Insights to Share (2 of 6)

Page 29: BAS 150 Lesson 2 Lecture

Insights (3 of 6) – Bar Chart

Page 30: BAS 150 Lesson 2 Lecture

Insights (4 of 6) – Bar Chart

Page 31: BAS 150 Lesson 2 Lecture

Insights (5 of 6) – Scatter Plot

Page 32: BAS 150 Lesson 2 Lecture

Insights (6 of 6) – Bar Chart

Page 33: BAS 150 Lesson 2 Lecture

Learning objectives…

“Effectively Work in VP” - Lecture, Homework

“Import data using VP” - Lecture, Homework

“Create two different charts in VP” - Lecture, Homework

Summary

Page 34: BAS 150 Lesson 2 Lecture

“This workforce solution was funded by a grant awarded by the U.S. Department of Labor’s

Employment and Training Administration. The solution was created by the grantee and does not

necessarily reflect the official position of the U.S. Department of Labor. The Department of Labor

makes no guarantees, warranties, or assurances of any kind, express or implied, with respect to such

information, including any information on linked sites and including, but not limited to, accuracy of the

information or its completeness, timeliness, usefulness, adequacy, continued availability, or

ownership.”

Except where otherwise stated, this work by Wake Technical Community College Building Capacity in

Business Analytics, a Department of Labor, TAACCCT funded project, is licensed under the Creative

Commons Attribution 4.0 International License. To view a copy of this license, visit

http://creativecommons.org/licenses/by/4.0/

Copyright Information