SYSTEM AND METHOD FOR COMBINING WHAT-IF AND GOAL SEEKING ANALYSES FOR PRESCRIPTIVE TIME SERIES FORECASTING

Information

  • Patent Application
  • 20180158079
  • Publication Number
    20180158079
  • Date Filed
    December 05, 2017
    7 years ago
  • Date Published
    June 07, 2018
    6 years ago
Abstract
A computer-implemented method for prescriptive time-series forecasting, which combines both what-if analysis and goal-seeking analysis. The method comprises building a model for a target metric with a set of predictors, based on historical time-series data, and computing, using the model, a set of forecast values. Using the set of forecast values with respect to a forecasting period, both a set of goals for the target metric and a set of constraints for the predictors are analyzed. A set of updated forecasts based on the analyses with respect to the forecasting period is determined to meet the goals within the set of constraints. The updated set of forecasts is presented with respect to the forecasting period, e.g., using a table, a visualization, and/or an interactive user interface.
Description
STATEMENT REGARDING PRIOR DISCLOSURES BY THE INVENTOR OR A JOINT INVENTOR

The following disclosures(s) are submitted under 35 U.S.C. 102(b)(1)(A): DISCLOSURE(S): “What-If and Goal Seeking for Forecasting Models,” J. Chu, presented at the Joint Statistical Meeting in Chicago, Ill. on Aug. 1, 2016, 14 pages.


BACKGROUND
1. Technical Field

Present invention embodiments relate to computer systems and methods for time series forecasting, and more specifically, to prescriptive time series forecasting combining what-if and goal seeking analyses.


2. Discussion of the Related Art

Many business and commerce metrics are recorded and stored as a time series, which is a sequence of observations taken at equally spaced points in time. Sales, expenses, earnings, customer satisfaction ratings, and other business metrics may be observed over time, and the values of the metrics may be recorded with an associated date or time. For example, total sales may be recorded for each month, and earnings may be reported each quarter.


Historical time series data for a business metric, such as sales, may be used by businesses to forecast future values of the metric. Users may take such forecasts into account when making business decisions. For example, if sales are forecast to drop in the next few months, then the business can budget appropriately, which is a proactive business decision to deal with an anticipated sales decline. However, because such forecasts are based on historical values of the metric that have already occurred and cannot be changed, they are of limited value to businesses that may be interested in changing the forecast.


SUMMARY

According to one embodiment of the present invention, a method of prescriptive time-series forecasting comprises building, based on historical time-series data, a model for a target metric with a set of predictors; computing, using the model, a set of forecast values; analyzing, using the set of forecast values with respect to a forecasting period, both a set of goals for the target metric and a set of constraints for the set of predictors; updating, to meet the set of goals for the target metric within the set of constraints for the set of predictors, the set of forecast values dynamically with respect to the forecasting period; and presenting, with respect to the forecasting period, the updated set of forecast values. In an embodiment, building the model is based on at least one selected from a group comprising a system-selected set of predictors and a user-input set of predictors, wherein the set of constraints includes at least one selected from a group comprising a set of user-expected values and a threshold range of change. In an embodiment, the updated set of forecast values minimizes a change from at least one selected from a group comprising the set of forecast values of both of the target and the predictors. In an embodiment, the presenting includes displaying to a user at least one selected from a group comprising a table, a visualization, and an interactive user interface. In an embodiment, the method further comprises receiving from a user via a user interface, prior to analyzing, at least one selected from a group comprising the set of goals for the target metric and the set of constraints for the set of predictors. In an embodiment, the method further comprises gathering, prior to building the model, historical time-series data from one or more online sources. In an embodiment, the method further comprises initiating, based on the updated set of forecast values, a computer process to achieve at least one of the goals for the target metric by influencing a value of at least one of the predictors.


According to another embodiment of the present invention, a system for prescriptive time-series forecasting comprises at least one processor configured to: build, based on historical time-series data, a model for a target metric with a set of predictors; compute, using the model, a set of forecast values; analyze, using the set of forecast values with respect to a forecasting period, both a set of goals for the target metric and a set of constraints for the set of predictors; update, to meet the set of goals for the target metric within the set of constraints for the set of predictors, the set of forecast values dynamically with respect to the forecasting period; and present, with respect to the forecasting period, the updated set of forecast values. In an embodiment, the at least one processor is configured to build the model based on at least one selected from a group comprising a system-selected set of predictors and a user-input set of predictors. In an embodiment, the set of constraints includes at least one selected from a group comprising a set of user-expected values and a threshold range of change. In an embodiment, the updated set of forecast values minimizes a change from at least one selected from a group comprising the set of forecast values of both of the target and the predictors. In an embodiment, the at least one processor is configured to present by displaying to a user at least one selected from a group comprising a table, a visualization, and an interactive user interface. In an embodiment, the at least one processor is further configured to receive from a user via a user interface, prior to analyzing, at least one selected from a group comprising the set of goals for the target metric and the set of constraints for the set of predictors.


According to yet another embodiment of the present invention, a computer program product for prescriptive time-series forecasting is provided, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer processor to cause the computer processor to build, based on historical time-series data, a model for a target metric with a set of predictors; compute, using the model, a set of forecast values; analyze, using the set of forecast values with respect to a forecasting period, both a set of goals for the target metric and a set of constraints for the set of predictors; update, to meet the set of goals for the target metric within the set of constraints for the set of predictors, the set of forecast values dynamically with respect to the forecasting period; and present, with respect to the forecasting period, the updated set of forecast values. In an embodiment, the program instructions include instructions executable by a computer processor to cause the computer processor to build the model based on at least one selected from a group comprising a system-selected set of predictors and a user-input set of predictors. In an embodiment, the set of constraints includes at least one selected from a group comprising a set of user-expected values and a threshold range of change. In an embodiment, the updated set of forecast values minimizes a change from at least one selected from a group comprising the set of forecast values of both of the target and the predictors. In an embodiment, the program instructions include program instructions executable by a computer processor to present to a user at least one selected from a group comprising a table, a visualization, and an interactive user interface. In an embodiment, the program instructions further comprise program instructions executable by a computer processor to receive from a user via a user interface, prior to analyzing, at least one selected from a group comprising the set of goals for the target metric and the set of constraints for the set of predictors.





BRIEF DESCRIPTION OF THE DRAWINGS

Generally, like reference numerals in the various figures are utilized to designate like components.



FIG. 1 is a diagrammatic illustration of an example computing environment implementing an embodiment of the present invention.



FIG. 2 is a procedural flowchart illustrating a manner of combining what-if and goal seeking analyses according to an embodiment of the present invention.



FIG. 3 is a diagrammatic illustration of an example of a user interface for displaying an original forecast versus a plan and initiating what-if and goal seeking analyses according to an embodiment of the present invention.



FIG. 4 is a diagrammatic illustration of an example of a user interface for displaying an original forecast versus a plan according to a first scenario and options for viewing the time series or adding a new scenario according to an embodiment of the present invention.



FIG. 5 is a diagrammatic illustration of an example of a user interface for selecting one or more predictors when creating a new scenario according to an embodiment of the present invention.



FIG. 6 is a diagrammatic illustration of an example of a user interface for locking a forecasted value of a target metric when creating a new scenario according to an embodiment of the present invention.



FIG. 7 is a diagrammatic illustration of an example of a user interface for specifying a change in value of a target metric when creating a new scenario according to an embodiment of the present invention.



FIG. 8 is a diagrammatic illustration of an example of a user interface showing the changed value of the target metric when creating a new scenario according to an embodiment of the present invention.



FIG. 9 is a diagrammatic illustration of an example of a user interface for imposing a constraint on the value of a predictor when creating a new scenario according to an embodiment of the present invention.



FIG. 10 is a diagrammatic illustration of an example of a user interface for displaying locking and constraint status of values and providing an option to update all forecasts when creating a new scenario according to an embodiment of the present invention.



FIG. 11 is a diagrammatic illustration of an example of a user interface for displaying updated forecasted values for the new scenario according to an embodiment of the present invention.





DETAILED DESCRIPTION

An aspect of present invention embodiments is to forecast future values of a target metric, such as sales, for a specified forecasting period. In the case of sales, because of the auto-correlation nature of sales series data, some statistical models, such as exponential smoothing, autoregressive integrated moving average (ARIMA), etc., can be built based on the target metric's past values to account for the historical patterns and may be used to forecast future sales values.


On the other hand, some time series models, such as transfer function models, Granger causality models (which we call temporal causal models), etc., can be built to describe the causal relationships between the target series (e.g., sales) and predictor series (other series) to forecast future sales values. Such models can help users take better business actions to interact with the forecasts. For example, suppose that the number of Twitter mentions affects sales. If sales are forecast to drop in the next few months, then the business can change the future number of Twitter mentions to cause sales forecasts to increase. Because this type of model is based on other predictor series in addition to historical values of the target metric, the forecasts of the target metric might be changed due to some updated forecasts of predictor series.


The present invention embodiment provides the user with two techniques when the user wants to interact with forecasts, i.e., change the forecasts of the target metric. One is what-if analysis, and the other is goal seeking. Both of these options use the time series models with some predictors to generate new forecasts based on the user's desired outcomes.


In what-if analysis, a user manually sets the forecasts for one or more input or predictor time series to see the repercussions in the target time series. The analysis answers the question: “What if I increase (or decrease) a metric in the future?” For example, assume that the target metric is sales, and the number of Twitter Mentions affects sales. The user might change the forecast for number of Twitter mentions to see the effect on sales (e.g., “What if I increase the number of Twitter mentions from 50 to 60 in July 2015?”).


In goal seeking, a user manually sets the forecasts for a target time series and then requests new forecasts for the predictor time series. Goal seeking analysis answers the question: “What values of the predictor time series will allow me reach my goal?” For example, the user might set a goal for sales and request new forecasts for the number of Twitter mentions (e.g., “What values of the number of Twitter mentions will allow me to reach sales of 120 in December, 2015?”) Goal seeking provides recommended actions based on the user's desired outcomes.


With reference now to FIGS. 1-12, examples of a computer-implemented system and method for time-series forecasting which combines both what-if analysis and goal-seeking analysis are described. In an example embodiment, the present invention includes building a model for a target metric with a set of predictors, and analyzing a set of goals for the target metric and a set of constraints for the set of predictors using the model. An updated forecast based on the analysis with respect to a forecasting period may be determined to meet the goals within the constraints. The updated forecast may be presented with respect to the forecasting period, and the presenting may include displaying the dynamic forecast to a user as a table, a visualization, or an interactive user interface. In example embodiments, the method may also include initiating processes to obtain historical time-series data from local or remote online data sources, and/or initiating processes to achieve at least one of the goals for the target metric by influencing a value of at least one of the predictors.


An example environment for use with present invention embodiments is illustrated in FIG. 1. Specifically, the environment includes one or more server systems 10, and one or more client or end-user systems 14. Server systems 10 and client systems 14 may be remote from each other and communicate over a network 12. The network may be implemented by any number of any suitable communications media (e.g., wide area network (WAN), local area network (LAN), Internet, Intranet, etc.). Alternatively, server systems 10 and client systems 14 may be local to each other, and communicate via any appropriate local communication medium (e.g., local area network (LAN), hardwire, wireless link, Intranet, etc.).


In an example embodiment, server systems 10 may include a modeling module 16 to build a model for a target metric based on historical time-series data for the target metric and a set of predictors, and an analysis module 18 for analyzing a set of goals for the target metric and a set of constraints for the set of predictors. Client systems 14 enable a user to view forecasted values of the target metric generated by server systems 10 using the model, and may also enable users to cause the server to generate scenarios for the target metric to meet specified goals within specified constraints with respect to a forecasting period. For example, client systems 14 may enable users to specify goals for the target metric and/or constraints for predictors of the target metric, which may be used by the server systems 10 to generate a dynamic forecast to meet the goals within the constraints. A database system 20 may store various information for the analyses (e.g., historical time-series data). The database system may be implemented by any conventional or other database or storage unit, may be local to or remote from server systems 10 and client systems 14, and may communicate via any appropriate communication medium (e.g., local area network (LAN), wide area network (WAN), Internet, hardwire, wireless link, Intranet, etc.). The client systems may present a graphical user interface (e.g., GUI, etc.) or other interface (e.g., command line prompts, menu screens, etc.) to display forecasted values and accept input from users (e.g., goals for the target metric, constraints for the set of predictors, etc.).


Server systems 10 and client systems 14 may be implemented by any conventional or other computer systems preferably equipped with a display or monitor, a base (e.g., including at least one processor 15, one or more memories 35 and/or internal or external network interfaces or communications devices 25 (e.g., modem, network cards, etc.)), optional input devices (e.g., a keyboard, mouse or other input device), and any commercially available and custom software (e.g., server/communications software, modeling module, analysis module, modules 16 and 18, browser/interface software, etc.).


Alternatively, one or more client systems 14 may build the model and/or perform the what-if and goal-seeking analyses in a stand-alone mode of operation. In a stand-alone mode of operation, the client system stores or has access to the data (e.g., database 20), and includes module 16 to build the model and/or module 18 to perform analyses using the model. The graphical user interface (e.g., GUI, etc.) or other interface (e.g., command line prompts, menu screens, etc.) presents forecasted values to a user and accepts inputs from a user.


Modules 16 and 18 may be combined into a single module. Alternatively, modules 16 and 18 may be separate as shown, and it will be appreciated that either or both modules may include one or more modules or units to perform the various functions of present invention embodiments described below. The various modules (e.g., modules 16 and 18) may be implemented by any combination of any quantity of software and/or hardware modules or units, and may reside within memory 35 of the server and/or client systems for execution by processor 15.


A manner of performing prescriptive forecasting according to an example embodiment is illustrated in FIG. 2 at 200. Initially, historical time-series data are obtained at step 202 (e.g., via software running on at least one server system 10 and/or a client system 14). The time-series data may be for a target metric (yt) and one or more independent variables or predictors (Xi,t) that may have an effect on the target metric. The historical time-series data may be obtained in response to a user request (e.g., whenever a prescriptive forecast is requested), or at scheduled times (e.g., quarterly), or at any other time. The historical time series data may be obtained from database 20, remote sources (e.g., online databases, webcrawlers, or services), and/or other sources (e.g., user uploaded data). The predictors may be identified before the historical time-series data is obtained, or the predictors may be identified after obtaining the historical time-series data. Several different statistical techniques can identify predictors and build a model, such as temporal causal modeling, transfer function models (ARIMA+predictors), etc. The system can automatically check all possible predictors to identify the most important ones. Users could also manually select predictors, but it might be more efficient or faster if the system does the selection automatically.


Once the predictors (Xi,t) have been identified, a model is built for the target metric (yt) based on the historical data (t=1, . . . , T) for the target metric and the predictors at step 204 (e.g., via modeling module 16 and at least one server system 10 and/or a client system 14). For example, assume the system identifies the top K predictors, Xi,t, i=1, . . . , K, for the target series, yt, with the following transfer function model:










z
t

=


f


(

y
t

)


=

