JP5139967B2 - Demand forecasting device - Google Patents

Demand forecasting device Download PDF

Info

Publication number
JP5139967B2
JP5139967B2 JP2008324664A JP2008324664A JP5139967B2 JP 5139967 B2 JP5139967 B2 JP 5139967B2 JP 2008324664 A JP2008324664 A JP 2008324664A JP 2008324664 A JP2008324664 A JP 2008324664A JP 5139967 B2 JP5139967 B2 JP 5139967B2
Authority
JP
Japan
Prior art keywords
prediction
value
product
day
forecast
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2008324664A
Other languages
Japanese (ja)
Other versions
JP2010146413A (en
Inventor
大 手塚
聡 宗形
Original Assignee
株式会社 日立東日本ソリューションズ
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社 日立東日本ソリューションズ filed Critical 株式会社 日立東日本ソリューションズ
Priority to JP2008324664A priority Critical patent/JP5139967B2/en
Publication of JP2010146413A publication Critical patent/JP2010146413A/en
Application granted granted Critical
Publication of JP5139967B2 publication Critical patent/JP5139967B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、期日の属性ごとに売れ行きの異なる新製品の需要予測を行う需要予測装置に関する。
なお、期日の属性には、曜日の別、あるいは、祝日、休日、休暇、イベント期間などであるか否かが含まれる。また、新製品には、旧製品に新機能を追加したもの、及び、大きく改良したものも含まれる。
The present invention relates to a demand prediction apparatus that performs demand prediction of new products with different sales for each attribute of a due date.
Note that the attribute of the due date includes whether it is a day of the week, a holiday, a holiday, a vacation, an event period, or the like. In addition, new products include those in which new functions are added to the old products and those that are greatly improved.

消費者向け製品を製造する企業にとって、製品の適正な在庫水準を維持することは、経営上重要な課題である。そのためには、できる限り正確に製品についての将来の需要を予測し、それを基に生産計画や在庫計画を立案する必要がある。既に長期間の安定した需要変動を有する定番品は、統計的手法による予測が容易である。   For companies that manufacture consumer products, maintaining an appropriate inventory level of the product is an important management issue. For that purpose, it is necessary to predict the future demand for the product as accurately as possible and to make a production plan and an inventory plan based on it. Standard products that already have long-term stable demand fluctuations are easy to predict by statistical methods.

これと異なり、市場投入したばかりの新製品は、販売実績のある期間が短いため、統計的手法による予測が困難である。特に、次々に新製品が発売される分野の製品では、販売直後の数少ない販売実績から、その後の売れ行きを予測し、生産量や在庫量の調整を行うことが必要である。このような場合、新製品の需要予測には予測モデルを用いた予測が有効と考えられる。そこで、従来、一定のパラメータを適用した予測モデルによる需要予測が行われてきた。   On the other hand, new products that have just been put on the market are difficult to predict by statistical methods because of the short sales period. In particular, for products in the field where new products are released one after another, it is necessary to predict the future sales based on the few sales results immediately after sales, and to adjust the production volume and inventory volume. In such a case, it is considered that prediction using a prediction model is effective for demand prediction of new products. Thus, conventionally, demand prediction has been performed using a prediction model to which certain parameters are applied.

従来、代替商品が存在する場合であっても、商品の需要予測を行うため、新規需要および買い替え需要の一部が代替商品によって代替される効果を考慮し、代替商品の新規需要と買い替え需要を各年ごとに当該商品の需要に乗算することによって置き換え数を求め、これを当該商品の需要から各年ごとに減算することによって、代替商品が存在する場合の当該商品の需要を求める「需要予測装置」が知られている(例えば、特許文献1参照)。   Conventionally, even if alternative products exist, in order to forecast the demand of the products, the new demand and replacement demand of the alternative products are calculated in consideration of the effect that a part of the new demand and replacement demand is replaced by the alternative products. Calculate the number of replacements by multiplying the demand for the product for each year, and subtract this from the demand for the product for each year to obtain the demand for the product when there is an alternative product. "Apparatus" is known (for example, see Patent Document 1).

また、販売実績データから算出したライフサイクルパラメータに基づいてライフサイクルパターンを求めて蓄積し、ここから需要予測対象製品のライフサイクルパターンに最も類似するものを検索し、検索したライフサイクルパターンと販売実績データを用いて複数の需要予測計算を行い、これらの評価指標についての評価基準限界値を設定しておき、各評価指標が評価基準限界値を超えない需要予測計算結果を選択して最適予測データを作成し、作成した最適予測データから販売計画データを作成する、「販売計画作成支援システム」が知られている(例えば、特許文献2参照)。   In addition, a life cycle pattern is obtained and accumulated based on the life cycle parameters calculated from the sales performance data, and the most similar to the life cycle pattern of the demand forecast target product is searched from here, and the searched life cycle pattern and sales performance Perform multiple demand forecast calculations using the data, set the evaluation standard limit values for these evaluation indexes, select the demand prediction calculation results that each evaluation index does not exceed the evaluation standard limit value, and select the optimal prediction data And “sales plan creation support system” that creates sales plan data from the created optimum prediction data is known (see, for example, Patent Document 2).

特開2005−258799号公報JP 2005-258799 A 特開2008− 21020号公報JP 2008 21020 A

しかしながら、一般家庭用などの消費者向けの製品の多くは、土曜日及び日曜日のほうが、平日(土曜日及び日曜日を除く曜日)よりも販売量が大きいという傾向があり、また逆にオフィス向け製品の多くは、平日のほうが休日よりも販売量が大きいという傾向がある。
従来技術では、予測モデルのパラメータが常に同じ値であるので、製品の曜日による売れ行きの違いが予測結果に反映されないため、日ごとの需要の予測が十分に正確に行えない問題点があった。
曜日の違いと同様に、祝日、休日、休暇、イベント期間であるか否かなどでも、同様の問題点があった。
However, many consumer products such as general households tend to sell more on Saturdays and Sundays than on weekdays (days except Saturdays and Sundays). Tend to sell more on weekdays than on holidays.
In the prior art, since the parameters of the prediction model are always the same value, the difference in sales by product day of the week is not reflected in the prediction result, so that there is a problem that the daily demand cannot be predicted sufficiently accurately.
Similar to the difference in the day of the week, there were similar problems in whether it was a holiday, holiday, vacation, or event period.

本発明による第1の需要予測装置は、新製品の製品需要予測値を予測モデルに当てはめて予測する需要予測装置であって、予測モデルに適用する期日の属性ごとの予測パラメータを推定する予測パラメータ推定手段と、予測しようとする日に対応する予測パラメータを用いて、予測モデルによって予想しようとする日の製品需要予測値を計算する日次予測値計算手段と、日次予測値計算手段を予測しようとする期間の日ごとに呼び出して期間内の各日の製品需要予測値を計算させる製品需要予測値計算手段と、を具備したことを特徴とする。   A first demand prediction device according to the present invention is a demand prediction device that predicts a product demand prediction value of a new product by applying it to a prediction model, and predicts a prediction parameter for each attribute of a due date applied to the prediction model. Predicting the daily forecast value calculation means and the daily forecast value calculation means for calculating the product demand forecast value of the day to be forecasted by the forecast model using the estimation means and the forecast parameter corresponding to the day to be forecasted Product demand forecast value calculation means for calling each day of the period to be calculated and calculating a product demand forecast value for each day in the period is provided.

本発明による第2の需要予測装置は、新製品の製品需要予測値を予測モデルに当てはめて予測する需要予測装置であって、予測モデルに適用する曜日ごとの予測パラメータを推定する予測パラメータ推定手段と、予測しようとする日の曜日に対応する予測パラメータを用いて、予測モデルによって予想しようとする日の製品需要予測値を計算する日次予測値計算手段と、日次予測値計算手段を予測しようとする期間の日ごとに呼び出して期間内の各日の製品需要予測値を計算させる製品需要予測値計算手段と、を具備したことを特徴とする。   A second demand prediction apparatus according to the present invention is a demand prediction apparatus that predicts a product demand prediction value of a new product by applying it to a prediction model, and predicts a prediction parameter for each day of the week to be applied to the prediction model. And the forecast parameter corresponding to the day of the week to be forecasted, the forecasted product demand forecast value of the day to be forecasted by the forecast model, and the forecasted daily forecast value calculator Product demand forecast value calculation means for calling each day of the period to be calculated and calculating a product demand forecast value for each day in the period is provided.

本発明によれば、期間の属性によって売れ行きが異なる製品であっても正確に需要の予測が可能な需要予測装置を提供できる。
期間の属性には、曜日の別のほか、祝日、休暇、イベント期間であるか否かなどが含まれる。
ADVANTAGE OF THE INVENTION According to this invention, even if it is a product from which sales differ according to the attribute of a period, the demand prediction apparatus which can estimate a demand correctly can be provided.
The attribute of the period includes, in addition to the day of the week, whether it is a holiday, a vacation, an event period, or the like.

以下、添付した各図を参照し、本発明を実施するための最良の形態(以下「実施形態」という)の一例について、詳細に説明する。   Hereinafter, an example of the best mode for carrying out the present invention (hereinafter referred to as “embodiment”) will be described in detail with reference to the accompanying drawings.

<第1実施形態>
図1は、本発明による第1実施形態の需要予測装置1の全体構成を示すブロック図である。
この需要予測装置1は、製品販売実績情報11を入力すると、製品需要予測値情報36を出力するものであり、製品販売実績入力手段12と、製品販売開始日入力手段13と、製品販売実績格納手段14と、製品販売開始日格納手段15と、予測パラメータ格納手段16と、予測パラメータ推定手段21と、日次予測値計算手段25と、予測モデル選択情報格納手段30と、予測モデル選択手段31と、予測期間指定手段32と、製品需要予測値計算手段33と、製品需要予測値格納手段34と、製品需要予測値出力手段35と、製品販売実績・予測値表示手段37と、を具備している。
<First Embodiment>
FIG. 1 is a block diagram showing the overall configuration of a demand prediction apparatus 1 according to the first embodiment of the present invention.
This demand forecasting device 1 outputs product demand forecast value information 36 when product sales record information 11 is inputted, product sales record input means 12, product sales start date input means 13, and product sales record storage. Means 14, product sales start date storage means 15, prediction parameter storage means 16, prediction parameter estimation means 21, daily prediction value calculation means 25, prediction model selection information storage means 30, and prediction model selection means 31 A forecast period specifying means 32, a product demand forecast value calculating means 33, a product demand forecast value storage means 34, a product demand forecast value output means 35, and a product sales performance / predicted value display means 37. ing.

この需要予測装置1は、典型的には、演算機能、制御機能、記憶機能、入出力機能(表示機能を含む。)などを有するコンピュータ(ハードウェア)に、所要のプログラム及びデータ(ソフトウェア)をインストールすることによって、前記した各構成要素を実現している。これらの構成要素の一部または全部は、例えばEPROMにデータ及びプログラムを焼き付けることにより、ハードウェアで実現してもよい。   The demand forecasting apparatus 1 typically includes a computer (hardware) having a calculation function, a control function, a storage function, an input / output function (including a display function), and the like, and a necessary program and data (software). By installing, each component described above is realized. Some or all of these components may be realized in hardware by, for example, burning data and programs into an EPROM.

なお、本実施形態でいう「製品」とは、供給者によって需用者に販売される物(特に、販売者によって消費者に小売りされるもの)のことであり、「商品」の概念を含む。この「製品」は、量産される工業製品であって、比較的商品寿命が短いものが好適である(例えば、1ヶ月から6ヶ月程度)。もちろん、「製品」は、完成品のほか、半製品、部品、原材料または農林水産物でもよい。さらに、有体物のほか、楽曲やコンピュータプログラムなどの無体物でもよい。   The “product” in the present embodiment is a product sold to a consumer by a supplier (particularly, a product sold to a consumer by a seller), and includes the concept of “product”. . The “product” is an industrial product that is mass-produced and preferably has a relatively short product life (for example, about 1 to 6 months). Of course, the “product” may be a finished product, a semi-finished product, a part, a raw material, or an agricultural, forestry and fishery product. Further, in addition to tangible objects, intangible objects such as music and computer programs may be used.

また、本実施形態でいう「製品」とは、原則として「新製品」のことをいう。「新製品」は、まったく新規に設計・製造された製品のほか、旧製品に新機能を追加したものや、旧製品の一部または全部を大きく改良(改変)したものを含むものとする。   In addition, “product” in this embodiment means “new product” in principle. “New products” include products that have been completely designed and manufactured, new products added to old products, and products that are partly or entirely improved (modified) from old products.

図2は、需要予測装置1に入力される製品販売実績情報11のデータリストを示す図である。
製品販売実績情報11は、このように、年月日フィールド及び累積販売量フィールドを有し、年月日と、この年月日までごとの累積販売量とを関連づけた情報である。
FIG. 2 is a diagram showing a data list of product sales performance information 11 input to the demand prediction apparatus 1.
As described above, the product sales record information 11 has a date field and a cumulative sales volume field, and is information that associates the date and the cumulative sales volume for each date up to this date.

製品販売実績入力手段12は、製品販売実績情報11を読み込み、製品販売実績格納手段14に格納させる。   The product sales record input means 12 reads the product sales record information 11 and stores it in the product sales record storage means 14.

製品販売実績格納手段14は、製品販売実績情報11に「曜日」情報を付加して格納する。
図3は、製品販売実績格納手段14に格納した製品販売実績情報200のデータリストを示す図である。
この製品販売実績情報200では、第1列目は年月日フィールド、第2列目は当該年月日の曜日フィールド、第3列目は当該年月日までの累積販売量フィールドであり、各々対応するレコード(情報)を有している。
The product sales record storage means 14 adds “day of the week” information to the product sales record information 11 and stores it.
FIG. 3 is a diagram showing a data list of the product sales record information 200 stored in the product sales record storage unit 14.
In the product sales performance information 200, the first column is a date field, the second column is a day of the week field, and the third column is a cumulative sales volume field up to the date. It has a corresponding record (information).

図1に戻り、製品販売開始日入力手段13は、製品販売開始日情報300(後記)の入力を受け付け、製品販売開始日格納手段15に格納させる。   Returning to FIG. 1, the product sales start date input means 13 accepts the input of product sales start date information 300 (described later) and stores it in the product sales start date storage means 15.

製品販売開始日格納手段15は、この製品販売開始日情報300を格納する。
図4は、製品販売開始日格納手段15に格納した製品販売開始日情報300のデータリストを示す図である。
The product sales start date storage means 15 stores the product sales start date information 300.
FIG. 4 is a diagram showing a data list of the product sales start date information 300 stored in the product sales start date storage means 15.

図1に戻り、予測モデル選択手段31は、複数の予測モデル(本実施形態では、第1予測モデルから第4予測モデルまでの4つ)から1つの予測モデルを選択する入力を受け付け、予測モデル選択情報格納手段30に格納させる。   Returning to FIG. 1, the prediction model selection means 31 receives an input for selecting one prediction model from a plurality of prediction models (in this embodiment, four from the first prediction model to the fourth prediction model), and the prediction model It is stored in the selection information storage means 30.

予測モデル選択情報格納手段30は、予測モデル選択手段31で受け付けた予測モデル選択情報(本実施形態では、第1から第4のいずれか)を格納する。   The prediction model selection information storage unit 30 stores the prediction model selection information received by the prediction model selection unit 31 (any one of the first to fourth in this embodiment).

予測パラメータ推定手段21は、製品販売実績格納手段14から読み出した製品販売実績情報200、製品販売開始日格納手段15から読み出した製品販売開始日情報300、及び日次予測値計算手段25の計算結果に基づき、予測パラメータを推定し、予測パラメータ格納手段16に格納させる。   The prediction parameter estimation means 21 is the product sales performance information 200 read from the product sales performance storage means 14, the product sales start date information 300 read from the product sales start date storage means 15, and the calculation result of the daily predicted value calculation means 25. Based on the above, a prediction parameter is estimated and stored in the prediction parameter storage means 16.

図5は、予測パラメータ推定手段21を詳細に示すブロック図である。
予測パラメータ推定手段21は、予測パラメータ初期化手段22と、予測パラメータ更新手段23と、を具備している。
予測パラメータ初期化手段22は、予測パラメータ格納手段16に格納されている予測パラメータを初期化する機能を有する。
予測パラメータ更新手段23は、予測パラメータ推定手段21によって推定された予測パラメータによって、予測パラメータ格納手段16に格納されている予測パラメータを更新する機能を有する。
FIG. 5 is a block diagram showing the prediction parameter estimation means 21 in detail.
The prediction parameter estimation unit 21 includes a prediction parameter initialization unit 22 and a prediction parameter update unit 23.
The prediction parameter initialization unit 22 has a function of initializing the prediction parameters stored in the prediction parameter storage unit 16.
The prediction parameter update unit 23 has a function of updating the prediction parameter stored in the prediction parameter storage unit 16 with the prediction parameter estimated by the prediction parameter estimation unit 21.

図1に戻り、予測パラメータ格納手段16は、予測パラメータ推定手段21が推定した予測パラメータを、予測モデル選択情報格納手段30から読み出した予測モデル選択情報に従って分別して格納する。   Returning to FIG. 1, the prediction parameter storage unit 16 stores the prediction parameters estimated by the prediction parameter estimation unit 21 separately according to the prediction model selection information read from the prediction model selection information storage unit 30.

図6は、予測パラメータ格納手段16を詳細に示すブロック図である。
予測パラメータ格納手段16は、第1予測モデルに対応した予測パラメータを格納する第1予測モデルパラメータ格納手段17と、第2予測モデルに対応した予測パラメータを格納する第2予測モデルパラメータ格納手段18と、第3予測モデルに対応した予測パラメータを格納する第3予測モデルパラメータ格納手段19と、第4予測モデルに対応した予測パラメータを格納する第4予測モデルパラメータ格納手段20と、を具備している。予測モデルが4つである場合について示したが、予測パラメータ格納手段16は、選択できる予測モデルの数に応じて、予測モデルパラメータ格納手段を有しているものとする。
FIG. 6 is a block diagram showing the prediction parameter storage unit 16 in detail.
The prediction parameter storage unit 16 includes a first prediction model parameter storage unit 17 that stores a prediction parameter corresponding to the first prediction model, and a second prediction model parameter storage unit 18 that stores a prediction parameter corresponding to the second prediction model. A third prediction model parameter storage unit 19 for storing a prediction parameter corresponding to the third prediction model, and a fourth prediction model parameter storage unit 20 for storing a prediction parameter corresponding to the fourth prediction model. . Although the case where there are four prediction models has been described, the prediction parameter storage means 16 has prediction model parameter storage means according to the number of prediction models that can be selected.

図1に戻り、日次予測値計算手段25は、選択された予測モデルを用いて、推定された曜日ごとの予測パラメータを適用し、その日の製品需要予測値を計算する。   Returning to FIG. 1, the daily forecast value calculation means 25 applies the forecast parameter for each estimated day of the week using the selected forecast model, and calculates the product demand forecast value for that day.

図7は、日次予測値計算手段25を詳細に示すブロック図である。
日次予測値計算手段25は、第1予測モデル日次予測値計算手段26と、第2予測モデル日次予測値計算手段27と、第3予測モデル日次予測値計算手段28と、第4予測モデル日次予測値計算手段29と、を具備している。予測モデルが4つである場合について示したが、日次予測値計算手段25は、選択できる予測モデルの数に応じて、予測モデル日次予測値計算手段を有しているものとする。
FIG. 7 is a block diagram showing the daily forecast value calculation means 25 in detail.
The daily prediction value calculation means 25 includes a first prediction model daily prediction value calculation means 26, a second prediction model daily prediction value calculation means 27, a third prediction model daily prediction value calculation means 28, a fourth prediction model daily prediction value calculation means 28, A prediction model daily prediction value calculation means 29. Although the case where the number of prediction models is four is shown, the daily prediction value calculation unit 25 has a prediction model daily prediction value calculation unit according to the number of prediction models that can be selected.

第1予測モデル日次予測値計算手段26は、次式で表される第1予測モデルを用いて、その日の製品需要予測値fを計算する。第1予測モデルは、改良PNEモデルである。mは、予測しようとする日の前日の製品販売実績の値または製品需要予測値である。λ、γ、N、bは、予測パラメータである。   The first forecast model daily forecast value calculation means 26 calculates the product demand forecast value f of the day using the first forecast model expressed by the following formula. The first prediction model is an improved PNE model. m is the value of the product sales performance on the day before the day to be predicted or the product demand prediction value. λ, γ, N, and b are prediction parameters.

Figure 0005139967
Figure 0005139967

第2予測モデル日次予測値計算手段27は、次式で表される第2予測モデルを用いて、その日の製品需要予測値fを計算する。第2予測モデルは、改良Bassモデルである。mは、予測しようとする日の前日の製品販売実績の値または製品需要予測値である。λ、μ、N、bは、予測パラメータである。   The second forecast model daily forecast value calculation means 27 calculates the product demand forecast value f of the day using the second forecast model expressed by the following equation. The second prediction model is an improved Bass model. m is the value of the product sales performance on the day before the day to be predicted or the product demand prediction value. λ, μ, N, and b are prediction parameters.

Figure 0005139967
Figure 0005139967

第3予測モデル日次予測値計算手段28は、次式で表される第3予測モデルを用いて、その日の製品需要予測値fを計算する。第3予測モデルは、改良逆指数モデルである。mは、予測しようとする日の前日の製品販売実績の値または製品需要予測値である。λ、N、bは、予測パラメータである。   The third forecast model daily forecast value calculation means 28 calculates the product demand forecast value f of the day using the third forecast model expressed by the following equation. The third prediction model is an improved inverse exponential model. m is the value of the product sales performance on the day before the day to be predicted or the product demand prediction value. λ, N, and b are prediction parameters.

Figure 0005139967
Figure 0005139967

第4予測モデル日次予測値計算手段29は、次式で表される第4予測モデルを用いて、その日の製品需要予測値fを計算する。第4予測モデルは、改良ロジスティックモデルである。mは、予測しようとする日の前日の製品販売実績の値または製品需要予測値である。μ、N、bは、予測パラメータである。   The fourth forecast model daily forecast value calculation means 29 calculates the product demand forecast value f of the day using the fourth forecast model expressed by the following equation. The fourth prediction model is an improved logistic model. m is the value of the product sales performance on the day before the day to be predicted or the product demand prediction value. μ, N, and b are prediction parameters.

Figure 0005139967
Figure 0005139967

これらの予測モデルは一般的に好適な例を挙げたものであり、製品の種類や販売方法などに応じて、これらの予測モデルを変形して用いたり、別の予測モデルを用いたりしてもよい。   These prediction models are generally suitable examples, and depending on the type of product and sales method, these prediction models may be modified or used. Good.

なお、予測パラメータのうち、N,bの一方または両方は、予測しようとする期間内の各日において、所定の値(すなわち、この期間内において不変の一定の値)を用いるようにしてもよい。これらの予測モデルにおいて、Nの値は、マーケットの予想されるサイズ(普及の過程で十分な時間(日数)が経過した後の販売済み製品の数量の値)を表す。bの値は、予測に係る製品の正式販売前に(予測しようとする期間前に)、先行販売や予約販売などによって販売された商品の数量を表す。したがって、Nの値およびbの値は、予測しようとする期間内において実質的に変化しないものとして取り扱うことができる。   Of the prediction parameters, one or both of N and b may use a predetermined value (that is, a constant value that does not change within this period) on each day within the period to be predicted. . In these prediction models, the value of N represents the expected size of the market (the value of the quantity of products sold after sufficient time (days) has passed in the process of diffusion). The value of b represents the quantity of products sold by prior sales, reservation sales, or the like before the official sale of the product related to the prediction (before the period to be predicted). Therefore, the value of N and the value of b can be handled as those that do not substantially change within the period to be predicted.

図1に戻り、製品需要予測値計算手段33は、製品販売開始日格納手段15から製品販売開始日を読み取り、また、製品販売実績格納手段14から製品販売実績を読み取る。そして、日次予測値計算手段25を呼び出して、各日の製品需要予測値を計算させて、その値を得る。   Returning to FIG. 1, the product demand forecast value calculation means 33 reads the product sales start date from the product sales start date storage means 15 and reads the product sales record from the product sales record storage means 14. And the daily forecast value calculation means 25 is called, the product demand forecast value of each day is calculated, and the value is obtained.

予測期間指定手段32は、予測期間(予測しようとする期間)の指定を受け付ける。   The prediction period designating unit 32 receives designation of a prediction period (period to be predicted).

製品需要予測値格納手段34は、指定された予測期間について、製品需要予測値を格納する。   The product demand forecast value storage means 34 stores the product demand forecast value for the designated forecast period.

製品需要予測値出力手段35は、製品需要予測値格納手段34から製品需要予測値を読み取り、その情報を製品需要予測値情報36として外部に出力する。   The product demand predicted value output means 35 reads the product demand predicted value from the product demand predicted value storage means 34 and outputs the information as product demand predicted value information 36 to the outside.

製品販売実績・予測値表示手段37は、製品需要予測値格納手段34から製品需要予測値を読み取り、製品販売開始日格納手段15から製品販売開始日を読み取り、また、製品販売実績格納手段14から製品販売実績を読み取って、これらの情報を表示する。   The product sales performance / predicted value display means 37 reads the product demand predicted value from the product demand predicted value storage means 34, reads the product sales start date from the product sales start date storage means 15, and The product sales record is read and this information is displayed.

次に、製品販売実績入力手段12による入力手順について詳細に説明する。
図8は、製品販売実績の入力手順を詳細に示すフローチャートである。
Next, the input procedure by the product sales record input means 12 will be described in detail.
FIG. 8 is a flowchart showing in detail a procedure for inputting product sales results.

はじめに製品販売実績情報11を開く(ステップS101)。   First, product sales record information 11 is opened (step S101).

続いて、行番号iを1とする。すなわち、読み込み中の行番号を示すiを1すなわち1行目とする(ステップS102)。   Subsequently, the line number i is set to 1. That is, i indicating the line number being read is set to 1, that is, the first line (step S102).

製品販売情報の終端に達したか否かを判断する(ステップS103)。つまり、製品販売実績情報11のすべての行を読み込み終わるまで、以下の処理を繰り返す。
製品販売情報の終端に達した場合(ステップS103のYes)、ステップS111以下の処理へ進む。
製品販売情報の終端に達していない場合(ステップS103のNo)、次のステップS104以下の処理へ進む。
It is determined whether or not the end of the product sales information has been reached (step S103). That is, the following processing is repeated until all the rows of the product sales record information 11 are read.
If the end of the product sales information has been reached (Yes in step S103), the process proceeds to step S111 and subsequent steps.
If the end of the product sales information has not been reached (No in step S103), the process proceeds to the next step S104 and subsequent steps.

製品販売実績情報11のi行目から年月日を読み込み(ステップS104)、これを製品販売実績格納手段14のi行目に書き込む(ステップS105)。
続いて、この年月日の曜日を計算する(ステップS106)。そして、計算された曜日を製品販売実績格納手段14のi行目に書き込む(ステップS107)。
The date is read from the i-th line of the product sales record information 11 (step S104), and this is written to the i-th line of the product sales record storing means 14 (step S105).
Subsequently, the day of the week is calculated (step S106). Then, the calculated day of the week is written in the i-th row of the product sales record storage means 14 (step S107).

製品販売実績情報11のi行目から販売累積量を読み込み(ステップS108)、製品販売実績格納手段14のi行目に書き込む(ステップS109)。   The accumulated sales amount is read from the i-th line of the product sales record information 11 (step S108), and written in the i-th line of the product sales record storing means 14 (step S109).

すべての行を読み込み終わったら、製品販売実績情報11を閉じる(ステップS111)。
続いて、製品販売実績格納手段14に格納されているデータが年月日順(昇順)に並ぶように、すなわち、古いデータが最初の行に来るように並び替える(ステップS112)。
When all the rows have been read, the product sales record information 11 is closed (step S111).
Subsequently, the data stored in the product sales record storage means 14 is rearranged so that the data is arranged in the order of date (ascending order), that is, the old data comes to the first line (step S112).

製品販売実績情報11の入力が完了すると、図9に示すメイン画面600が、製品販売実績・予測値表示手段37(図1参照)に表示される。このメイン画面600の上部はグラフ、下部は表になっており、グラフと表の上部601が、製品販売実績・予測値表示手段37(図1参照)、表の下部602が製品販売開始日入力手段13(図1参照)となっている。   When the input of the product sales record information 11 is completed, the main screen 600 shown in FIG. 9 is displayed on the product sales record / predicted value display means 37 (see FIG. 1). The upper portion of the main screen 600 is a graph and the lower portion is a table. The upper portion 601 of the graph and the table is the product sales performance / predicted value display means 37 (see FIG. 1), and the lower portion 602 of the table is the product sales start date input. Means 13 (see FIG. 1).

グラフと表には、製品販売実績格納手段14に格納されている製品販売実績情報が表示される。また画面の右上には予測実行ボタン605がある。   Product sales performance information stored in the product sales performance storage means 14 is displayed in the graph and the table. There is a prediction execution button 605 on the upper right of the screen.

図9のメイン画面600中にある製品販売開始日入力手段13、すなわち符号602の部分の任意の枠をマウスでクリックすることで、その枠に対応する年月日が、製品販売開始日格納手段15(図1参照)に格納される。   When the product sales start date input means 13 in the main screen 600 of FIG. 9 is clicked with the mouse, that is, an arbitrary frame of the portion 602, the date corresponding to the frame is stored as the product sales start date storage means. 15 (see FIG. 1).

図4に示すような形で、製品販売開始日格納手段15は、製品販売開始日を格納する。   The product sales start date storage means 15 stores the product sales start date in the form as shown in FIG.

製品販売開始日格納手段15に製品販売開始日が格納されると、図10に示すメイン画面(販売開始日入力)のように、販売開始日に該当する符号602の部分に印(図10では黒丸印603)が表示され、またメイン画面上部のグラフ部分の当該年月日に対応する位置に縦の点線が表示され、そこが販売開始日であることを示す。   When the product sales start date is stored in the product sales start date storage means 15, as shown in the main screen (sales start date input) shown in FIG. A black circle 603) is displayed, and a vertical dotted line is displayed at a position corresponding to the date in the graph portion at the top of the main screen, indicating that this is the sales start date.

