Algorithmic Forecasting
Algorithmic Forecasting
Conclusion 13
Algorithmic forecasting uses real-time data feeds, commercial forecasting teams have been slower to
automated algorithms including machine learning, and join the ‘algorithm revolution’, the growing pressure
an updated forecast workflow to predict commercial to analyze more data faster as well as the potential
performance. Its premise is simple: automate forecast for greater accuracy is pushing forecast teams to look
updates as new data becomes available, and reduce for better and more streamlined approaches to use
human manual labor in the forecast process. This brings automation and machine learning.
speed, accuracy, and deeper insights to commercial
This whitepaper offers forecasting teams a framework
forecasts and frees up forecasters to spend their time
and roadmap for adopting algorithmic forecasting.
on strategic tasks like identifying exactly what questions
Whether they have already begun their digital transition,
need to be answered, interpreting outcomes, and
or are still using spreadsheets to manage data, this
informing product strategy.
paper provides practical steps and best practices for
This type of automation and analytics is already deploying the technology, generating early wins, and
being used across the life sciences industry to speed convincing stakeholders of the strategic benefits of
insights and support informed decision-making. While embracing this real-time forecasting approach.
iqvia.com | 3
Forecasters are struggling Global and local teams often struggle to strike a balance
with regards to how tailored should the forecast
with manual forecast tools structure be to each market, who owns the forecast, and
and processes to what extent expert opinions should be allowed to shift
the forecast. Global and local teams typically maintain
In the traditional forecast process, data is manually
multiple versions with no single source of numbers to
gathered by forecasters and entered into a forecast
drive decision making.
environment, most often an Excel spreadsheet. During
this process, forecasters may find themselves spending CONSISTENCY
days, weeks or months researching, exchanging messages
with other team members, and tweaking numbers to see “There’s not a lot of consistency in the way
the impact on results. Those numbers then pass through the team does forecasting – we have some
a sequence of review by other groups within the company home-grown models, some from vendors…
– management teams, supply chain, and potentially others We don’t really have an end-to-end
– each of which may request additional iterations based
forecasting process.”
on their view of what they expect.
Small and medium sized companies often struggle
There are a number of types of issues that forecasters
with setting up an infrastructure that enables them to
have expressed with this traditional process:
maintain consistency across products in their portfolio.
Especially when there’s a lot of business development
ANALYSIS TIME
and early stage forecasting, leadership may find that the
“It takes weeks to get results when I ask comparisons are not “apples to apples”.
Whenever new data is added, or updated, the system for a complex submission process. In this environment,
automatically re-calculates the forecast. With robust the forecast remains ‘evergreen’ – universally and
version-control built in, forecasters can track and continually relevant, rather than updated only once each
compare forecast results, and also face a reduced need month or quarter.
iqvia.com | 5
What’s in it for forecasters? are interested in algorithmic forecasting, according to a
recent survey conducted by IQVIA.
With these manual steps becoming more automated,
And because the algorithm has no stake in the output,
the forecaster is elevated to a more strategic role.
it reduces or removes human bias, which was also
Because the forecast inputs are automatically updated,
ranked among the top three reasons why forecasters are
forecasters can instead focus on exploring trends in
interested in incorporating algorithmic approaches in
the data, conducting what-if or uncertainty analysis,
their forecasts. This real-time capability transforms the
identifying key drivers or indicators and developing
forecast from a quarterly static snapshot to a constantly
strategic insights.
evolving review of trends as they are occurring.
These benefits ultimately lead to more accurate
forecasts, which is the leading reason why forecasters
0 10 20 30 40 50 60 70 80
iqvia.com | 7
The forecasting tool also has to be able to account for smoothing tasks. These are commonly considered ‘pre-
local regulations, emerging healthcare events, and other processing’ steps that are performed before passing
issues that are unique to this industry. data to a forecasting platform. Examples of algorithms
that might be applied include isolation forests,
Practical algorithmic forecasting solutions today are built
minimum covariance determinate, local outlier factor
around three core components:
methods (outliers) and Friedman super smoothing.
2. Automated algorithms using self-service analytics hospital data across a zip code, city, state or country,
that have been trained using vast global healthcare is required. Pivot table type functionality here can
databases to identify trends of relevance and provide help to aggregate the data to a format that provides a
insights that drive decision-making. Critical to these consistent segmentation along with time series data
algorithms is the ability for forecasters to make edits at the right level.
3. Real-time forecast workflows that allow teams to be available in a form that allows users to quickly see
conduct frequent updates, ask follow-up questions, and perform custom queries with it. These tools are
and model many detailed scenarios to enhance typically workbenches that enable data science teams
understanding of key trends and monitor changes to use open source components like Python and R to
Robust method
to retrieve data
Ingestion
Extract,
transform, Wrangling Forecast Engine
load data Integrate Integrates multiple
metrics into a
coherent forecast
Computation
Feature detection,
machine learning
A key part of that technology is to think about the way There are a whole host of different algorithms that can
that open-source tools like Python and R – as well as the be used to process forecast data depending on the type
ecosystem of data handling tools around them – can be and detail of the data, objective, and capabilities of the
integrated into the forecast process. IQVIA’s approach algorithm. We list a few categories of algorithms below,
has been to build a platform that allows users to use but there are also many different publicly available
their own insights and analytics tools, but to allow algorithms that can be tuned to your data set.
the ‘hooks’ to a forecast engine that brings all those
computations together into one user interface.
IQVIA’s approach has been to build a platform that allows users to use
their own insights and analytics tools, but to allow the ‘hooks’ to
a forecast engine that brings all those computations together into one
user interface.
iqvia.com | 9
THREE TYPES OF ALGORITHMS TO CONSIDER
Time Series Predictions Clustering and Partitioning Forecast Quality and Tracking
Machine Learning is creating more Important for identification of Methods to detect when the
accurate methods for trending analogues and other ‘similarities algorithm is failing and a person should
historical data within groups’ intervene to see what’s happening
Example: Prophet, XGBoost Example: K Means, KNN Example: Trigg’s Tracking Signal
There are three types of algorithms that can deliver early wins for life sciences forecasts:
Time Series Prediction Clustering and Partitioning Forecast Quality and Tracking
algorithms. In these cases, algorithms. These are suitable algorithms. Once an automated
historical data is used to predict for patient identification, market algorithm has been established, it
future performance. Algorithms segmentation and analogue is critical to ensure that the outputs
like ARIMA and Holt-Winters are selection. In the case of patient are checked each time new data
rapidly being replaced by more identification, these algorithms can is received. These quality checks
sophisticated methods that use be used to identify undiagnosed allow forecasters to know if their
machine learning as well as more patients based on similar patient forecast algorithm is still producing
categoric variables to provide diagnoses or patient journeys. a good result or needs manual
better future predictions. They can also be used for analogue intervention.
selection, allowing similar products
to be found in the huge universe of
available marketed products based
on a set of features.
Sources:
https://towardsdatascience.com/time-series-forecasting-predicting-stock-prices-using-facebooks-prophet-model-9ee1657132b5
https://aws.amazon.com/blogs/machine-learning/k-means-clustering-with-amazon-sagemaker/
https://pdfs.semanticscholar.org/c4e6/6029e5173d25a28be7fc9b811d96c675b9e3.pdf
Our focus so far has been on the infrastructure and users commit to changing their workflows and processes
technology needed to enable algorithmic forecasting. to make it part of how they operate. That’s a change
However, even the best technology can’t work unless management issue, not a tech issue.
All of this technology already exists today, but the key The results of this type of process speak for themselves
is to make the business process changes required to – eliminating differences between the ‘official’ and
make this collaborative environment a reality. That the ‘latest’ versions of the forecast, enabling all team
means doing away with cumbersome submission members to access one source of truth which is always
technologies, versioning systems, review processes and kept up to date with the latest numbers, and removing
other paradigms designed for the age of Excel. Instead, sources of bias introduced by different groups during the
a forecaster becomes the conductor of a team of people hand-off process.
all providing forecast data and analytics in real-time,
‘orchestrating’ the entire process from end-to-end.
iqvia.com | 11
Where do I begin? approach where parts of the forecast funnel are
transferred to algorithmic-type approaches, while
The algorithm journey others are still manually forecast. This approach focuses
algorithmic forecasting on areas where it delivers the
Algorithmic forecasting will not be a simple process for
most value.
most companies. IQVIA recommends an incremental
Algorithmic approaches are favored for inputs where: Common examples include market share, total
volume, diagnosed or treated patients.
• Detailed real-world data is available and regularly
updated Prioritization of those metrics with greatest impact
can be informed with a tornado-style analysis that
• Data is changing significantly from month-
looks at potential ranges for those variables and the
to-month
effect on net revenue.
• A small change in that input would cause a
significant change to forecast outputs, such as
net revenue or total volume
IQVIA’s Pipeline Architect1 platform, designed for early With this framework, forecasters can begin discussions
stage products, uses algorithmic forecasting to pull to put together their data infrastructure, determine what
information on hundreds of trials from IQVIA’s global algorithms suit their objectives, and begin discussing the
databases and combine that with public data to predict potential benefits of a real-time forecasting process. And
an asset’s development costs and timelines, as well as to even if they are not ready to jump in fully, there are ways
inform high-level development timing and commercial to benefit from algorithmic forecasting, like automating
expectations. These insights lead to better forecast a smaller number of inputs or requiring manual
development and more accurate timeline predictions. approval, which can be put in place today.
1 https://www.iqvia.com/solutions/research-and-development/consulting/pipeline-architect
2 https://www.iqvia.com/solutions/commercialization/brand-strategy-and-management/forecast-horizon
iqvia.com | 13
About the authors
RICK JOHNSTON, PhD ALEXANDRA TATARU, MS, MBA
Senior Principal, Product Lead,
Consulting Services, IQVIA Consulting Services, IQVIA