{







y
t

,




if





no











tranformation





for






y
t








ln


(

y
t

)


,




if











the





transformation











of






y
t






is





log





logsrithm








y
t


,




if











the











transformation











of






y
t






is





square





root













Δ






z
t


=


c
+




i
=
1

k






ω
i



(
B
)




δ
i



(
B
)





Δ
i



B

b
i





f
i



(

X
it

)




+




θ
*



(
B
)




φ
*



(
B
)





a
t











z
t



=

c
-




l
=
1


L
d





τ
l

·

z

t
-
l




+




i
=
1

k






ω
i



(
B
)




δ
i



(
B
)





Δ
i



B

b
i





f
i



(

X

i
,
t


)




+

N
t










(
1
)







where

  • c is the constant parameter;
  • at is the unobserved i.i.d. Gaussian error process with mean of zero and variance of σ2;
  • The moving average lag polynomial θ*(B)=θq(B)ΘQ(Bz) with θq(B)=1−ϑ1B−ϑ2B− . . . −ϑqBq and ΘQ(Bs)=1−Θ1Bs−Θ2Bs−Θ2B2s− . . . −ΘQBQs; and s is the periodicity of the data;
  • The auto-regressive lag polynomial ϕ*(B)=ϕp(B)ϕP(Bs) with ϕp(B)=1−φ1B−φ2B2− . . . −φpBp and ϕp(Bs)=1−ϕ1Bs−ϕ2B2s− . . . −ϕPBPz;
  • Nt is the noise series, with








N
t

=




θ
*



(
B
)




φ
*



(
B
)





a
t



;




  • Δ is the difference operator with the order of Ld, where Δ=(1−B)d(1−Bs)D=1+τ1B+ . . . +τLDBLd;

  • ωi(B) and δi(B) are numerator and denominator terms for the ith predictor with the order of Lωi and Lδi, respectively, where









ω
i



(
B
)


=


ω

i





0


+


ω

i





1



B

+

+


ω

iL

ω
i





B

L

ω
i









and









δ
i



(
B
)


=

1
+


δ

i





1



B

+

+


δ

iL

δ
i





B

L

δ
i






,




respectively; i=1, . . . , K;

  • Δi is the difference operator with the order of Li,d for the ith predictor, where Δi=(1−B)di(1−Bs)Di=1+τi,1B+ . . . +τi,Li,dBLi,d; i=1, . . . , K;
  • Bb1 is a delay term with the order of bi, i=1, . . . , K;
  • fi(⋅) is the transformation function for the ith predictor and fi(⋅)=f(⋅);
  • the transfer function







V

i
,

t

T



=




ω
i



(
B
)




δ
i



(
B
)





Δ
i



B

b
i





f
i



(

X

i
,

t

T



)







can be computed as










V

i
,
t


=


-




l
=
1


L

δ
i






δ
il

·

V

i
,

t
-
l






+




l
=
0


L

ω
i







ω
il

·

Δ
i




B

b
i






f
i



(

X

i
,

t
-
l



)


.








(
2
)







For example, if the target metric (yt) is sales and the system identifies two predictors: number of Twitter mentions (X1,t or Twitter#) and number of Facebook mentions (X2,t or Facebook#), the following transfer function model can be built:










y
t

=



c
+




ω

1
,
0


+


ω

1
,
1



B



1
+


δ

1
,
1



B

+


δ

1
,
2




B
2






X

1
,
t



+




ω

2
,
0


+


ω

2
,
1



B

+


ω

2
,
2




B
2




1
+


δ

2
,
1



B





X

2
,
t



+

N
t








=



c
+

V

1
,
t


+

V

2
,
t


+

N
t












V

1
,
t


=



-

δ

1
,
1





V

1
,

t
-
1




-


δ

1
,
2




V

1
,

t
-
2




+


ω

1
,
0




X

1
,
t



+


ω

1
,
1




X

1
,

t
-
1












V

2
,
t


=



-

δ

2
,
1





V

2
,

t
-
1




+


ω

2
,
0




X

2
,
t



+


ω

2
,
1




X

2
,

t
-
1




+


ω

2
,
2




X

2
,

t
-
2









where c=17.6, δ1,1=−0.22, δ1,2=0.98, ω1,0=0.02, ω1,1=0.16, δ2,1=−0.57, ω2,0=0.36, ω2,1=−0.15, ω2,2=0.54.


In step 206, the built model may be used to forecast future values. The forecasts for yt, yt|T, at the current time T for several time points over the forecasting period, T+1, . . . , T+h, can be computed based on Equations (1) and (2) as follows:















z

t

T


=

c
-




l
=
1


L
d





τ
l

·

z


t
-
l


T




+




i
=
1

K






ω
i



(
B
)




δ
i



(
B
)





Δ
i



B

b
i





f
i



(

X

i
,

t

T



)




+

N

t

T








(
3
)







y

t

T


=

{





z

t

T


,




if





no





tranformation











for






y
t








exp


(


z

t

T


+


σ

z

t

T


2

2


)


,




If











the











transformation











of






y
t






is





log









(

z

t

T


)

2

+

σ

z

t

T


2


,




If





the





transformation





of






y
t






is











square





root









(
4
)












V

i
,

t

T



=


-




l
=
1


L

δ
i






δ
it

·

V

i
,


t
-
l


T






+




l
=
0


L

ω
i







ω
il

·

Δ
i




B

b
i





f
i



(

X

i
,


t
-
l


T



)










(
5
)










where












z

t

T


=


f


(

y
t

)


=

{






y
t

,




if





no











tranformation





for






y
t








ln


(

y
t

)


,




if











the





transformation











of






y
t






is





log





logsrithm








y
t


,




if











the











transformation











of






y
t






is





square





root




,





















V

i
,

t

T



=

V

i
,
t



,


X

i
,

t

T



=

X

i
,
t



,

i
=
1

,





,
K
,



if





t


T

;














i.e., the forecasted values would be historical values if they happened before or at the current time T. On the other hand, the system will build models for predictor series to compute their forecasts, Xi,t−l|T,t . . . l>T if the user doesn't provide the forecasts for the predictor series.


The forecasting values based on historical data can be displayed as shown in Table 1:









TABLE 1







Historical and forecasting values for the target and predictors














Metrics
. . .
T − 1
T
T + 1
T + 2
. . .
T + h





yt
. . .
yT−1
yT
yT+1|T
yT+2|T

yT+h|T


X1,t
. . .
X1,T−1
X1,T
X1,T+1|T
X1,T+2|T

X1,T+h|T


.



.
.

.


.



.
.

.


.



.
.

.


XK,t
. . .
X2,T−1
X2,T
XK,T+1|T
XK,T+2|T

XK,T+h|T









For the sales example above, the forecasts at the current time (e.g., 6/15) and for the next 6 months (e.g., 7/15, 8/15, 9/15, 10/15, 11/15, and 12/15) based on Equation (2) along with forecasts of number of Twitter mentions and number of Facebook mentions can be displayed as shown in Table 2:









TABLE 2







Historical and forecasting values for Sales, Twitter# and Facebook#
















Metrics
. . .
May ‘15
Jun ‘15
Jul ‘15
Aug ‘15
Sep ‘15
Oct ‘15
Nov ‘15
Dec ‘15



















Sales
. . .
95
90
100
103
108
110
114
115


Twitter#
. . .
50
55
50
55
48
56
55
60


Facebook#
. . .
45
45
50
50
53
51
50
50









After the predictors are identified and one or more models are built, the user can specify the desired analysis in step 208 (e.g., via analysis module 18 and at least one server system 10 and/or a client system 14). The analyses may include goals for the target metric series or constraints for the predictor series or both. Such goals and/or constraints may be defined for the future time points over a forecasting period.


Goals can be entered one at time or automatically distributed from a coarser (e.g., higher granularity) time period. For example, assume the original measurements and forecasts are recorded and generated at a monthly level. If the user specifies a yearly goal, the system can be configured to automatically distribute the yearly goal over monthly forecasts.


In example embodiments, constraints can be entered for one or more predictors, for one or more future time points in the forecasting period, or for expected values for the predictors. For example, the system may be configured to allow the following two types of constraints to be entered: (a) the user may be allowed to enter specific values for specific predictor series; and/or (b) the user may be allowed to enter an allowable range of change for the predictor series.


Table 3 below illustrates an example of how goals and constraints can be entered by a user. In the example shown in Table 3, two goal values are entered for the Sales series in different months: 110 for September 2015 and 120 for December 2015 (sales may reflect the number of units sold, revenue, or any other appropriate sales metric). In addition, the user entered a Sales goal of 700 for the second half of 2015. An expected value of 60 is specified for Twitter# in July 2015. A range constraint of (48, 52) is also identified for Facebook# for July 2015. The goals and constraints entered by the user in this example are shown in bold to the right of the original values in Table 3. Thus Table 3 represents an example combination of what-if and goal seeking analyses.


The cells in Table 3 that include question marks to the right of the original values indicate forecasted values that will be solved by the system. These may be considered “decision variables” in the optimization problem. The solution may contain forecasts that were previously generated or that will be updated by system.









TABLE 3







Goal and constrained values entered by the user













Metrics
July ‘15
Aug ‘15
Sep ‘15
Oct ‘15
Nov ‘15
Dec ‘15






















Sales
100
?
103
?
108

110

110
?
114
?
115

120



Twitter#
50

60

55
?
48
?
56
?
55
?
60
?


Facebook#
50

?(48, 52)

50
?
53
?
51
?
50
?
50
?





* Sum of Sales from July 2015 to December 2015 = 700






In step 210, the system updates the forecast by solving the optimization problem. The analysis that was defined by setting target goals and entering predictor constraints can be formulated as a constrained optimization problem, and a solution can be found that meets the goals of the target and satisfies the constraints of predictors by minimizing the change from the original forecasts.


First, the decision variables to be solved in the optimization problem are defined. Note that, in this example, all variables include both historical and forecasting periods.


{tilde over (y)}t: Decision variable for target series at time t is solved in the optimization problem, t=T−L*+1, . . . , T+h, where L*=La; {tilde over (z)}t: Decision variable for transformed target series at time t is solved in the optimization problem, t=T−L*+1, . . . , T+h, where L*=La;


{tilde over (X)}i,t: Decision variable for the ith predictor series at time t is solved in the optimization problem t=T−L**+1, . . . , T+h, where L**=bi+LLa+Lωi, i∈{1, . . . , K}, (because it is possible that some predictors aren't allowed to change);


{tilde over (V)}i,t: Decision variable for the transfer function of the ith predictor series at time t is solved in the optimization problem, t=T−L***+1, . . . T+h, where L***=Lδi, i∈{1, . . . K}.


Then the constrained optimization problem can be formulated with the following objective function and several types of constraints: Minimize the change between the original forecasting values and the updated forecasting values, which are the decision variables that need to be solved, of the target and predictors for all time points in the forecasting period:










min




y
~

t

,


X
~


i
,
t


,




z
~

t

,


V
~


i
.
t







(





t
=

T
+
1



T
+
h





(



y
~

t

-

y

t

T



)

2


+




i
=
1

K






t
=

T
+
1



T
+
h





(



X
~


i
,
t


-

X

i
,

t

T




)

2




)





(
6
)







subject to the following constraints:

  • (a) Historical data cannot be changed:





{tilde over (y)}t=yt





and





{tilde over (X)}i,t=Xi,t, t≤T


All updated values (solutions) are satisfied with the time series model, i.e., replaced with the decision variables for the target and predictors in Equations (1) and (2), for

















(
b
)






t

=

T
+
1


,





,

T
+
h

,



















z
~

t

=

c
-




l
=
1


L
d





τ
l

·


z
~


t
-
l




+




i
=
1

K




V
~


i
,
t



+


N
^


t

T








(
7
)








y
~

t

=

{






z
~

t

,




if






y
t






is





not





tranformed







exp


(



z
~

t

+


σ

z

t

T


2

2


)


,




if











the











transformation





of






y
t












is





log









(


z
~

t

)

2

+

σ


z
~


t

T


2


,




if











the











transformation





of






y
t






is





square











root









(
8
)













V
~


i
,
t


=


-




l
=
1


L

δ
i






δ
il

·


V
~


i
,

t
-
l






+




l
=
0


L

ω
i







ω
il

·

Δ
i




B

b
i





f
i



(

X

i
,

t
-
l



)










(
9
)







where {circumflex over (N)}t|T is the forecast of the noise series at the current time T for time t in the forecasting period which can be extracted from the model; and for historical time points, t−l≤T, {tilde over (V)}i,t−l=Vi,t−l and








z
~


t
-
l


=


z

t
-
l


=


f


(

y

t
-
l


)


=

{






y

t
-
l


,




if





no











tranformation





for






y
t








ln


(

y

t
-
l


)


,




if











the





transformation











of






y
t






is






l

ogsrithm









y

t
-
l



,




if











the











transformation











of






y
t






is





square





root




.








  • (c) The equality constraints, which are the goal values for the target and the expected values for predictors, are honored
    • (c.1) {tilde over (X)}i,t=Ci,ti, ti∈{T+1, . . . , T+h}i∈{1, . . ., K}
    • (c.2) {tilde over (y)}t′gt′t′∈{T+1, . . . , T+h}
    • (c.3) Suppose GT′ is the specified goal value in the higher granularity than the current time interval such that T′ will cover some or all of forecasting periods, T+1, . . . , T+h and some or all of historical periods, T−L′+1, . . . , T, which covers m time points, then the constraint can be stated as follows:












t




[


T
-

L


+
1

,









,

T
+
h


]









y
~


t




=

{





G
T

,




if





aggregation











function





for






y
t






is





sum







mG
T

,




if





aggregation





function











for






y
t












is





average











    •  where L′ could be smaller or larger than L*.



  • (d) The range constraints:







L
i,t
≤{tilde over (X)}
i,t
≤U
i,t
,t∈{T+1, . . . , T+h}, i∈{1, . . . , K}


However, to avoid the no solution issue by range constraints in (d), the above problems may be modified by moving the equality constraints (c.1) and (c.2) as part of the objective function. Then the objective function in Equation (6) can be modified as follows:










min




y
~

t

,


X
~


i
,
t






z
~

t




V
~


i
,
t







(





t
=

T
+
1



T
+
h






w

0
,
t




(



y
~

t

-

g

0
,
t



)


2


+




i
=
1

K






t
=

T
+
1



T
+
h






w

i
,
t




(



X
~


i
,
t


-

g

i
,
t



)


2




)





(
10
)







where g0,t and gi,t default to yt|T and Xi,t|T, respectively, unless there is a user defined goal value








w

0
,
t


=



σ

y


T
+
h


T


2


σ

y

t

T


2


·

1


μ
0
2

+

σ
0
2



·

a

I


{


g

0
,
t







is





user





defined

}





,






w

i
,
t


=


1


μ
i
2

+

σ
i
2



·

b

I


{


g

i
,
t







is





user





defined

}





,





i
=
1

,
2
,





,

K
.





1, 2, . . . K, μ0 and μi are the mean of the target series and ith predictor series, respectively. σ0 and σi are the standard deviation of the target series and the ith predictor series, respectively. σyt|T2zt|T2 for transfer function model because σyt|T2 is not available. The constant a and b default to 10,000 and 1,000, respectively.


For the Sales example, the decision variables are {tilde over (y)}t, {tilde over (X)}1,t and X2,t, t=5/15, . . . , 12/15, (including 2 historical and 6 forecasting time points), both goal seeking and what-if analyses are to solve the following constrained optimization with respect to the decision variables which the objective function is based on Equation (10):







min




y
~

t

,


X
~


i
,
t





V
~


i
,
t






(






t
=

7
/
15




t


9
/
15


,

12
/
15




12
/
15





(



y
~

t

-

y

t


6
/
15




)

2


+





t
=

7
/
15



t


7
/
15




12
/
15





(



X
~


1
,
t


-

X

1
,

t


6
/
15





)

2


+




t
=

7
/
15



12
/
15





(



X
~


2
,
t


-

X

2
,

t


6
/
15





)

2


+

100



(



y
~


9
/
15


-
110

)

2


+

100



(



y
~


12
/
15


-
120

)

2


+

13



(



X
~


1.7
/
15


-
60

)

2



)












s
.
t
.









  • (a) {tilde over (y)}t=yt and {tilde over (X)}i,t=Xi,t, t=5/15, 6/15;

  • (b) {tilde over (y)}t=c+{tilde over (V)}1,t+{tilde over (V)}2,t+{circumflex over (N)}t|T, {tilde over (V)}1,t=−δ1,1{tilde over (V)}1,t−1−δ1,2{tilde over (V)}1,t−21,0{tilde over (X)}1,t1,1{tilde over (X)}1,t−1, {tilde over (V)}2,t=−δ2,1{tilde over (V)}2,t−12,0{tilde over (X)}2,t2,1{tilde over (X)}2,t−12,2{tilde over (X)}2,t−2, t=7/15, . . . , 12/15;
    • where c=17.6, δ1,1=−0.22 δ1,2=0.98, ω1,0=0.02, ω1,1=0.16, δ2,1=−0.57, ω2,0=0.36, ω2,1=−0.15, ω2,2=0.54, V1,5/15=4.16, V1,6/15=7.26, V2,6/15=68.15, {umlaut over (N)}7/15=2.24, {circumflex over (N)}g/15=−1.69, {circumflex over (N)}9/15=1.28, {circumflex over (N)}10/15=−0.97, {circumflex over (N)}11/15=0.73 and {circumflex over (N)}12/15=−0.55;

  • (c3) Σt′=7/1512/15{tilde over (y)}t′=700;

  • (d) 48≤{tilde over (X)}2,7/15≤52.



When using CPLEX, which is an optimization tool, to solve the above problem, the solutions (V1mod={tilde over (V)}1,t, V2mod={tilde over (V)}2,t, X1mod={tilde over (X)}1,t, X2mod={tilde over (X)}2,t, ymod={tilde over (y)}t) can be shown as follows:


The tabular output of the solution may be shown as illustrated in Table 4, wherein the numbers in bold represent values specified by the user or within a range specified by the user, and the rest of the numbers represent updated forecast values resulting from the analysis:









TABLE 4







Updated forecasting values for Sales, Twitter# and Facebook#













Metrics
July 2015
August 2015
September 2015
October 2015
November 2015
December 2015
















Sales
102
109

110

127
131

120



Twitter#

60

52
56
59
53
60


Facebook#

52

79
57
55
59
46





* Sum of Sales forecasts from July 2015 to December 2015 = 700






The solution to the optimization problem (i.e., the updated set of forecast values for the forecasting period of interest) is presented to the user in step 212 (e.g., via a graphical user interface and at least one server system 10 and/or a client system 14). The solution can be presented in many ways. For example, the solution can be presented to the user in one or more tables (e.g., like Table 4 above), one or more visualizations (e.g., graphs, charts, etc.), an interactive user interface, or a combination of two or more of the foregoing. In an embodiment, the results may be presented in real time on the user's display. In another embodiment, the presentation may be included in a report that is electronically sent to the user. The mode of presentation may be pre-defined by the system, or the system may be configured to allow users to specify the mode of presentation. For example, options may be provided to the user to cause the system to present fewer than all of the forecasted values (e.g., for a particular month), or to show both the original and updated forecast values, or to show the results in multiple windows, etc.


In an embodiment, the system may additionally be configured to initiate, based on the updated set of forecast values, a computer process to achieve at least one of the goals for the target metric by influencing a value of at least one the predictors. For example, in the example above in which the target metric is sales and the predictors are Twitter and Facebook mentions, the system may be configured to affect Twitter and/or Facebook mentions, e.g., by initiating a process (such as a bot) to post messages on Twitter and/or Facebook.


It is also possible that the system might fail to find a solution. The system can be configured to handle all of these outcomes and to present the results to the user in a way that makes the prescriptive actions readily understood by the user.



FIGS. 3-12 are diagrammatic illustrations of example graphical user interfaces that may be used in a prescriptive forecasting system that combines what-if and goal seeking analyses. In FIG. 3, an example user interface 300 for displaying an original forecast versus a plan and initiating a what-if and goal seeking analyses is shown. The user interface 300 includes a graph 302 showing the original forecast for a target metric (in this example, sales) over a forecasting period, and a plan for the target metric over the same forecasting period. In this example, the original forecasts are shown as a dotted line graph 304 and the plan values are shown as a bar graph 306. The example also shows the forecast line graph 304 plotted against a solid line graph 308 of historical time series data for a historical time period before the forecasting period of interest. To the right of the graph 302 in FIG. 3 is model fit summary 310 indicating the predictive strength of the model and selectable buttons 312 that permit the user to select whether or not to display, the forecast range, the model values and/or the plan values. The user interface 300 in FIG. 3 also includes a button, icon, or other image 314 that may be selected by the user to initiate what-if and goal seeking analyses in which a plan scenario may be generated.



FIG. 4 shows an example user interface 400 for displaying an original forecast 402 versus a plan 404 according to a first scenario and options for viewing the time series or adding a new scenario according to an embodiment of the present invention. In this example, the forecast 402 and plan 404 for sales as a function of time are plotted as lines. To the left of the plot are user-selectable views 406, 408, and 410 allowing the user to switch between views of the target series (e.g., sales) and the predictor series (e.g., Twitter mentions or Facebook mentions). In the example shown, the user has selected the target series for viewing. The interface 400 also includes a user-selectable button 412 that may be selected by the user to initiate what-if and goal seeking analyses in which another scenario may be generated.



FIG. 5 shows an example user interface 500 for selecting one or more predictors when creating a new scenario according to an embodiment of the present invention. The user interface 500 displays the predictors as a row of selectable icons (e.g., an icon 502 for Twitter mentions and icon 504 for Facebook mentions) and displays an interactive table 506 showing the original forecasted values for the target metric (e.g., sales) and the predictors (e.g., Twitter mentions and Facebook mentions) over the forecasting period. The table 506 is configured to allow the user to click on a displayed value to lock the value or constrain the value to a specified range. The user interface 500 also includes a user-selectable button 508 for initiating an update of the forecast based on the locked or constrained values of the target and the selected predictor(s).



FIG. 6 shows an example pop-up window 510 that may be displayed in user interface 500 when a value in table 506 is selected by a user. The pop-up window 510 includes a user-selectable icon 512 for locking the selected value so that it is not allowed to change when the forecast is updated (while the other values are allowed to change), a user-selectable icon 514 for unlocking a previously locked value, and a user-selectable icon 516 to constrain the selected value to a specified range. In the example shown, the selected value is for the target metric (e.g., sales). In particular, the value of sales for November 2015 is locked at a value 103 entered into a field 518 in the pop-up window. By way of contrast, if the constrain icon 516 was selected, a range of values may be specified using fields or an interactive range bar 520 as shown. In the example shown, the pop-window also includes selectable button 522 for canceling the action and selectable button 524 for closing the window when the action is done. The pop-up window may also include a button 526 that a user may select in order to calculate a value which is described below with reference to FIG. 7.



FIG. 7 shows an example pop-up window 530 that may be displayed in user interface 500 for specifying a change in value of a selected target metric in table 506 after clicking the button 526 according to an embodiment of the present invention. Pop-up window 530 includes a field 532 for specifying how the value should be adjusted (e.g., increase), a field 534 for specifying a percentage for the adjustment (e.g., 10%), and a field 536 for specifying a reference or base value (e.g., compared to June 2014). Pop-up window 530 also includes a field 538 showing an adjusted value calculated by the system according to the conditions entered by the user in fields 532, 534 and 536. In the example shown, the pop-window also includes selectable button 522 for canceling the action and selectable button 524 for closing the window when the action is done.



FIG. 8 shows user interface 500 with the adjusted target value 540 in the November 2015 entry in table 506 after the pop-up window 530 is closed. In an example embodiment, an icon 542 (e.g., a padlock) is displayed next to the adjusted value 540 to indicate the value is locked.



FIG. 9 shows pop-up window 510 being displayed when the user selects a predictor value in table 506. Again, the pop-up window 510 includes a user-selectable icon 512 for locking the selected value so that it is not allowed to change when the forecast is updated (while the other values are allowed to change), a user-selectable icon 514 for unlocking a previously locked value, and a user-selectable icon 516 to constrain the selected value to a specified range. The pop-up window also includes a selectable button 522 for canceling the action and a selectable button 524 for closing the window when the action is done. In the example shown, the selected value is for one predictor (e.g., Facebook mentions). In particular, the value of Facebook mentions for June 2015 is constrained between 90 and 110 entered in an interactive range bar 520 in the pop-up window.



FIG. 10 shows user interface 500 after the pop-up window 550 in FIG. 9 is closed. In an example embodiment, an icon 554 (e.g., a fence) is displayed next to the previously selected predictor value 552 in table 506 to indicate that a constraint has been placed on the value. The user interface 500 may also display a user-selectable feature 508 (e.g., a button) to cause the system to update all forecasts, based on the locks and/or constraints entered by the user, when creating a new scenario according to an embodiment of the present invention.



FIG. 11 shows an example of how user interface 500 may display updated forecasted values for a new scenario after the user has imposed locks and constraints on one or more values in table 506 and instructed the system to update all forecasts. In the example shown in FIG. 11, the updated forecasted values are shown as three graphs below the update feature 556. For example, a first graph 560 may display the original forecasted values and the updated forecasted values for the target metric, a second graph 562 may display original and updated forecasted values for a first predictor (e.g., Twitter mentions), and a third graph 564 may display the original and updated forecasted values for a second predictor (e.g., Facebook mentions). While line graphs are shown, it will be appreciated that the updated forecasted values may be displayed using other visualizations such as tables, bar charts, pie charts, etc. The example user interface 500 shown in FIG. 11 may also include a user-selectable feature 566 (e.g., a button) to save the scenario (e.g., to a database) for future review and/or modification.


It will be appreciated that the embodiments described above and illustrated in the drawings represent only a few of the many ways of combining what-if and goal seeking analyses in a prescriptive forecasting system.


The environment of the present invention embodiments may include any number of computer or other processing systems (e.g., client or end-user systems, server systems, etc.) and databases or other repositories arranged in any desired fashion, where the present invention embodiments may be applied to any desired type of computing environment (e.g., cloud computing, client-server, network computing, mainframe, stand-alone systems, etc.). The computer or other processing systems employed by the present invention embodiments may be implemented by any number of any personal or other type of computer or processing system (e.g., desktop, laptop, PDA, mobile devices, etc.), and may include any commercially available operating system and any combination of commercially available and custom software (e.g., browser software, communications software, server software, modeling module, analysis module, etc.). These systems may include any types of monitors and input devices (e.g., keyboard, mouse, voice recognition, etc.) to enter and/or view information.


It is to be understood that the software (e.g., modeling module, analysis module, modules 16 and 18, etc.) of the present invention embodiments may be implemented in any desired computer language and could be developed by one of ordinary skill in the computer arts based on the functional descriptions contained in the specification and flow charts illustrated in the drawings. Further, any references herein of software performing various functions generally refer to computer systems or processors performing those functions under software control. The computer systems of the present invention embodiments may alternatively be implemented by any type of hardware and/or other processing circuitry.


The various functions of the computer or other processing systems may be distributed in any manner among any number of software and/or hardware modules or units, processing or computer systems and/or circuitry, where the computer or processing systems may be disposed locally or remotely of each other and communicate via any suitable communications medium (e.g., LAN, WAN, Intranet, Internet, hardwire, modem connection, wireless, etc.). For example, the functions of the present invention embodiments may be distributed in any manner among the various end-user/client and server systems, and/or any other intermediary processing devices. The software and/or algorithms described above and illustrated in the flow charts may be modified in any manner that accomplishes the functions described herein. In addition, the functions in the flow charts or description may be performed in any order that accomplishes a desired operation.


The software of the present invention embodiments (e.g., modeling module, analysis module, modules 16 and 18, etc.) may be available on a non-transitory computer useable medium (e.g., magnetic or optical mediums, magneto-optic mediums, floppy diskettes, CD-ROM, DVD, memory devices, etc.) of a stationary or portable program product apparatus or device for use with stand-alone systems or systems connected by a network or other communications medium.


The communication network may be implemented by any number of any type of communications network (e.g., LAN, WAN, Internet, Intranet, VPN, etc.). The computer or other processing systems of the present invention embodiments may include any conventional or other communications devices to communicate over the network via any conventional or other protocols. The computer or other processing systems may utilize any type of connection (e.g., wired, wireless, etc.) for access to the network. Local communication media may be implemented by any suitable communication media (e.g., local area network (LAN), hardwire, wireless link, Intranet, etc.).


The system may employ any number of any conventional or other databases, data stores or storage structures (e.g., files, databases, data structures, data or other repositories, etc.) to store information (e.g., historical time series data). The database system may be implemented by any number of any conventional or other databases, data stores or storage structures (e.g., files, databases, data structures, data or other repositories, etc.) to store information (e.g., historical time series data). The database system may be included within or coupled to the server and/or client systems. The database systems and/or storage structures may be remote from or local to the computer or other processing systems, and may store any desired data (e.g., historical time series data).


The present invention embodiments may employ any number of any type of user interface (e.g., Graphical User Interface (GUI), command-line, prompt, etc.) for obtaining or providing information (e.g., target values and/or constraints), where the interface may include any information arranged in any fashion. The interface may include any number of any types of input or actuation mechanisms (e.g., buttons, icons, fields, boxes, links, etc.) disposed at any locations to enter/display information and initiate desired actions via any suitable input devices (e.g., mouse, keyboard, etc.). The interface screens may include any suitable actuators (e.g., links, tabs, etc.) to navigate between the screens in any fashion.


The present invention embodiments are not limited to the specific target metrics or predictors described above, but may be utilized to forecast other types of target metrics using other types of predictor series. For example, instead of sales, the present invention embodiments may be used to forecast other target metrics such as expenses, earnings, customer satisfaction ratings, and popular opinion.


The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises”, “comprising”, “includes”, “including”, “has”, “have”, “having”, “with” and the like, when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.


The corresponding structures, materials, acts, and equivalents of all means or step plus function elements in the claims below are intended to include any structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The description of the present invention has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the invention. The embodiment was chosen and described in order to best explain the principles of the invention and the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.


The descriptions of the various embodiments of the present invention have been presented for purposes of illustration, but are not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the embodiments, the practical application or technical improvement over technologies found in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.


The present invention may be a system, a method, and/or a computer program product at any possible technical detail level of integration. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.


The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.


Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.


Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, configuration data for integrated circuitry, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++, or the like, and procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.


Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.


These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.


The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.


The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the Figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.

Claims
  • 1. A computer-implemented method for prescriptive time-series forecasting, the method comprising: building, based on historical time-series data, a model for a target metric with a set of predictors;computing, using the model, a set of forecast values;analyzing, using the set of forecast values with respect to a forecasting period, both a set of goals for the target metric and a set of constraints for the set of predictors;updating, to meet the set of goals for the target metric within the set of constraints for the set of predictors, the set of forecast values dynamically with respect to the forecasting period; andpresenting, with respect to the forecasting period, the updated set of forecast values.
  • 2. The method of claim 1, wherein building the model is based on at least one selected from a group comprising a system-selected set of predictors and a user-input set of predictors.
  • 3. The method of claim 1, wherein the set of constraints includes at least one selected from a group comprising a set of user-expected values and a threshold range of change.
  • 4. The method of claim 1, wherein the updated set of forecast values minimizes a change from at least one selected from a group comprising the set of forecast values of both of the target and the predictors.
  • 5. The method of claim 1, wherein the presenting includes displaying to a user at least one selected from a group comprising a table, a visualization, and an interactive user interface.
  • 6. The method of claim 1, further comprising receiving from a user via a user interface, prior to analyzing, at least one selected from a group comprising the set of goals for the target metric and the set of constraints for the set of predictors.
  • 7. The method of claim 1, further comprising gathering, prior to building the model, historical time-series data from one or more online sources.
  • 8. The method of claim 1, further comprising initiating, based on the updated set of forecast values, a computer process to achieve at least one of the goals for the target metric by influencing a value of at least one the predictors.
CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 15/367,818, entitled “A SYSTEM AND METHOD FOR COMBINING WHAT-IF AND GOAL SEEKING ANALYSES FOR PRESCRIPTIVE TIME SERIES FORECASTING” and filed Dec. 2, 2016, the disclosure of which is incorporated herein by reference in its entirety.

Continuations (1)
Number Date Country
Parent 15367818 Dec 2016 US
Child 15832001 US