メイン画面右上にある予測実行ボタン605を押すと、図11に示す予測モデル選択および予測期間指定画面が表示される。この画面の上部701は予測モデル選択手段31(図1参照)であり、下部702は予測期間指定手段32(図1参照)である。   When the prediction execution button 605 at the upper right of the main screen is pressed, a prediction model selection and prediction period designation screen shown in FIG. 11 is displayed. The upper part 701 of this screen is the prediction model selection means 31 (see FIG. 1), and the lower part 702 is the prediction period designation means 32 (see FIG. 1).

本実施形態の需要予測装置1には、あらかじめ4種類の予測モデルが組み込まれていて、利用者は、それらのうちから1種類の予測モデルを選択できる。利用者がモデルを1つ選択すると、その選択したモデルを示す番号が予測モデル選択情報格納手段30(図1参照)に格納される。   In the demand prediction apparatus 1 of the present embodiment, four types of prediction models are incorporated in advance, and the user can select one type of prediction model from among them. When the user selects one model, a number indicating the selected model is stored in the prediction model selection information storage unit 30 (see FIG. 1).

図12に示すように、予測モデル選択情報格納手段30は、選択された予測モデルの番号が格納される。   As shown in FIG. 12, the prediction model selection information storage means 30 stores the number of the selected prediction model.

