What is advanced analytics?

By Pablo Martin, Artelnics.

Nowadays, the amount of data that is being created and stored in organizations is increasing significantly.

Due to this large amount of information, new business opportunities are continuously rising.

However, most organizations are stuck in lower-value descriptive analytics. But more sophisticated analysis can bring great business value.

Contents:

Objectives

Advanced analytics is the set of techniques used to discover relationships, recognize patterns, predict trends, and find associations in your data.

The objective is to use internal and external sources of information to obtain valuable insights that result in smarter decisions and better business outcomes.

These methods allow us to know what happened in our company, why did it happen, what will happen and how we can make something happen. The following figure illustrates the whole advanced analytics process.

As we can see, the advanced analytics process comprises 4 phases: descriptive, diagnostic, predictive, and prescriptive analytics. Each of these phases is more complex than the previous one but provides more value.

1. Descriptive analytics

Descriptive analytics is the first stage of advanced analytics. It answers the question: What happened?.

In this phase, we obtain insights regarding the general aspects of the company. The output is a set of tables and charts with historical information about operations, sales, customers, etc.

Some of the analyses carried out at this stage are:

Statistics

Statistics provide very valuable information. Indeed, they put the data set in context.

The most important statistical parameters are the minimum, the maximum, the mean, and the standard deviation.

The table below illustrates these parameters for the total amount of money spent by a customer in an online store.

Minimum Maximum Mean Standard deviation
Total amount (USD) 12 500 51 56

As we can see, each customer has spent an average of 51 USD, but some people have spent up to 500 USD.

Distributions

Distributions show how the data is arranged over its entire range.

Histograms show how continuous variables are distributed. A normal (gaussian) or uniform distribution is, in general, desirable.

For example, the following figure depicts a histogram for the age of our customers.

As we can see, most of our customers are between 30 and 40 years old.

Pie charts show the distribution of binary or nominal variables.

The following figure shows the pie chart for the customers that purchased a product from an online store during the last marketing campaign. This is a binary variable.

As we can see, only 1% of the people that see our ad buy the product.

2. Diagnostic analytics

Diagnostic analytics is the second phase of advanced analytics. It answers the question Why did it happen?.

Diagnostic analytics allows determining the factors that contributed to the outcome.

Here we concentrate on the following techniques:

Scatter charts

Scatter charts might help to discover dependencies between the output variables and the input variables.

This charts plot of output values versus input values.

The following scatter

Scatter chart

The chart above shows that as the value of Feature 1 increases, the value of Target decreases.

Correlations

Correlations are also a helpful technique to discover dependencies between input and output variables.

A correlation is a numerical value between 0 and 1 that expresses the strength of the relationship between two variables.

Correlations chart

The maximum correlation (-0.287) is a yield between the recency and the conversion. Such a high correlation indicates that we have to study this variable more thoroughly.

3. Predictive analytics

Predictive analytics is the third stage of advanced analytics. It answers the question: What will happen?

Predictive analytics allows identifying the likelihood of future outcomes based on historical data.

This is the most critical phase of the analysis; its output is a predictive model capable of knowing what will happen in the future.

It encompasses various machine learning techniques such as k-nearest neighbors, decision trees, neural networks, etc. We explain these techniques below.

K – Nearest neighbors

K-nearest neighbors is a very simple method used for classification and approximation.

It stores all available cases and classifies new cases based on a similarity measure.

k-nearest neighbors image

The chart above shows that many data points are classified into A (blue circles) and B (orange squares).

A new data point is introduced (green triangle). The k-nearest neighbors method decides, based on the similarity between them, if the point belongs to category A or category B.

Decision trees

Decision trees are also a simple method used for classification and approximation.

A decision tree is a mathematical model helping you to choose between several courses of action. It estimates probabilities to calculate likely outcomes.

Decision tree image

In the diagram above, we can see an example of a decision tree. Feature 1, Feature 2, and Feature 3 are three numerical features of the dataset; A, B and C, are the three categories in which the instances are classified; and a, b, c, and d are numerical values.

To classify an instance, we start on the top and follow the tree's branches with our sample values. First, we check the instance's value for Feature 1, if it is greater than a, it would be classified in category B, and we would be done. If it is equal or less than A, we have to check the value for Feature 2 and if it is greater or less than the value B. We follow this process until we reach a leaf category (A, B, or C).

Neural networks

Neural Networks are recognized as one of the most powerful machine learning methods.

They are used in classification and approximation tasks.

Neural networks are computational models based on the neural structure of the brain.

The outputs from the neural network depend on the inputs fed to it and the different parameters within the neural network.

Neural network image

The graph above shows a neural network with four inputs (feature 1, 2, 3, and 4). When we introduce the values of the four features in the neural network, we get an output.

4. Prescriptive analytics

Prescriptive analytics is the fourth and last step of advanced analytics. It answers the question How can we make it happen?.

It consists of applying the predictive model to determine the best solution or outcome among various choices.

In this phase, not only is predicted what will happen in the future using our predictive model but also is shown to the decision-maker the implications of each option.

For instance, we propose two different scenarios to see how the target varies as a function of a single input, depending on Feature 3.

The next table shows the reference variables for the first scenario.

Directional output table 1

The following plot shows the output Target as a function of the input Feature 3. The x and y axes are defined by the range of Feature 3 and Target, respectively.

Directional output plot 1

The chart above shows that when Feature 3 is 1010, Target reaches its maximum 484.93.

Conclusions

As seen in this post, simple analytics are not enough to get actionable insights and improve business operations.

Thanks to Advanced Analytics, you will not leave anything to chance. It includes a global vision from the past to the possible futures that can be given in your company.

The data science and machine learning platform Neural Designer contains many utilities to perform descriptive, diagnostic, predictive, and prescriptive analytics easily.

You can download Neural Designer now and try it for free.

Related posts: