Start tracking your progress
Trailhead Home
Trailhead Home

Use Stories to Get the Big Picture

Learning Objectives

After completing this unit, you’ll be able to:
  • Open a story.
  • Describe the order in which insights are presented in a story.
  • Name the types of insights that a story gives you.

Introduction

In this module, we do a deep dive into a story to learn about different types of insights and how to interpret them. Imagine that you’re the VP of operations for a major automotive supplier, where you’ve developed a reputation for ace detective work. The executive team was so impressed when you solved the case of the shrinking margins in the Einstein Discovery Basics module. They’re back, asking you for more help. Now they want more information about the customer lifetime value of accounts.

What is Customer Lifetime Value?

Customer lifetime value (CLV) is a metric that predicts the profitability over the entire lifetime of the company’s relationship with a customer. Looking at CLV can help you find the group of customers who are potentially the most profitable. That way, more marketing resources can be allocated to them.

What is a Story?

You use Einstein Discovery stories to analyze data in Einstein Analytics datasets. Einstein Discovery performs a comprehensive statistical analysis of the data using AI and machine learning.

A story:

  • helps you uncover relationships between a business-relevant outcome (sometimes referred to as the outcome variable) and the explanatory variables that are potential influencers of that outcome
  • has a goal of minimizing or maximizing the outcome (for example, maximizing margin or minimizing expenses)
  • specifies the dataset fields to include in the analysis, along with other preferences
  • is filled with insights about your data, accompanied by visualizations and narratives to help you better understand the insights that Einstein has uncovered
The outcome variable is typically a key performance indicator (KPI) for your business. Einstein Discovery analyzes two types of outcomes:
  • numeric values that represent quantifiable measures, such as revenue, discount, cost measure, or duration
  • text fields with two values (binary outcomes), such as win or loss, churn or retain, or approved or rejected

In our case, CLV represents a numeric outcome. Let's create a story to work with.

Try Einstein Discovery with a Developer Edition Org

Before you work through this Trailhead module, sign up for a free Analytics-enabled Developer Edition org. This org is a safe environment where you can practice the skills you’re learning.

Note

Note

For this trail, you can’t use an existing Developer Edition org. Instead, sign up for this special Analytics-enabled Developer Edition org because,


  • It comes provisioned with the Analytics Plus license required for Einstein Discovery.
  • It has Einstein Discovery enabled.
  • It has the Einstein Analytics Plus permission set required to use Einstein Discovery features.

Even if you already have an Analytics-enabled Developer Edition org, sign up for a new one now. The older Analytics-enabled Developer Edition orgs don’t get recently released features. Signing up for a new one ensures that you get the latest and greatest.


Signed up? Great! Let's jump right in!

Download the Data

Before we can create the story used in this module, we need the data to analyze. Download the CSV file called AcquiredAccount.csv and save it to your computer.

The CSV file has 11 columns. It contains one row of information for each of the 10,000 different companies that our auto parts manufacturing company does business with. Here is what the first few rows of the CSV file look like: First rows of the CSV file

Create and Populate an Einstein Analytics Dataset

The next step is to get the data from the CSV file into an Einstein Analytics dataset.

  1. In your new DE Org, switch to Lightning Experience (if you have not already done so).
  2. From the App Launcher ( App Launcher icon), find and select Analytics Studio.
  3. Click Create | Dataset.
  4. Choose CSV File as the source for your new data.
  5. In the file-selection window that opens, find, then select the AcquiredAccount.csv file you downloaded, and then click Next.
  6. Accept the defaults and click Next.
  7. Accept the defaults and click Upload File. Einstein Analytics creates a dataset and imports the data from the CSV file.

Create the Story

Now, you’re ready to create a story from this dataset. Begin by telling Einstein Discovery which outcome variable to maximize. In this module, we focus on maximizing the CLV variable.

  1. While in the dataset settings screen, click Create Story. Analytics Studio launches the Story Setup wizard.
  2. In the first screen, for the field, select CLV as the outcome that you want to Einstein to analyze.
  3. Accept all other defaults and click Story Type.
  4. In the Story Type screen, click Insights & Predictions, then click Setup Options.
  5. In the Setup Options screen, select Manual and click Data Options. Data optionsIn the Correlation column, Einstein shows you the percentage by which each field is statistically correlated to the outcome. The Division field has the highest correlation. However, Account Id has the second highest correlation. Let’s stop and think for a moment. Does an arbitrarily assigned account ID have any influence on CLV? Probably not. We know that because we know our business. In this case, statistical significance does not translate to real-world significance. Therefore, let's remove this field from our analysis to speed up the analysis and get clearer results.
  6. Clear the check box next to Account Id.
  7. Click Create Story.

When it’s done preparing the story, Einstein Discovery shows it to you.

CLV by Division insight

Insights in Our Story

The story presents the insights that Einstein Discovery uncovered for you. The first insights you see are What Happened insights, which are descriptive insights that tell you more about what happened according to the data in the dataset.

Order of Insights in the Story

In the list of insights, the first insights that you see are the ones that explain, statistically, the most variation in the outcome variable. The insights that appear later, as you scroll through the story, explain variables that, statistically, account for less of the variation in the outcome variable. At the beginning of an analysis, we don't know cause and effect. The insights show us statistically significant patterns that give us clues about where to dig in for more detail. You are free to explore the insights in any order you want.

Other Types of Insights

But the story contains other types of insights, too:
  • Why It Happened
  • Predictions & Improvements
  • What is the Difference (in the Predictions & Improvements dropdown)

All of these types of insights are covered in this module and in the “Einstein Discovery Story Insights” module.

Dive Into Our Story Insights

Now you have an overview of stories and insights. Let's dive in to see how to get the most out of each type of insight in your story. The next unit explores What Happened insights.

Rights of ALBERT EINSTEIN are used with permission of The Hebrew University of Jerusalem. Represented exclusively by Greenlight.