予測期間を予測期間指定手段32(図中の符号702)で指定し、「OK」ボタンを押すと、図13に示す予測期間指定処理が実行される。ここでは、製品需要予測値格納手段34(図1参照)に、予測期間中の予測値をすべて格納できるだけの領域を確保する処理が行われる。これを図13を用いて説明する。   When the prediction period is specified by the prediction period specifying means 32 (reference numeral 702 in the figure) and the “OK” button is pressed, the prediction period specifying process shown in FIG. 13 is executed. Here, the product demand prediction value storage means 34 (see FIG. 1) performs a process of securing an area that can store all the prediction values during the prediction period. This will be described with reference to FIG.

まず、予測期間指定手段32で指定された年月日をQとする(ステップS401)。
続いて、製品販売実績格納手段14より最終行すなわち最終実績の行の年月日を取得し、これをPとする(ステップS402)。
次に、製品需要予測値格納手段34をクリア(一行もない状態に)する(ステップS403)。図14のように、この段階での製品需要予測値格納手段34が、データが1行も無い状態となる。
First, the date designated by the forecast period designating means 32 is set to Q (step S401).
Subsequently, the date of the last line, that is, the line of the final result is acquired from the product sales result storage means 14, and this is set as P (step S402).
Next, the product demand forecast value storage means 34 is cleared (there is no line) (step S403). As shown in FIG. 14, the product demand forecast value storage means 34 at this stage is in a state where there is no data.

PがQよりも前の年月日である間(Pはこれから1日ずつ加算していくが、すべての予測期間の間)以下の処理を繰り返す(ステップS404〜S407)。   While P is the date before Q (P is added day by day, but during all prediction periods), the following processing is repeated (steps S404 to S407).

まず、Pに1日加算し、Pの年月日を1日進める(Pの翌日を、新たなPとする)(ステップS405)。
Pが示す年月日の曜日を計算し、これをwとする(ステップS406)。
First, one day is added to P, and the date of P is advanced by one day (the next day after P is set as a new P) (step S405).
The day of the week indicated by P is calculated, and is set as w (step S406).

製品需要予測値格納手段34に空の行(レコード)を1行追加し、この新しい行の年月日の列(フィールド)にPが示す年月日を、曜日の列(フィールド)にwを書き込む(ステップS407)。   An empty row (record) is added to the product demand forecast value storage means 34, the date indicated by P in the year / month / day column (field) of this new row, and w in the day of week column (field). Write (step S407).

以上の処理により、図15に示すように、製品需要予測値格納手段34は、予測期間の日数分の行を持ち、年月日と曜日が格納され、累積販売量の列が空欄である状態となる。   As a result of the above processing, as shown in FIG. 15, the product demand forecast value storage means 34 has rows for the number of days in the forecast period, stores the date and day of the week, and the column of the cumulative sales volume is blank. It becomes.

続いて、図1の予測パラメータ推定手段21により予測パラメータの値の推定処理が行われる。   Subsequently, the prediction parameter estimation means 21 in FIG. 1 performs a prediction parameter value estimation process.

予測パラメータ推定処理は、いわゆる当業者に一般に知られている公知の最適化技術を用いて行う。この技術には準ニュートン法であるBFGS法や実数値遺伝的アルゴリズムなどがある。   The prediction parameter estimation processing is performed using a known optimization technique generally known to those skilled in the art. This technology includes the BFGS method, which is a quasi-Newton method, and a real-valued genetic algorithm.

図16は、予測パラメータ推定処理を示すフローチャートの第1面であり、図17は、予測パラメータ推定処理を示すフローチャートの第2面である。
図16を参照すると、まず、予測モデル選択情報格納手段30から、選択された予測モデルの番号を取得しこれをkとする(ステップS201)。
続いて、予測パラメータ推定手段21が持つ、予測パラメータ初期化手段22により、第k予測モデルパラメータ格納手段(17〜20)のパラメータ値を初期化する(ステップS202)。
FIG. 16 is a first surface of a flowchart showing the prediction parameter estimation processing, and FIG. 17 is a second surface of the flowchart showing the prediction parameter estimation processing.
Referring to FIG. 16, first, the number of the selected prediction model is acquired from the prediction model selection information storage unit 30, and this is set as k (step S201).
Subsequently, the parameter values of the k-th prediction model parameter storage means (17 to 20) are initialized by the prediction parameter initialization means 22 of the prediction parameter estimation means 21 (step S202).

図18は、第1予測モデルパラメータ格納手段17(図6参照)に格納した第1予測モデルパラメータ情報801のデータリストを示す図である。
第1予測モデルパラメータ情報801は、各列が第1予測モデルのパラメータであるN,λ,γ,bに対応するフィールドに相当し、各行が日曜日から土曜日までの各曜日に対応したレコードに相当する。第1予測モデルパラメータ情報801は、曜日ごとに、N,λ,γ,bの値の情報を有している。
FIG. 18 is a diagram showing a data list of the first prediction model parameter information 801 stored in the first prediction model parameter storage unit 17 (see FIG. 6).
In the first prediction model parameter information 801, each column corresponds to a field corresponding to N, λ, γ, and b that are parameters of the first prediction model, and each row corresponds to a record corresponding to each day of the week from Sunday to Saturday. To do. The first prediction model parameter information 801 has information on values of N, λ, γ, and b for each day of the week.

図19は、第2予測モデルパラメータ格納手段18(図6参照)に格納した第2予測モデルパラメータ情報802のデータリストを示す図である。
第2予測モデルパラメータ情報802は、各列が第2予測モデルのパラメータであるN,λ,μ,bに対応するフィールドに相当し、各行が日曜日から土曜日までの各曜日に対応したレコードに相当する。第2予測モデルパラメータ情報802は、曜日ごとに、N,λ,μ,bの値の情報を有している。
FIG. 19 is a diagram showing a data list of the second prediction model parameter information 802 stored in the second prediction model parameter storage unit 18 (see FIG. 6).
In the second prediction model parameter information 802, each column corresponds to a field corresponding to N, λ, μ, and b that are parameters of the second prediction model, and each row corresponds to a record corresponding to each day of the week from Sunday to Saturday. To do. The second prediction model parameter information 802 has information on values of N, λ, μ, and b for each day of the week.

図20は、第3予測モデルパラメータ格納手段19(図6参照)に格納した第3予測モデルパラメータ情報803のデータリストを示す図である。
第3予測モデルパラメータ情報803は、各列が第3予測モデルのパラメータであるN,λ,bに対応するフィールドに相当し、各行が日曜日から土曜日までの各曜日に対応したレコードに相当する。第3予測モデルパラメータ情報803は、曜日ごとに、N,λ,bの値の情報を有している。
FIG. 20 is a diagram showing a data list of the third prediction model parameter information 803 stored in the third prediction model parameter storage unit 19 (see FIG. 6).
In the third prediction model parameter information 803, each column corresponds to a field corresponding to N, λ, b that is a parameter of the third prediction model, and each row corresponds to a record corresponding to each day of the week from Sunday to Saturday. The third prediction model parameter information 803 has information on the values of N, λ, and b for each day of the week.

図21は、第4予測モデルパラメータ格納手段20(図6参照)に格納した第4予測モデルパラメータ情報804のデータリストを示す図である。
第4予測モデルパラメータ情報804は、各列が第4予測モデルのパラメータであるN,μ,bに対応するフィールドに相当し、各行が日曜日から土曜日までの各曜日に対応したレコードに相当する。第4予測モデルパラメータ情報804は、曜日ごとに、N,μ,bの値の情報を有している。
FIG. 21 is a diagram showing a data list of the fourth prediction model parameter information 804 stored in the fourth prediction model parameter storage unit 20 (see FIG. 6).
In the fourth prediction model parameter information 804, each column corresponds to a field corresponding to N, μ, and b that are parameters of the fourth prediction model, and each row corresponds to a record corresponding to each day of the week from Sunday to Saturday. The fourth prediction model parameter information 804 includes information on values of N, μ, and b for each day of the week.

本実施形態では予測モデルを4種類から選択可能であり、これに対応して第1〜第4予測モデルパラメータ格納手段(17〜20)を有している。それぞれの予測モデルごとに、曜日ごとに予測モデルのパラメータを格納する領域を持っている。   In the present embodiment, the prediction model can be selected from four types, and correspondingly, first to fourth prediction model parameter storage means (17 to 20) are provided. Each prediction model has an area for storing prediction model parameters for each day of the week.

図16に戻り、予測パラメータ初期化手段22は、使用する最適化技術によって異なるが、例えば実数値遺伝的アルゴリズムであれば、ランダムな実数値に初期化を行う(ステップS202)。   Returning to FIG. 16, the prediction parameter initialization means 22 is initialized to a random real value if it is a real value genetic algorithm, for example, depending on the optimization technique used (step S202).

前回の誤差epを無限大の値に初期化しておく(ステップS203)。なお、これはループの終了判断に用い、最初のループでは前回の値が存在しないため、仮に無限大にしている。   The previous error ep is initialized to an infinite value (step S203). This is used to determine the end of the loop, and since the previous value does not exist in the first loop, it is assumed to be infinite.

続いて今回の誤差eを0に初期化する(ステップS204)。
製品販売開始日格納手段15より、製品販売開始日を取得し、製品販売開始日と同じ年月日を製品販売実績格納手段14の年月日の列で探す。この年月日のある行番号を、行番号iとする(ステップS205)。
Subsequently, the current error e is initialized to 0 (step S204).
The product sales start date is acquired from the product sales start date storage means 15, and the same date as the product sales start date is searched for in the date column of the product sales result storage means 14. The row number with this date is set to the row number i (step S205).

図17へ移り、行番号iが製品販売実績格納手段14の最終行になるまで、以下の処理を繰り返す(ステップS211〜S217)。   17, the following processing is repeated until the line number i becomes the last line of the product sales record storage means 14 (steps S211 to S217).

製品販売実績格納手段14のi行目の累積販売量をm0とし(ステップS212)、i+1行目の累積販売量をm1とし(ステップS213)、i+1行目の曜日をwとする(ステップS214)。   The cumulative sales volume in the i-th row of the product sales record storage means 14 is set to m0 (step S212), the cumulative sales volume in the i + 1-th row is set to m1 (step S213), and the day of the week in the i + 1-th row is set to w (step S214). .

日次予測値計算手段25に、m0、wを渡し、予測値を取得し、この予測値をf1とする(ステップS215)。   The m0 and w are passed to the daily predicted value calculation means 25, a predicted value is acquired, and this predicted value is set to f1 (step S215).

当該日の予測誤差e1を、m1−f1により求める。
これは図22に示すように、i日目の販売実績値m0をもとに、i+1日目の予測値f1を計算し、このf1とi+1日目の販売実績値m1との差を誤差e1としている。
図17に戻り、この誤差e1の二乗を、はじめに0に初期化していたeに加算する(ステップS216)。
The prediction error e1 for the day is obtained by m1-f1.
As shown in FIG. 22, based on the sales performance value m0 on the i-th day, the predicted value f1 on the i + 1-th day is calculated, and the difference between this f1 and the sales performance value m1 on the i + 1-th day is calculated as an error e1. It is said.
Returning to FIG. 17, the square of the error e1 is added to e that was initially initialized to 0 (step S216).

行番号iを1ずつ増やして(ステップS217)、iが製品販売実績格納手段14の最終行になるまで各日ごとの予測値の二乗誤差をeに順次加算していく。   The line number i is incremented by 1 (step S217), and the square error of the predicted value for each day is sequentially added to e until i becomes the last line of the product sales record storage means 14.

このようにして、販売実績値が存在する期間のうち、製品販売開始日入力手段13から入力された製品販売開始日以降の期間について予測値の二乗誤差の累計eを計算する。   In this way, the cumulative e of the square error of the predicted value is calculated for the period after the product sales start date input from the product sales start date input means 13 in the period in which the sales record value exists.

二乗誤差の累計値eが算出されると、この値と前回の誤差epを比較し、この差の絶対値があらかじめ定めた閾値よりも小さいときに、終了条件を満たしたと判断する(ステップS221のYes)。   When the squared error accumulated value e is calculated, this value is compared with the previous error ep, and when the absolute value of the difference is smaller than a predetermined threshold value, it is determined that the termination condition is satisfied (in step S221). Yes).

終了条件が満たされていない場合(ステップS221のNo)、図1の予測パラメータ更新手段23により第k予測モデル予測パラメータ格納手段(17〜20)のパラメータ値を初期化する(ステップS222)。更新方法は、使用する最適化技術によって異なるが、例えば実数値遺伝的アルゴリズムであれば、交叉、突然変異によって更新が行われる。   When the end condition is not satisfied (No in step S221), the parameter value of the k-th prediction model prediction parameter storage unit (17 to 20) is initialized by the prediction parameter update unit 23 of FIG. 1 (step S222). The update method differs depending on the optimization technique used. For example, in the case of a real-valued genetic algorithm, the update is performed by crossover or mutation.

その後、前回の誤差epにeを代入し(ステップS223)、行番号iを1増やす(ステップS224).
更新された予測モデルのパラメータについて、二乗誤差の累計値eを計算する処理を繰り返す(ステップS204以下)。
Thereafter, e is substituted for the previous error ep (step S223), and the row number i is incremented by 1 (step S224).
The process of calculating the square error cumulative value e is repeated for the updated prediction model parameters (step S204 and subsequent steps).

終了条件が満たされたら(ステップS221のYes)、予測パラメータの推定を終了する。   When the termination condition is satisfied (Yes in step S221), the estimation of the prediction parameter is terminated.

図1の日次予測値計算手段25は、図23,図24に示す手順によって、外部から前日の値(前日の値とは、前日の販売実績値または、前日の需要予測値のいずれかである)と、当日の曜日wを受け取り、当日の日次予測値を計算する。   The daily forecast value calculation means 25 in FIG. 1 performs the procedure shown in FIGS. 23 and 24 from the outside on the previous day value (the previous day value is either the previous day sales actual value or the previous day demand forecast value). If yes, the current day of the week w is received and the daily forecast value for that day is calculated.

はじめに、予測モデル選択情報格納手段30から、選択された予測モデルの番号を取得し、これをkとする(ステップS301)。
kが1の場合(ステップS302のYes)、第1予測モデル日次予測値計算手段26により日次予測値の計算を行う(ステップS303,S304)。
kが2の場合(ステップS305のYes)、第2予測モデル日次予測値計算手段27により日次予測値の計算を行う(ステップS306,S307)。
kが3の場合(ステップS308のYes)、第3予測モデル日次予測値計算手段28により日次予測値の計算を行う(ステップS309,S310)。
kが上記のいずれでもない場合(ステップS302,S305,S308のいずれもNo)、本実施例ではkは4であるので、第4予測モデル日次予測値計算手段29により日次予測値の計算を行う(ステップS311,S312)。
First, the number of the selected prediction model is acquired from the prediction model selection information storage unit 30, and this is set as k (step S301).
When k is 1 (Yes in step S302), the first predicted model daily predicted value calculation means 26 calculates the daily predicted value (steps S303 and S304).
When k is 2 (Yes in step S305), the daily prediction value is calculated by the second prediction model daily prediction value calculation means 27 (steps S306 and S307).
When k is 3 (Yes in step S308), the third predicted model daily predicted value calculation means 28 calculates the daily predicted value (steps S309 and S310).
If k is none of the above (No in steps S302, S305, and S308), k is 4 in the present embodiment, and thus the fourth prediction model daily prediction value calculation means 29 calculates the daily prediction value. (Steps S311 and S312).

第1予測モデル日次予測値計算手段26は、第1予測モデルパラメータ格納手段17からパラメータを取得し、式1により予測値を計算する。
第2予測モデル日次予測値計算手段27は、第2予測モデルパラメータ格納手段18からパラメータを取得し、式2により予測値を計算する。
第3予測モデル日次予測値計算手段28は、第3予測モデルパラメータ格納手段19からパラメータを取得し、式3により予測値を計算する。
第4予測モデル日次予測値計算手段29は、第4予測モデルパラメータ格納手段20からパラメータを取得し、式4により予測値を計算する。
The first prediction model daily prediction value calculation means 26 acquires parameters from the first prediction model parameter storage means 17 and calculates a prediction value by Equation 1.
The second prediction model daily prediction value calculation means 27 acquires parameters from the second prediction model parameter storage means 18 and calculates a prediction value by Expression 2.
The third prediction model daily prediction value calculation means 28 acquires parameters from the third prediction model parameter storage means 19 and calculates the prediction value by Expression 3.
The fourth prediction model daily prediction value calculation means 29 acquires parameters from the fourth prediction model parameter storage means 20 and calculates a prediction value by Expression 4.

予測モデルのパラメータの推定が終わると、図1の製品需要予測値計算手段33により、製品需要予測値の計算が行われる。   When the estimation of the parameters of the prediction model ends, the product demand prediction value is calculated by the product demand prediction value calculation means 33 in FIG.

この処理を図25を用いて説明する。
まず、製品販売実績格納手段14より、最終行の累積販売量を取得し、これをpとする(ステップS501)。
This process will be described with reference to FIG.
First, the cumulative sales volume of the last line is acquired from the product sales record storage means 14, and this is set to p (step S501).

また、行番号iを1とする(ステップS502)。
行番号iが、製品需要予測値格納手段34の行数を超えるまで、以下の処理を繰り返す(ステップS503〜S508)。
The line number i is set to 1 (step S502).
The following processing is repeated until the row number i exceeds the number of rows in the product demand forecast value storage means 34 (steps S503 to S508).

製品需要予測値格納手段34のi行目の曜日を取得しwとする(ステップS504)。   The day of the i-th row of the product demand forecast value storage means 34 is acquired and set to w (step S504).

日次予測値計算手段25にpとwを渡す。
ここで、図23,図24の前日の販売実績値m0にこのpの値が、当日の曜日wにこのwの値が入力される。
すると、日次予測値が計算されるので、これをfとする(ステップS505)。
P and w are passed to the daily forecast value calculation means 25.
Here, the value of p is input to the sales performance value m0 of the previous day in FIGS. 23 and 24, and the value of w is input to the day of the week w of the day.
Then, since a daily forecast value is calculated, it is set as f (step S505).

製品需要予測値格納手段34のi行目の累積予測値にfの値を書き込む(ステップS506)。
続いて、pにfの値を代入し(ステップS507)、行番号iを1増やし(ステップS508)、順次、次の日の予測値を計算していく。
The value of f is written in the cumulative predicted value of the i-th line of the product demand predicted value storage means 34 (step S506).
Subsequently, the value of f is substituted for p (step S507), the line number i is incremented by 1 (step S508), and the predicted value of the next day is sequentially calculated.

これは、図2に示すように、予測1日目は、最終販売実績値から計算され、その後は1日目の予測値から2日目の予測値、2日目の予測値から3日目の予測値というように順次、予測を伸ばしていく処理となる。 As shown in FIG. 26 , this is calculated from the final sales result value on the first day of the forecast, and then the forecast value on the second day from the forecast value on the first day, and the third day from the forecast value on the second day. This is a process of increasing the prediction sequentially, such as the predicted value of the eye.

以上の処理が終わると、製品需要予測値格納手段34は図28に例示するように、累積予測値の列に値が設定された状態になる。   When the above processing is completed, the product demand prediction value storage means 34 is in a state where a value is set in the column of cumulative prediction values as illustrated in FIG.

また、図27に示すように、メイン画面600には、製品需要予測値格納手段34に格納された製品需要予測値がグラフと表で表示される。この例では、予測値は点線に白抜きの丸印で表示される。   Further, as shown in FIG. 27, the main screen 600 displays the product demand forecast value stored in the product demand forecast value storage means 34 in a graph and a table. In this example, the predicted value is displayed as a white circle on the dotted line.

また、図1の製品需要予測値出力手段35が図29に示す手順により、製品需要予測値格納手段34の内容を、製品需要予測値情報36に出力する。   Further, the product demand forecast value output means 35 of FIG. 1 outputs the contents of the product demand forecast value storage means 34 to the product demand forecast value information 36 according to the procedure shown in FIG.

製品需要予測値情報36は図30に示すような形式である。   The product demand forecast value information 36 has a format as shown in FIG.

製品需要予測値出力の手順を図29を用いて説明する。   The product demand forecast value output procedure will be described with reference to FIG.

まず、製品需要予測値情報36を開き(ステップS601)、製品需要予測値情報36を空にする(ステップS602)。   First, the product demand predicted value information 36 is opened (step S601), and the product demand predicted value information 36 is emptied (step S602).

行番号iを1とする(ステップS603)。   The line number i is set to 1 (step S603).

製品需要予測値格納手段34のすべての行を出力するまで、以下の処理を繰り返す(ステップS604〜S610)。   The following processing is repeated until all rows of the product demand predicted value storage unit 34 are output (steps S604 to S610).

製品需要予測値格納手段34のi行目から年月日を読み込み(ステップS605)、製品需要予測値情報36のi行目に書き込む(ステップS606)。   The date is read from the i-th line of the product demand forecast value storage means 34 (step S605), and written to the i-th line of the product demand forecast value information 36 (step S606).

製品需要予測値格納手段34のi行目から曜日を読み込み(ステップS607)、製品需要予測値情報36のi行目に書き込む(ステップS608)。
製品需要予測値格納手段34のi行目から累積予測値を読み込み、製品需要予測値情報36のi行目に書き込む(ステップS609)。
行番号iを1増やし(ステップS610)、次の行の処理を順次行う。
The day of the week is read from the i-th row of the product demand forecast value storage means 34 (step S607), and written in the i-th row of the product demand forecast value information 36 (step S608).
The cumulative predicted value is read from the i-th line of the product demand predicted value storage means 34 and written to the i-th line of the product demand predicted value information 36 (step S609).
The line number i is incremented by 1 (step S610), and the next line is sequentially processed.

<第2実施形態>
図31は、本発明による第2実施形態の需要予測装置1bの全体構成を示すブロック図である。
この需要予測装置1bは、第1実施形態の需要予測装置1の構成に加えて、さらに期日属性情報41を入力するための期日属性入力手段42と、期日属性情報41を格納する期日属性格納手段43とを備えている。
Second Embodiment
FIG. 31 is a block diagram showing the overall configuration of the demand prediction apparatus 1b according to the second embodiment of the present invention.
In addition to the configuration of the demand prediction apparatus 1 of the first embodiment, the demand prediction apparatus 1b further includes a due date attribute input means 42 for inputting due date attribute information 41, and a due date attribute storage means for storing due date attribute information 41. 43.

期日属性情報41には、例えば、国民の祝日、行政機関や企業などの休日、団体等に所属する構成員が任意にまたは強制されて取得する休暇、製品の購買に関連するイベントの期間などが記載されている。   The date attribute information 41 includes, for example, national holidays, holidays such as administrative bodies and companies, vacations that members belonging to organizations, etc. arbitrarily or forcibly acquire, and periods of events related to product purchases. Have been described.

予測パラメータ推定手段21,製品需要予測値計算手段33および製品販売実績・予測値表示手段37は、予測しようとする日の曜日に加えて(または、これに優先して)、期日属性格納手段43に格納された期日属性情報41を参照し、処理を行う。   The prediction parameter estimation means 21, the product demand prediction value calculation means 33, and the product sales performance / prediction value display means 37, in addition to (or in preference to) the day of the week to be predicted, the due date attribute storage means 43 The processing is performed with reference to the due date attribute information 41 stored in.

本発明による第1実施形態の需要予測装置の全体構成を示すブロック図である。It is a block diagram which shows the whole structure of the demand prediction apparatus of 1st Embodiment by this invention. 需要予測装置に入力される製品販売実績情報のデータリストを示す図である。It is a figure which shows the data list of the product sales performance information input into a demand prediction apparatus. 製品販売実績格納手段に格納した製品販売実績情報のデータリストを示す図である。It is a figure which shows the data list of the product sales performance information stored in the product sales performance storage means. 製品販売開始日格納手段に格納した製品販売開始日情報のデータリストを示す図である。It is a figure which shows the data list of the product sales start date information stored in the product sales start date storage means. 予測パラメータ推定手段を詳細に示すブロック図である。It is a block diagram which shows a prediction parameter estimation means in detail. 予測パラメータ格納手段を詳細に示すブロック図である。It is a block diagram which shows a prediction parameter storage means in detail. 日次予測値計算手段を詳細に示すブロック図である。It is a block diagram which shows a daily forecast value calculation means in detail. 製品販売実績の入力手順を詳細に示すフローチャートである。It is a flowchart which shows the input procedure of a product sales performance in detail. 製品販売実績・予測値表示手段(図1参照)に表示されるメイン画面を示す画面図である(製品販売実績情報読み込み後)。It is a screen figure which shows the main screen displayed on a product sales performance and prediction value display means (refer FIG. 1) (after product sales performance information reading). 製品販売実績・予測値表示手段(図1参照)に表示されるメイン画面を示す画面図である(販売開始日入力)。It is a screen figure which shows the main screen displayed on a product sales performance and prediction value display means (refer FIG. 1) (sales start date input). 予測モデル選択および予測期間指定画面を示す画面図である。It is a screen figure which shows a prediction model selection and prediction period designation | designated screen. 予測モデル選択情報格納手段に格納された、選択された予測モデルの番号のデータリストを示す図である。It is a figure which shows the data list of the number of the selected prediction model stored in the prediction model selection information storage means. 予測期間指定処理を示すフローチャートである。It is a flowchart which shows a prediction period designation | designated process. クリアされた状態の製品需要予測値格納手段の内容のデータリストを示す図である。It is a figure which shows the data list of the content of the product demand predicted value storage means of the cleared state. 製品需要予測値格納手段に格納された予測期間指定後の製品需要予測値情報のデータリストを示す図である。It is a figure which shows the data list of the product demand forecast value information after the forecast period specification stored in the product demand forecast value storage means. 予測パラメータ推定処理を示すフローチャートの第1面である。It is a 1st surface of the flowchart which shows a prediction parameter estimation process. 予測パラメータ推定処理を示すフローチャートの第2面である。It is a 2nd surface of the flowchart which shows a prediction parameter estimation process. 第1予測モデルパラメータ格納手段(図6参照)に格納した第1予測モデルパラメータ情報のデータリストを示す図である。It is a figure which shows the data list of the 1st prediction model parameter information stored in the 1st prediction model parameter storage means (refer FIG. 6). 第2予測モデルパラメータ格納手段(図6参照)に格納した第2予測モデルパラメータ情報のデータリストを示す図である。It is a figure which shows the data list of the 2nd prediction model parameter information stored in the 2nd prediction model parameter storage means (refer FIG. 6). 第3予測モデルパラメータ格納手段(図6参照)に格納した第3予測モデルパラメータ情報のデータリストを示す図である。It is a figure which shows the data list of the 3rd prediction model parameter information stored in the 3rd prediction model parameter storage means (refer FIG. 6). 第4予測モデルパラメータ格納手段(図6参照)に格納した第4予測モデルパラメータ情報のデータリストを示す図である。It is a figure which shows the data list of the 4th prediction model parameter information stored in the 4th prediction model parameter storage means (refer FIG. 6). 製品販売実績がある期間の予測の方法を具体的に示す説明図である。It is explanatory drawing which shows the method of prediction of a period with a product sales track record concretely. 日次予測値計算処理を示すフローチャートの第1面である。It is a 1st surface of the flowchart which shows a daily forecast value calculation process. 日次予測値計算処理を示すフローチャートの第2面である。It is a 2nd surface of the flowchart which shows a daily forecast value calculation process. 製品需要予測値計算処理を示すフローチャートである。It is a flowchart which shows a product demand predicted value calculation process. 製品販売実績がない期間の予測の方法を具体的に示す説明図である。It is explanatory drawing which shows the method of the prediction of a period without a product sales track record concretely. 製品販売実績・予測値表示手段(図1参照)に表示されるメイン画面を示す画面図である(予測後)。It is a screen figure which shows the main screen displayed on a product sales performance and prediction value display means (refer FIG. 1) (after prediction). 製品需要予測値格納手段に格納された予測実行後の製品需要予測値情報のデータリストを示す図である。It is a figure which shows the data list of the product demand forecast value information after the forecast execution stored in the product demand forecast value storage means. 製品需要予測値出力処理を示すフローチャートである。It is a flowchart which shows a product demand predicted value output process. 出力される製品需要予測値情報のデータリストを示す図である。It is a figure which shows the data list of the product demand forecast value information output. 本発明による第2実施形態の需要予測装置の全体構成を示すブロック図である。It is a block diagram which shows the whole structure of the demand prediction apparatus of 2nd Embodiment by this invention.

符号の説明Explanation of symbols

1 需要予測装置(第1実施形態)
1b 需要予測装置(第2実施形態)
11 製品販売実績情報
12 製品販売実績入力手段
13 製品販売開始日入力手段
14 製品販売実績格納手段
15 製品販売開始日格納手段
16 予測パラメータ格納手段
17 第1予測モデルパラメータ格納手段
18 第2予測モデルパラメータ格納手段
19 第3予測モデルパラメータ格納手段
20 第4予測モデルパラメータ格納手段
21 予測パラメータ推定手段
22 予測パラメータ初期化手段
23 予測パラメータ更新手段
25 日次予測値計算手段
26 第1予測モデル日次予測値計算手段
27 第2予測モデル日次予測値計算手段
28 第3予測モデル日次予測値計算手段
29 第4予測モデル日次予測値計算手段
30 予測モデル選択情報格納手段
31 予測モデル選択手段
32 予測期間指定手段
33 製品需要予測値計算手段
34 製品需要予測値格納手段
35 製品需要予測値出力手段
36 製品需要予測値情報
37 製品販売実績・予測値表示手段
41 期日属性情報
42 期日属性入力手段
43 期日属性格納手段
200 製品販売実績情報
300 製品販売開始日情報
1 Demand forecasting device (first embodiment)
1b Demand prediction device (second embodiment)
DESCRIPTION OF SYMBOLS 11 Product sales performance information 12 Product sales performance input means 13 Product sales start date input means 14 Product sales performance storage means 15 Product sales start date storage means 16 Prediction parameter storage means 17 First prediction model parameter storage means 18 Second prediction model parameter Storage means 19 Third prediction model parameter storage means 20 Fourth prediction model parameter storage means 21 Prediction parameter estimation means 22 Prediction parameter initialization means 23 Prediction parameter update means 25 Daily prediction value calculation means 26 First prediction model daily prediction value Calculation means 27 Second prediction model daily prediction value calculation means 28 Third prediction model daily prediction value calculation means 29 Fourth prediction model daily prediction value calculation means 30 Prediction model selection information storage means 31 Prediction model selection means 32 Prediction period Designation means 33 Product demand forecast value calculation means 3 Product demand forecast value storage means 35 Product demand forecast value output means 36 Product demand forecast value information 37 Product sales performance / predicted value display means 41 Due date attribute information 42 Due date attribute input means 43 Due date attribute storage means 200 Product sales performance information 300 Product sales Start date information

Claims (5)

新製品の製品需要予測値を予測モデルに当てはめて予測する需要予測装置であって、
前記予測モデルに適用する曜日ごとの予測パラメータを推定する予測パラメータ推定手段と、
予測しようとする日の曜日に対応する前記予測パラメータを用いて、前記予測モデルによって前記予想しようとする日の前記製品需要予測値を計算する日次予測値計算手段と、
前記日次予測値計算手段を予測しようとする期間の日ごとに呼び出して当該期間内の各日の前記製品需要予測値を計算させる製品需要予測値計算手段と、を具備し
前記予測モデルは、
予測1日目の前記製品需要予測値を最終販売実績値から計算するとともに、予測2日目以降の前記製品需要予測値を前日の前記製品需要予測値から計算するものであり、
前記最終販売実績値または前記予測しようとする日の前日の前記製品需要予測値をm、前記予測しようとする日の曜日の前記予測モデルの予測パラメータをλ、γ、μ、N、bとすると、当該予測しようとする日の前記製品需要予測値fが、下記4つの数式のいずれかで表される
ことを特徴とする需要予測装置。
Figure 0005139967

Figure 0005139967

Figure 0005139967

Figure 0005139967
A demand forecasting device that predicts a product demand forecast value of a new product by applying it to a forecasting model,
Prediction parameter estimation means for estimating a prediction parameter for each day of the week to be applied to the prediction model;
Daily forecast value calculation means for calculating the product demand forecast value of the day to be forecasted by the forecast model using the forecast parameter corresponding to the day of the week to be forecasted;
Anda product demand forecast value calculating means for calculating the product demand forecast value for each day within the period call for each day of the period to be predicted the daily predicted value calculating means,
The prediction model is
The product demand forecast value on the first day of forecast is calculated from the final sales actual value, and the product demand forecast value on and after the second day of forecast is calculated from the product demand forecast value on the previous day,
Assuming that the final sales performance value or the product demand forecast value on the day before the forecast date is m, and the forecast parameters of the forecast model for the day of the forecast date are λ, γ, μ, N, and b. The demand forecasting device f is characterized in that the product demand forecast value f on the day to be forecasted is represented by one of the following four mathematical formulas .
Figure 0005139967

Figure 0005139967

Figure 0005139967

Figure 0005139967
前記予測パラメータ推定手段は、前記予測パラメータを、前記新製品の製品販売実績の各日の値と、当該製品販売実績が存在する期間における各日の前記製品需要予測値との二乗誤差をおのおの計算し、当該販売実績が存在する期間全体の、前記二乗誤差の累計が最小になるように推定することを特徴とする請求項1に記載の需要予測装置。 The prediction parameter estimation means calculates the prediction parameter for each square error between the value of each day of the product sales performance of the new product and the product demand prediction value of each day in the period in which the product sales performance exists. and, demand prediction apparatus according to claim 1, characterized in that the entire time period in which the sales history is present, total of the square error is estimated as a minimum. 製品販売開始日の入力を受け付ける製品販売開始日入力手段を有し、
前記予測パラメータ推定手段は、前記製品販売実績の値が存在する期間のうち、前記製品販売開始日以降の期間の各日について前記予測パラメータを推定する、
ことを特徴とする請求項に記載の需要予測装置。
It has a product sales start date input means that accepts the input of the product sales start date,
The prediction parameter estimation means estimates the prediction parameter for each day of the period after the product sales start date in the period in which the value of the product sales performance exists.
The demand forecasting device according to claim 2 characterized by things.
複数の前記予測モデルからひとつの選択を受け付ける予測モデル選択手段を有し、
前記日次予測値計算手段は、複数の前記予測モデルに対応する複数の予測モデル別日次予測値計算手段を有し、前記予測モデル選択手段によって選択された前記予測モデルの前記予測パラメータを用いて前記予想しようとする日の前記製品需要予測値を計算する、
ことを特徴とする請求項1に記載の需要予測装置。
A prediction model selection unit that accepts one selection from the plurality of prediction models;
The daily prediction value calculation means includes a plurality of prediction model-specific daily prediction value calculation means corresponding to the plurality of prediction models, and uses the prediction parameters of the prediction model selected by the prediction model selection means. Calculating the product demand forecast value for the day to be forecasted,
The demand prediction apparatus according to claim 1, wherein:
前記日次予測値計算手段は、前記予測しようとする期間内で、前記予測パラメータのうち、Nまたはbに所定の値を用いることを特徴とする請求項に記載の需要予測装置。 The demand forecasting device according to claim 1 , wherein the daily forecast value calculation means uses a predetermined value for N or b among the forecast parameters within the period to be forecasted.
JP2008324664A 2008-12-19 2008-12-19 Demand forecasting device Active JP5139967B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008324664A JP5139967B2 (en) 2008-12-19 2008-12-19 Demand forecasting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008324664A JP5139967B2 (en) 2008-12-19 2008-12-19 Demand forecasting device

Publications (2)

Publication Number Publication Date
JP2010146413A JP2010146413A (en) 2010-07-01
JP5139967B2 true JP5139967B2 (en) 2013-02-06

Family

ID=42566768

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008324664A Active JP5139967B2 (en) 2008-12-19 2008-12-19 Demand forecasting device

Country Status (1)

Country Link
JP (1) JP5139967B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10510012B2 (en) * 2014-04-28 2019-12-17 Microsoft Technology Licensing Llc Real time interactive prediction
JP7023456B2 (en) * 2018-01-16 2022-02-22 沖電気工業株式会社 Demand forecasting equipment, demand forecasting methods, and programs
KR102544879B1 (en) * 2022-08-05 2023-06-20 주식회사 에스티엘 Server, method and program for predicting traffic patterns based on business to consumer order data

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08123884A (en) * 1994-06-10 1996-05-17 Oki Electric Ind Co Ltd Fund demand prediction system for automatic transaction device
JPH10228461A (en) * 1997-02-17 1998-08-25 Hitachi Ltd Demand prediction method
JP2003346070A (en) * 2002-05-27 2003-12-05 Matsushita Electric Works Ltd Demand prediction method and demand prediction system
JP3994910B2 (en) * 2003-05-08 2007-10-24 株式会社日立製作所 Electricity trading support system
JP2005258799A (en) * 2004-03-11 2005-09-22 Olympus Corp Demand forecasting device, demand forecasting method, computer program, and computer-readable recording medium

Also Published As

Publication number Publication date
JP2010146413A (en) 2010-07-01

Similar Documents

Publication Publication Date Title
JP6819607B2 (en) Information processing system, information processing method and information processing program
US20080172287A1 (en) Automated Domain Determination in Business Logic Applications
US20070050237A1 (en) Visual designer for multi-dimensional business logic
US20120284086A1 (en) Fuel store profit optimization
CN101777147A (en) Forecast modeling
EP2082365A2 (en) Price markdown apparatus
JPH10143490A (en) Demand prediction method, demand prediction system and recording medium
US20140278711A1 (en) Systems Engineering Lifecycle Cost Estimation
US20210110413A1 (en) Systems and methods for dynamic demand sensing
US20120330724A1 (en) Fuel pricing
US20120209660A1 (en) Fuel price data generation
JP5139967B2 (en) Demand forecasting device
CN111784385A (en) Manufacturing industry-oriented client portrait construction method and device and computer storage medium
US20160328734A1 (en) Balancing inventory by personalized transition planning
US11238482B1 (en) Method and system for managing clearance items
CN105900120A (en) Product data analysis
JP2009129090A (en) Stock level decision supporting device
JP2005316932A (en) Method of creating production plan of demand variation input type and method of creating production plan minimizing risk of demand variations
US20120198366A1 (en) Fuel price data display
JP2010108078A (en) Demand prediction device
KR20180115146A (en) Intuitive user interface providing system and method
US20160300180A1 (en) Product data analysis
Kholidasari The implications of judgemental interventions into an inventory system
US20220245573A1 (en) Risk-aware and strategy-adaptive consumption planning for process and manufacturing plants
WO2020023763A1 (en) System and method for predicting stock on hand with predefined markdown plans

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110215

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120709

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120717

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120907

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20121023

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121116

R150 Certificate of patent or registration of utility model

Ref document number: 5139967

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151122

Year of fee payment: 3

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250