JP2007018216A - Reasonable inventory quantity calculation system and reasonable inventory quantity calculation method - Google Patents

Reasonable inventory quantity calculation system and reasonable inventory quantity calculation method Download PDF

Info

Publication number
JP2007018216A
JP2007018216A JP2005198492A JP2005198492A JP2007018216A JP 2007018216 A JP2007018216 A JP 2007018216A JP 2005198492 A JP2005198492 A JP 2005198492A JP 2005198492 A JP2005198492 A JP 2005198492A JP 2007018216 A JP2007018216 A JP 2007018216A
Authority
JP
Japan
Prior art keywords
data
sales
period
calculating
sales volume
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.)
Pending
Application number
JP2005198492A
Other languages
Japanese (ja)
Inventor
Masaru Hosoi
優 細井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2005198492A priority Critical patent/JP2007018216A/en
Publication of JP2007018216A publication Critical patent/JP2007018216A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To calculate reasonable inventory quantity under the consideration of the temporal change of merchandise characteristics based on the past time-sequential data. <P>SOLUTION: This reasonable inventory quantity calculation system comprises: steps S411 to S413 for computing a regression formula with sales quantity data as criterion variables and with factor data as explanatory variables with respect to each of a plurality of predetermined object periods; a step S415 for selecting the regression formula for calculating a sales quantity decision term prediction value as the prediction value of sales quantity in the optimal regression formula decision term from the factor data in the optimal regression formula decision term by each regression formula, and calculating the sales quantity decision term prediction value which is the closest to the value in the optimal regression formula decision term of the sales quantity data as the optimal regression formula; and a step S416 for calculating the sales quantity pertinent term prediction value as a prediction value in the current term of the sales quantity by the optimal regression formula from the current factor data. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、適正在庫量算出システム及び適正在庫算出方法に関し、特に、売上実績と売上に影響を与える要因とに基づいて適正在庫量を算出する適正在庫量算出システム及び適正在庫量算出方法に関する。   The present invention relates to an appropriate inventory quantity calculation system and an appropriate inventory calculation method, and more particularly to an appropriate inventory quantity calculation system and an appropriate inventory quantity calculation method for calculating an appropriate inventory quantity based on sales results and factors that affect sales.

適正な在庫を保有することは、過剰在庫は損失に結びつき、欠品は利益の逸失に結びつくことから、事業経営上重要な課題である。とりわけ、適正在庫量を判断するための基礎となる売上予測を精度良く行うことは重要である。ここで、売上予測を担当者の経験や勘に委ねることとすると、担当者によって予測の良否が左右される上、技能の継承が難しいといった問題が存在する。一方、データに基づいて売上を予測するためには、売上は通常複数の要因の影響を受けることと、近年においては取り扱う商品数が増加していることとから、コンピュータを利用して自動化を図ることが不可欠である。そのため、様々な適正在庫量算出システムあるいは売上予測システムが従来から知られている。   Having the right inventory is an important issue for business management because excess inventory leads to losses and missing items lead to lost profits. In particular, it is important to accurately perform sales forecasts that are the basis for determining the appropriate inventory amount. Here, if sales prediction is left to the experience and intuition of the person in charge, there is a problem that the success or failure of the prediction depends on the person in charge and it is difficult to inherit skills. On the other hand, in order to predict sales based on data, sales are usually affected by multiple factors, and the number of products handled in recent years has increased, so automation is attempted using computers. It is essential. For this reason, various appropriate inventory quantity calculation systems or sales prediction systems have been conventionally known.

特許文献1においては、過去の販売実績数量などの定量的な数値から販売製品の販売量を予測する販売量予測装置が開示されている。   Patent Document 1 discloses a sales volume prediction device that predicts the sales volume of a product to be sold from quantitative values such as past sales performance quantities.

また、特許文献2においては、計算手段と、記憶手段とを備えており、記憶手段に記憶されている過去の売上データと、過去の気象データと、過去の外的要因データとに基づいて、気象条件及び外的要因条件による売上額を生成する予測システムが開示されている。   Moreover, in patent document 2, it is provided with the calculation means and the memory | storage means, and based on the past sales data memorize | stored in the memory | storage means, the past weather data, and the past external factor data, A forecasting system for generating sales figures according to weather conditions and external factor conditions is disclosed.

さらに、特許文献3においては、過去の出荷量実績・天候条件の情報から従属変数のデータ系列と説明変数のデータ系列をセットし、従属変数データ系列と説明変数データ系列に適合する重回帰モデルを生成して出荷量予測値を出力するシステムが開示されている。   Further, in Patent Document 3, a data series of dependent variables and a data series of explanatory variables are set from information on past shipment volume results and weather conditions, and a multiple regression model adapted to the dependent variable data series and the explanatory variable data series is set. A system that generates and outputs a predicted shipment amount is disclosed.

さらに、特許文献4においては、天候、日付、曜日、時刻等の情報を加工してデータ系列を作成し、作成した全データを重回帰分析して予測に対する貢献度の高い情報を選択し、選択された情報によって商品販売の予測を行う商品販売予測装置が開示されている。   Furthermore, in Patent Document 4, a data series is created by processing information such as weather, date, day of the week, time, etc., and all the created data is subjected to multiple regression analysis to select information with a high degree of contribution to prediction. A merchandise sales forecasting device that forecasts merchandise sales based on the information thus disclosed is disclosed.

さらに、特許文献5においては、売上予測の対象となる予測週に対応する前年の一週間の売上実績と、この対応する前年の週の次週の売上実績とを比較した前年次週指数を演算し、予測する年の直近一定期間の加重平均と、前年の対応する同時期の週の加重平均とを比較した補正値を演算し、前年次週指数と補正値とを掛け合わせて予測指数を演算し、予測指数と直近の各曜日の実績値とから発注量を予測する自動商品発注システムが開示されている。   Furthermore, in Patent Document 5, the previous week's week index that compares the sales performance of the previous week corresponding to the forecast week that is the target of sales forecast and the sales performance of the corresponding week of the previous week is calculated, Calculate a correction value that compares the weighted average over the most recent period of the forecast year with the corresponding weekly average of the previous year, and then multiply the previous week index by the correction value to calculate the forecast index, An automatic product ordering system that predicts the order quantity from a forecast index and the actual value of each day of the week is disclosed.

特開平7−175786号公報Japanese Patent Laid-Open No. 7-175786 特開2004−272674号公報JP 2004-272673 A 特開2005−78277号公報JP 2005-78277 A 特開平8−212191号公報JP-A-8-212191 特開平9−198448号公報JP-A-9-198448

本発明の目的は、過去の時系列データに基づいて商品の適正在庫量を算出する適正在庫量算出システム及び適正在庫算出方法であって、商品特性の時間変化を考慮して適正在庫量の算出を行う適正在庫量算出システム及び適正在庫量算出方法を提供することである。   An object of the present invention is an appropriate inventory quantity calculation system and an appropriate inventory calculation method for calculating an appropriate inventory quantity of a product based on past time-series data, and calculates an appropriate inventory quantity in consideration of a time change of product characteristics. It is to provide an appropriate inventory quantity calculation system and an appropriate inventory quantity calculation method.

本発明の他の目的は、商品ごとに最適な売上数量の予測方法を選択して適正在庫量を算出する適正在庫量算出システム及び適正在庫量算出方法を提供することである。   Another object of the present invention is to provide an appropriate inventory quantity calculation system and an appropriate inventory quantity calculation method for calculating an appropriate inventory quantity by selecting an optimal sales quantity prediction method for each product.

本発明の更に他の目的は、売上数量の時間変動が大きい商品に対しても予測精度が高い適正在庫量の算出を行うことができる適正在庫量算出システム及び適正在庫量算出方法を提供することである。   Still another object of the present invention is to provide an appropriate inventory quantity calculation system and an appropriate inventory quantity calculation method capable of calculating an appropriate inventory quantity with high prediction accuracy even for a product whose sales volume varies greatly with time. It is.

以下に、(発明を実施するための最良の形態)で使用される番号を用いて、課題を解決するための手段を説明する。これらの番号は、(特許請求の範囲)の記載と(発明を実施するための最良の形態)との対応関係を明らかにするために付加されたものである。ただし、それらの番号を、(特許請求の範囲)に記載されている発明の技術的範囲の解釈に用いてはならない。   Hereinafter, means for solving the problem will be described using the numbers used in (Best Mode for Carrying Out the Invention). These numbers are added to clarify the correspondence between the description of (Claims) and (Best Mode for Carrying Out the Invention). However, these numbers should not be used to interpret the technical scope of the invention described in (Claims).

本発明の適正在庫量算出システムは、演算装置(31)と、記憶装置(33)と、入力装置(4、5)と、出力装置(12)とを具備している。ここで、前記記憶装置は、売上数量の前期以前における時系列データである売上数量データと、前記売上数量に影響を及ぼす要因の前期以前における時系列数値データである要因データとを格納する時系列データベース(306)と、ともに時系列データである売上数量データ元データと要因データ元データとを格納する売上実績データベース(302)と、前記要因の当期における予測値又は予定値の数値データである当期要因データを格納する当期要因データベース(301、303)とを格納している。そして、前記演算装置は、前記入力装置から入力される前記売上数量データ元データと前記要因データ元データとを前記売上実績データベースに格納する。さらに、前記演算装置は、前記売上数量データ元データと前記要因データ元データとを前記売上実績データベースから読み出し、前記売上数量データ元データと前記要因データ元データとを期ごとに集計して前記売上数量データと前記要因データとをそれぞれ作成する。そして、作成した前記売上数量データと前記要因データとを前記時系列データベースに格納する。また、前記演算装置は、前記入力装置から入力される前記当期要因データを前記当期要因データベースに格納する。そして、前記演算装置は、前記売上数量データと前記要因データとを前記時系列データベースから読み出し、複数存在する所定の対象期間の各々について、前記売上数量データを目的変数とし、前記要因データを説明変数とする回帰式を演算する。さらに、前記演算装置は、前記当期要因データを前記当期要因データベースから読み出し、前期以前の所定の期である最適回帰式判断期における前記要因データから前記回帰式の各々により前記最適回帰式判断期における前記売上数量の予測値である売上数量判断期予測値を算出する。さらに、前記演算装置は、前記売上数量データの前記最適回帰式判断期における値に最も近い前記売上数量判断期予測値を算出する前記回帰式を最適回帰式として選択する。さらに、前記演算装置は、前記当期要因データから前記最適回帰式により前記売上数量の当期における予測値である売上数量当期予測値を算出する。さらに、前記演算装置は、前記売上数量当期予測値に所定の安全在庫量を加えて適正在庫量を算出する。そして、前記出力装置は前記適正在庫量を出力する。   The appropriate inventory quantity calculation system of the present invention includes an arithmetic device (31), a storage device (33), input devices (4, 5), and an output device (12). Here, the storage device stores sales volume data that is time-series data of sales volume before the previous period and factor data that is time-series numerical data of the factors affecting the sales volume before and after the previous period. A database (306), a sales performance database (302) that stores sales volume data source data and factor data source data, both of which are time series data, and a current period that is numerical data of predicted values or scheduled values of the factors for the current period The factor database (301, 303) for storing factor data is stored. And the said arithmetic unit stores the said sales quantity data original data and the said factor data original data which are input from the said input device in the said sales performance database. Further, the arithmetic device reads the sales volume data source data and the factor data source data from the sales performance database, and aggregates the sales volume data source data and the factor data source data for each period to calculate the sales. Quantity data and the factor data are created respectively. Then, the generated sales quantity data and the factor data are stored in the time series database. The arithmetic device stores the current period factor data input from the input device in the current period factor database. The arithmetic device reads the sales quantity data and the factor data from the time-series database, uses the sales quantity data as an objective variable for each of a plurality of predetermined target periods, and uses the factor data as an explanatory variable. The regression equation is calculated. Further, the arithmetic device reads the current factor data from the current factor database, and determines the optimal regression equation judgment period based on each of the regression equations from the factor data in the optimal regression equation judgment period which is a predetermined period before the previous period. A sales volume judgment period prediction value, which is a predicted value of the sales volume, is calculated. Further, the arithmetic unit selects, as the optimal regression formula, the regression formula that calculates the sales quantity judgment period predicted value closest to the value in the optimal regression formula judgment period of the sales quantity data. Further, the arithmetic unit calculates a sales volume current forecast value, which is a forecast value of the sales volume in the current period, from the current factor data by the optimal regression equation. Further, the arithmetic unit calculates a proper inventory quantity by adding a predetermined safety inventory quantity to the sales volume current period forecast value. The output device outputs the appropriate inventory amount.

本発明の適正在庫量算出システムにおいては、前記複数存在する所定の対象期間の各々は、始期が互いに異なっており、終期が同一であってもよい。   In the appropriate inventory amount calculation system according to the present invention, each of the plurality of predetermined target periods may have different start periods and the same end periods.

本発明の適正在庫量算出システムにおいては、前記記憶装置は相関係数と相関度の高さのランクとの対応関係を定める相関係数・ランク対応表(304)を格納している。そして、前記要因は複数存在しており、複数存在している前記要因の各々に対応して前記要因データが存在している。そして、前記演算装置は、前記複数存在する所定の対象期間のうち最も期間の長い最長対象期間について、前記売上数量データと、前記要因データの各々との相関係数を算出する。さらに、前記演算装置は、前記相関係数から前記相関係数・ランク対応表を参照して前記要因データの各々にランク付けをする。前記ランク付けが所定の第1条件を満たす場合には、前記演算装置は所定のランク以上のランクが付されている前記要因データを前記説明変数として重回帰式である前記回帰式を演算する。   In the appropriate inventory quantity calculation system of the present invention, the storage device stores a correlation coefficient / rank correspondence table (304) that defines the correspondence between the correlation coefficient and the rank of the degree of correlation. A plurality of the factors exist, and the factor data exists corresponding to each of the factors. The arithmetic device calculates a correlation coefficient between the sales quantity data and each of the factor data for the longest target period having the longest period among the plurality of predetermined target periods. Further, the arithmetic device ranks each of the factor data from the correlation coefficient with reference to the correlation coefficient / rank correspondence table. When the ranking satisfies a predetermined first condition, the calculation device calculates the regression equation, which is a multiple regression equation, using the factor data with a rank higher than a predetermined rank as the explanatory variable.

本発明の適正在庫量算出システムにおいては、前記ランク付けが所定の第2条件を満たす場合に前記演算装置は、最高位のランクが付されている前記要因データを前記説明変数として単回帰式である前記回帰式を演算する。   In the appropriate inventory amount calculation system according to the present invention, when the ranking satisfies a predetermined second condition, the arithmetic unit uses the factor data assigned the highest rank as the explanatory variable with a single regression equation. A certain regression equation is calculated.

本発明の適正在庫量算出システムにおいては、前記記憶装置は第1標準偏差と平滑化定数との対応関係を定めている第1標準偏差・平滑化定数対応表(305)を格納している。前記ランク付けが前記第1条件と前記第2条件のいずれも満たさない場合において前記演算装置は、前期を終期とする所定の第1対象期間に含まれている前記売上数量データである売上数量第1対象期間データの平均値を算出する。さらに、前記演算装置は前記売上数量第1対象期間データの各々を前記各々の前記売上数量第1対象期間データより一期前の前記売上数量データで除して売上数量増減度データを算出する。さらに、前記演算装置は、前記売上数量増減度データの標準偏差である前記第1標準偏差を算出する。さらに、前記演算装置は、前記第1標準偏差から前記第1標準偏差・平滑化定数対応表を参照して前記平滑化定数を決定する。さらに、前記演算装置は、前記最適回帰式により前記売上数量当期予測値を算出することに代えて、決定した前記平滑化定数と前記平均値と前期における前記売上数量データとから指数平滑化式により前記売上数量当期予測値を算出する。   In the appropriate inventory quantity calculation system of the present invention, the storage device stores a first standard deviation / smoothing constant correspondence table (305) that defines the correspondence between the first standard deviation and the smoothing constant. In the case where the ranking does not satisfy both the first condition and the second condition, the computing device determines the sales volume number that is the sales volume data included in the predetermined first target period that ends in the previous period. The average value of 1 target period data is calculated. Further, the arithmetic unit calculates the sales volume increase / decrease degree data by dividing each of the sales volume first target period data by the sales volume data one period before the sales volume first target period data. Further, the arithmetic unit calculates the first standard deviation which is a standard deviation of the sales volume increase / decrease degree data. Furthermore, the arithmetic unit determines the smoothing constant from the first standard deviation with reference to the first standard deviation / smoothing constant correspondence table. Furthermore, instead of calculating the sales volume current period forecast value by the optimal regression equation, the arithmetic unit uses an exponential smoothing formula from the determined smoothing constant, the average value, and the sales volume data in the previous period. The sales volume current period forecast value is calculated.

本発明の適正在庫量算出システムにおける前記演算装置は、前記最適回帰式が演算されている前記対象期間である第2対象期間に含まれている前記要因データから前記最適回帰式により前記売上数量の前記第2対象期間における予測値である売上数量第2対象期間予測値の時系列データを算出する。さらに、前記演算装置は、前記売上数量第2対象期間予測値の時系列データと前記売上数量データの前記第2対象期間における時系列データとの差をとることで前記最適回帰式による予測の予測誤差である回帰式予測誤差の時系列データを算出する。さらに、前記演算装置は、前記回帰式予測誤差の時系列データの標準偏差である第2標準偏差を算出し、前記第2標準偏差に所定の定数をかけて前記安全在庫量を算出する。   In the appropriate inventory quantity calculation system according to the present invention, the arithmetic unit calculates the sales quantity based on the optimal regression equation from the factor data included in the second target period, which is the target period in which the optimal regression equation is calculated. Time series data of the sales quantity second target period predicted value, which is the predicted value in the second target period, is calculated. Further, the arithmetic device takes the difference between the time series data of the sales volume second target period predicted value and the time series data of the sales quantity data in the second target period, thereby predicting the prediction by the optimal regression equation. Time series data of the regression equation prediction error which is an error is calculated. Further, the arithmetic unit calculates a second standard deviation which is a standard deviation of time series data of the regression equation prediction error, and calculates the safety stock quantity by multiplying the second standard deviation by a predetermined constant.

本発明の適正在庫量算出システムにおいて、前記演算装置は、前記平滑化定数と、前記平均値と、前記売上数量第1対象期間データとから前記指数平滑化式により売上数量の前記第1対象期間における予測値である売上数量第1対象期間予測値の時系列データを算出する。さらに、前記演算装置は、前記売上数量第1対象期間予測値の時系列データと前記売上数量データの前記第1対象期間における時系列データとの差をとることで前記指数平滑化式による予測の予測誤差である指数平滑化式予測誤差の時系列データを算出する。さらに、前記演算装置は、前記指数平滑化式予測誤差の時系列データの標準偏差である第3標準偏差を算出し、前記第3標準偏差に所定の定数をかけて前記安全在庫量を算出する。   In the appropriate inventory amount calculation system according to the present invention, the arithmetic unit calculates the first target period of the sales quantity from the smoothing constant, the average value, and the sales quantity first target period data by the exponential smoothing formula. The time series data of the sales quantity first target period prediction value that is the prediction value at is calculated. Further, the arithmetic device takes the difference between the time series data of the sales volume first target period predicted value and the time series data of the sales quantity data in the first target period to perform prediction by the exponential smoothing equation. Time series data of exponential smoothing type prediction error which is a prediction error is calculated. Further, the arithmetic unit calculates a third standard deviation that is a standard deviation of time series data of the exponential smoothing type prediction error, and calculates the safety stock quantity by multiplying the third standard deviation by a predetermined constant. .

本発明の適正在庫量算出方法は、演算装置(31)と、記憶装置(33)と、入力装置(4、5)と、出力装置(12)とを具備する適性在庫量算出システムが実行する適正在庫量算出方法である。ここで、前記記憶装置は、売上数量の前記以前の時系列データである売上数量データと、前記売上数量に影響及ぼす要因の前記以前の時系列数値データである要因データとを格納する時系列データベース(306)と、ともに時系列データである売上数量データ元データと要因データ元データとを格納する売上実績データベース(302)と、前記要因の当期における予測値又は予定値の数値データである当期要因データを格納する当期要因データベース(301、303)とを格納している。そして、本発明の適正在庫量算出方法は、前記演算装置が、前記入力装置から入力される前記売上数量データ元データと前記要因データ元データとを前記売上実績データベースに格納することを含んでいる。さらに、本発明の適正在庫量算出方法は、前記演算装置が、前記売上数量データ元データと前記要因データ元データとを前記売上実績データベースから読み出し、前記売上数量データ元データと前記要因データ元データとを期ごとに集計して前記売上数量データと前記要因データとをそれぞれ作成することを含んでいる。そして、本発明の適正在庫量算出方法は、前記演算装置が、作成した前記売上数量データと前記要因データとを前記時系列データベースに格納することを含んでいる。また、本発明の適正在庫量算出方法は、前記演算装置が、前記入力装置から入力される前記当期要因データを前記当期要因データベースに格納することを含んでいる。そして、本発明の適正在庫量算出方法は、前記演算装置が、前記売上数量データと前記要因データとを前記時系列データベースから読み出し、複数存在する所定の対象期間の各々について、前記売上数量データを目的変数とし、前記要因データを説明変数とする回帰式を演算することを含んでいる。さらに、本発明の適正在庫量算出方法は、前記演算装置が、前記当期要因データを前記当期要因データベースから読み出し、前期以前の所定の期である最適回帰式判断期における前記要因データから前記回帰式の各々により前記最適回帰式判断期における前記売上数量の予測値である売上数量判断期予測値を算出することを含んでいる。さらに、本発明の適正在庫量算出方法は、前記演算装置が、前記売上数量データの前記最適回帰式判断期における値に最も近い前記売上数量判断期予測値を算出する前記回帰式を最適回帰式として選択することを含んでいる。さらに、本発明の適正在庫量算出方法は、前記演算装置が、前記当期要因データから前記最適回帰式により前記売上数量の当期における予測値である売上数量当期予測値を算出することと、前記売上数量当期予測値に所定の安全在庫量を加えて適正在庫量を算出することとを含んでいる。そして、本発明の適正在庫量算出方法は、前記出力装置が前記適正在庫量を出力することを含んでいる。   The appropriate inventory quantity calculation method of the present invention is executed by an appropriate inventory quantity calculation system including an arithmetic device (31), a storage device (33), an input device (4, 5), and an output device (12). This is an appropriate inventory amount calculation method. Here, the storage device stores the sales volume data which is the previous time series data of the sales volume and the factor data which is the previous time series numerical data of the factor affecting the sales volume. (306), a sales performance database (302) that stores sales volume data source data and factor data source data, both of which are time series data, and current factor that is numerical data of predicted values or scheduled values of the factors in the current term The current period factor database (301, 303) for storing data is stored. And the appropriate inventory quantity calculation method of this invention includes the said arithmetic unit storing the said sales volume data original data and the said factor data original data which are input from the said input device in the said sales performance database. . Further, according to the method for calculating an appropriate inventory amount of the present invention, the arithmetic device reads the sales quantity data source data and the factor data source data from the sales performance database, and the sales quantity data source data and the factor data source data. And the sales volume data and the factor data are respectively created. In the method for calculating the appropriate inventory amount according to the present invention, the arithmetic device stores the created sales quantity data and the factor data in the time series database. In addition, the appropriate inventory amount calculation method of the present invention includes that the arithmetic device stores the current period factor data input from the input device in the current period factor database. Then, in the appropriate inventory quantity calculation method of the present invention, the arithmetic device reads the sales quantity data and the factor data from the time-series database, and the sales quantity data for each of a plurality of predetermined target periods. It includes calculating a regression equation that uses the factor data as an explanatory variable as an objective variable. Furthermore, in the method for calculating the appropriate inventory amount according to the present invention, the arithmetic unit reads the current factor data from the current factor database, and the regression equation is calculated from the factor data in an optimal regression equation determination period that is a predetermined period before the previous period. Respectively, calculating a sales quantity judgment period prediction value that is a prediction value of the sales quantity in the optimum regression equation judgment period. Furthermore, in the method for calculating the appropriate inventory quantity according to the present invention, the arithmetic unit calculates the regression equation for calculating the sales volume judgment period predicted value closest to the value in the optimal regression formula judgment period of the sales quantity data as an optimal regression formula. Includes selecting as. Further, in the method for calculating the appropriate inventory amount according to the present invention, the arithmetic unit calculates a sales volume current forecast value that is a forecast value of the sales volume for the current period from the current factor data by the optimal regression equation; Adding a predetermined safety stock quantity to the quantity current forecast value and calculating an appropriate stock quantity. And the appropriate inventory quantity calculation method of this invention includes the said output device outputting the said appropriate inventory quantity.

本発明の適正在庫量算出方法においては、前記複数存在する所定の対象期間の各々は、始期が互いに異なっており、終期が同一であってもよい。   In the appropriate inventory amount calculation method of the present invention, each of the plurality of predetermined target periods may have different start periods and the same end periods.

本発明の適正在庫量算出方法においては、前記記憶装置は相関係数と相関度の高さのランクとの対応関係を定める相関係数・ランク対応表(304)を格納している。また、前記要因は複数存在しており、複数存在している前記要因の各々に対応して前記要因データが存在している。そして、本発明の適正在庫量算出方法は、前記演算装置が、前記複数存在する所定の対象期間のうち最も期間の長い最長対象期間について、前記売上数量データと、前記要因データの各々との相関係数を算出することを含んでいる。さらに、本発明の適正在庫量算出方法は、前記演算装置が、前記相関係数から前記相関係数・ランク対応表を参照して前記要因データの各々にランク付けをすることを含んでいる。さらに、本発明の適正在庫量算出方法においては、前記ランク付けが所定の第1条件を満たす場合には、前記演算装置が所定のランク以上のランクが付されている前記要因データを前記説明変数として重回帰式である前記回帰式を演算することを含んでいる。   In the appropriate inventory amount calculation method of the present invention, the storage device stores a correlation coefficient / rank correspondence table (304) that defines the correspondence between the correlation coefficient and the rank of the degree of correlation. In addition, there are a plurality of factors, and the factor data exists corresponding to each of the factors. Then, in the method for calculating an appropriate inventory amount according to the present invention, the arithmetic device is configured to compare the sales quantity data with each of the factor data for the longest target period having the longest period among the plurality of predetermined target periods. Including calculating the number of relationships. Furthermore, the appropriate inventory amount calculation method of the present invention includes that the arithmetic device ranks each of the factor data by referring to the correlation coefficient / rank correspondence table from the correlation coefficient. Furthermore, in the appropriate inventory amount calculation method of the present invention, when the ranking satisfies a predetermined first condition, the factor data to which the arithmetic device is assigned a rank equal to or higher than a predetermined rank is used as the explanatory variable. And calculating the regression equation which is a multiple regression equation.

本発明の適正在庫量算出方法は、前記ランク付けが所定の第2条件を満たす場合には、前記演算装置が最高位のランクが付されている前記要因データを前記説明変数として単回帰式である前記回帰式を演算することを含んでいる。   When the ranking satisfies the predetermined second condition, the appropriate inventory amount calculation method according to the present invention uses the factor data to which the arithmetic device is assigned the highest rank as the explanatory variable by a single regression equation. Calculating certain regression equations.

本発明の適正在庫量算出方法においては、前記記憶装置は第1標準偏差と平滑化定数との対応関係を定めている第1標準偏差・平滑化定数対応表(305)を格納している。そして、本発明の適正在庫量算出方法は、前記ランク付けが前記第1条件と前記第2条件のいずれも満たさない場合において、前記演算装置が、前期を終期とする所定の第1対象期間に含まれている前記売上数量データである売上数量第1対象期間データの平均値を算出することを含んでいる。さらに、本発明の適正在庫量算出方法は、前記演算装置が前記売上数量第1対象期間データの各々を前記各々の前記売上数量第1対象期間データより一期前の前記売上数量データで除して売上数量増減度データを算出することを含んでいる。さらに、本発明の適正在庫量算出方法は、前記演算装置が前記売上数量増減度データの標準偏差である前記第1標準偏差を算出することを含んでいる。さらに、本発明の適正在庫量算出方法は、前記演算装置が前記第1標準偏差から前記第1標準偏差・平滑化定数対応表を参照して前記平滑化定数を決定することを含んでいる。さらに、本発明の適正在庫量算出方法は、前記演算装置が、前記最適回帰式により前記売上数量当期予測値を算出することに代えて、決定した前記平滑化定数と前記平均値と前期における前記売上数量データとから指数平滑化式により前記売上数量当期予測値を算出することを含んでいる。   In the appropriate inventory quantity calculation method of the present invention, the storage device stores a first standard deviation / smoothing constant correspondence table (305) that defines the correspondence between the first standard deviation and the smoothing constant. Then, in the method for calculating an appropriate inventory amount according to the present invention, when the ranking does not satisfy both the first condition and the second condition, the arithmetic unit performs a predetermined first target period that ends in the previous period. Calculating the average value of the sales volume first target period data, which is the sales volume data included. Furthermore, in the method for calculating an appropriate inventory amount according to the present invention, the arithmetic unit divides each of the sales quantity first target period data by the sales quantity data one period before the sales quantity first target period data. And calculating sales volume fluctuation data. Furthermore, the appropriate inventory quantity calculation method of the present invention includes that the arithmetic device calculates the first standard deviation which is a standard deviation of the sales volume increase / decrease degree data. Furthermore, the method for calculating the appropriate inventory quantity according to the present invention includes that the arithmetic unit determines the smoothing constant from the first standard deviation with reference to the first standard deviation / smoothing constant correspondence table. Furthermore, in the method for calculating the appropriate inventory amount according to the present invention, instead of calculating the sales volume current period forecast value by the optimal regression equation, the arithmetic device calculates the determined smoothing constant, the average value, and the previous period. And calculating the current sales volume forecast value from the sales volume data by an index smoothing formula.

本発明の適正在庫量算出方法は、前記演算装置が、前記最適回帰式が演算されている前記対象期間である第2対象期間に含まれている前記要因データから前記最適回帰式により前記売上数量の前記第2対象期間における予測値である売上数量第2対象期間予測値の時系列データを算出することを含んでいる。さらに、本発明の適正在庫量算出方法は、前記演算装置が、前記売上数量第2対象期間予測値の時系列データと前記売上数量データの前記第2対象期間における時系列データとの差をとることで前記回帰式による予測の予測誤差である回帰式予測誤差の時系列データを算出することを含んでいる。さらに、本発明の適正在庫量算出方法は、前記演算装置が、前記回帰式予測誤差の時系列データの標準偏差である第2標準偏差を算出することと、前記第2標準偏差に所定の定数をかけて前記安全在庫量を算出することを含んでいる。   In the method of calculating an appropriate inventory amount according to the present invention, the calculation unit calculates the sales quantity from the factor data included in the second target period, which is the target period for which the optimal regression formula is calculated, by the optimal regression formula. Calculating time-series data of sales volume second target period predicted value, which is a predicted value in the second target period. Furthermore, in the method for calculating an appropriate inventory quantity according to the present invention, the arithmetic device takes a difference between time series data of the sales volume second target period predicted value and time series data of the sales quantity data in the second target period. This includes calculating the time series data of the regression equation prediction error which is the prediction error of the prediction by the regression equation. Furthermore, in the method for calculating an appropriate inventory amount according to the present invention, the arithmetic device calculates a second standard deviation that is a standard deviation of time series data of the regression equation prediction error, and a predetermined constant is set for the second standard deviation. And calculating the safety stock amount.

本発明の適正在庫量算出方法は、前記演算装置が、前記平滑化定数と、前記平均値と、前記売上数量第1対象期間データとから前記指数平滑化式により売上数量の前記第1対象期間における予測値である売上数量第1対象期間予測値の時系列データを算出することを含んでいる。さらに、本発明の適正在庫量算出方法は、前記演算装置が、前記売上数量第1対象期間予測値の時系列データと前記売上数量データの前記第1対象期間における時系列データとの差をとることで前記指数平滑化式による予測の予測誤差である指数平滑化式予測誤差の時系列データを算出することを含んでいる。さらに、本発明の適正在庫量算出方法は、前記演算装置が、前記指数平滑化式予測誤差の時系列データの標準偏差である第3標準偏差を算出することと、前記第3標準偏差に所定の定数をかけて前記安全在庫量を算出することとを含んでいる。   In the method for calculating an appropriate inventory amount according to the present invention, the arithmetic unit is configured to calculate the first target period of the sales volume by the exponential smoothing formula from the smoothing constant, the average value, and the sales volume first target period data. Calculating the time series data of the sales volume first target period prediction value, which is the prediction value at. Furthermore, in the method for calculating an appropriate inventory amount according to the present invention, the arithmetic device takes a difference between time series data of the sales volume first target period prediction value and time series data of the sales quantity data in the first target period. This includes calculating time series data of an exponential smoothing type prediction error which is a prediction error of prediction by the exponential smoothing type. Further, according to the method for calculating an appropriate inventory amount of the present invention, the arithmetic device calculates a third standard deviation which is a standard deviation of time series data of the exponential smoothing type prediction error, and the third standard deviation is predetermined. The safety stock quantity is calculated by multiplying by a constant.

本発明の適正在庫量算出方法においては、前記複数存在する所定の対象期間の各々は、始期が互いに異なっており、終期が同一である。そして、本発明の適正在庫量算出方法は、前記ランク付けが前記第1条件を満たす場合において、前記演算装置が、前記最長対象期間に含まれている前記売上数量データの標準偏差である第4標準偏差を算出することを含んでいる。さらに、本発明の適正在庫量算出方法は、前記演算装置が、前記最長対象期間に含まれている前記売上数量データの時系列データの各々に前記第4標準偏差を加えて第1上限値時系列データを算出することを含んでいる。さらに、本発明の適正在庫量算出方法は、前記演算装置が、前記最長対象期間に含まれている前記売上数量データの時系列データの各々から前記第4標準偏差を減じて第1下限値時系列データを算出することを含んでいる。さらに、本発明の適正在庫量算出方法は、前記演算装置が、前記重回帰式の各々により、前記各々の前記重回帰式を演算している前記対象期間である第4対象期間に含まれている前記要因データから前記売上数量の前記第4対象期間における予測値の時系列データである売上数量第4対象期間予測値時系列データを算出することを含んでいる。さらに、本発明の適正在庫量算出方法は、前記売上数量第4対象期間予測値時系列データが前記第4対象期間に含まれている全ての期において、前記第1上限値時系列データより小さいことと前記第1下限値時系列データより大きいこととを満足する前記重回帰式が一つも存在しない場合であって、前記ランク付けが前記第2条件を満たす場合には、前記演算装置が、最高位のランクが付されている前記要因データを前記説明変数として単回帰式である前記回帰式を演算することを含んでいる。   In the appropriate inventory amount calculation method of the present invention, each of the plurality of predetermined target periods has different start times and the same end time. In the method of calculating an appropriate inventory amount according to the present invention, when the ranking satisfies the first condition, the arithmetic device is a standard deviation of the sales quantity data included in the longest target period. Including calculating the standard deviation. Furthermore, in the method for calculating an appropriate inventory amount according to the present invention, the arithmetic device adds the fourth standard deviation to each of the time series data of the sales volume data included in the longest target period, and at the time of the first upper limit value. Including calculating series data. Furthermore, in the method for calculating an appropriate inventory amount according to the present invention, the arithmetic unit subtracts the fourth standard deviation from each of the time series data of the sales volume data included in the longest target period, and at the time of the first lower limit value. Including calculating series data. Furthermore, the appropriate inventory amount calculation method of the present invention is included in a fourth target period, which is the target period in which each of the multiple regression equations is calculated by the arithmetic device using each of the multiple regression equations. Calculating sales volume fourth target period predicted value time series data, which is time series data of predicted values of the sales quantity in the fourth target period from the factor data. Furthermore, the appropriate inventory amount calculation method of the present invention is smaller than the first upper limit value time-series data in all periods in which the sales volume fourth target period predicted value time-series data is included in the fourth target period. And when there is no multiple regression equation that satisfies that and greater than the first lower limit time-series data, and the ranking satisfies the second condition, the computing device comprises: And calculating the regression equation, which is a simple regression equation, using the factor data assigned the highest rank as the explanatory variable.

本発明の適正在庫量算出方法においては、前記複数存在する所定の対象期間の各々は、始期が互いに異なっており、終期が同一である。そして、前記ランク付けが前記第2条件を満たす場合において、本発明の適正在庫量算出方法は、前記演算装置が、前記最長対象期間における前記売上数量データの標準偏差である第5標準偏差を算出することを含んでいる。さらに、本発明の適正在庫量算出方法は、前記演算装置が、単回帰式としての前記最適回帰式である最適単回帰式を演算している前記対象期間である第5対象期間に含まれている前記売上数量データの時系列データの各々に前記第5標準偏差を加えて第2上限値時系列データを算出することを含んでいる。さらに、本発明の適正在庫量算出方法は、前記演算装置が、前記第5対象期間における前記売上数量データの時系列データの各々から前記第5標準偏差を減じて第2下限値時系列データを算出することを含んでいる。さらに、本発明の適正在庫量算出方法は、前記演算装置が、前記最適単回帰式により前記第5対象期間に含まれている前記要因データから前記売上数量の前記第5対象期間における予測値の時系列データである売上数量第5対象期間予測値時系列データを算出することを含んでいる。さらに、本発明の適正在庫量算出方法は、前記売上数量第5対象期間予測値時系列データが前記第5対象期間に含まれている全ての期において、前記第2上限値時系列データより小さいことと前記第2下限値時系列データより大きいこととを満足しない場合には、前記演算装置が、前期を終期とする所定の第1対象期間に含まれている前記売上数量データである売上数量第1対象期間データの前記平均値を算出することを含んでいる。さらに、本発明の適正在庫量算出方法は、前記演算装置が、前記売上数量第1対象期間データの各々を前記各々の前記売上数量第1対象期間データより一期前の前記売上数量データで除して前記売上数量増減度データを算出することを含んでいる。さらに、本発明の適正在庫量算出方法は、前記演算装置が、前記売上数量増減度データの標準偏差である前記第1標準偏差を算出することと、前記第1標準偏差から前記第1標準偏差・平滑化定数対応表を参照して前記平滑化定数を決定することとを含んでいる。さらに、本発明の適正在庫量算出方法は、前記演算装置が、前記最適回帰式により前記売上数量当期予測値を算出することに代えて、決定した前記平滑化定数と前記平均値と前月における前記売上数量データとから前記指数平滑化式により前記売上数量当期予測値を算出することを含んでいる。   In the appropriate inventory amount calculation method of the present invention, each of the plurality of predetermined target periods has different start times and the same end time. In the case where the ranking satisfies the second condition, the appropriate inventory amount calculation method according to the present invention is such that the arithmetic device calculates a fifth standard deviation that is a standard deviation of the sales quantity data in the longest target period. Including doing. Furthermore, the appropriate inventory amount calculation method of the present invention is included in the fifth target period, which is the target period in which the arithmetic device is calculating the optimal single regression equation that is the optimal regression equation as a single regression equation. The second upper limit time series data is calculated by adding the fifth standard deviation to each of the time series data of the sales volume data. Furthermore, in the method for calculating an appropriate inventory amount according to the present invention, the arithmetic unit subtracts the fifth standard deviation from each of the time series data of the sales volume data in the fifth target period to obtain the second lower limit time series data. Including calculating. Furthermore, in the method for calculating an appropriate inventory amount according to the present invention, the arithmetic unit calculates the predicted value of the sales quantity in the fifth target period from the factor data included in the fifth target period by the optimal single regression equation. It includes calculating the sales volume fifth target period predicted value time series data which is time series data. Furthermore, the appropriate inventory amount calculation method of the present invention is smaller than the second upper limit value time-series data in all periods in which the sales volume fifth target period predicted value time-series data is included in the fifth target period. And the second lower limit time-series data are not satisfied, the calculation unit is a sales quantity that is the sales quantity data included in a predetermined first target period that ends in the previous period. Calculating the average value of the first target period data. Furthermore, in the method for calculating an appropriate inventory quantity according to the present invention, the arithmetic unit divides each of the sales quantity first target period data by the sales quantity data one period before the sales quantity first target period data. And calculating the sales volume increase / decrease degree data. Furthermore, in the method for calculating an appropriate inventory amount according to the present invention, the arithmetic device calculates the first standard deviation, which is a standard deviation of the sales volume increase / decrease degree data, and the first standard deviation from the first standard deviation. And determining the smoothing constant with reference to the smoothing constant correspondence table. Furthermore, in the method for calculating an appropriate inventory amount according to the present invention, the arithmetic unit replaces the determined smoothing constant, the average value, and the previous month with the optimal regression equation instead of calculating the sales volume current period forecast value. And calculating the sales volume current period forecast value from the sales volume data by the index smoothing formula.

本発明によれば、過去の時系列データに基づいて商品の適正在庫量を算出する適正在庫量算出システム及び適正在庫算出方法であって、商品特性の時間変化を考慮して適正在庫量の算出を行う適正在庫量算出システム及び適正在庫量算出方法が提供される。   According to the present invention, there is provided an appropriate inventory quantity calculation system and an appropriate inventory calculation method for calculating an appropriate inventory quantity of a product based on past time-series data, and calculating an appropriate inventory quantity in consideration of a time change of product characteristics. An appropriate inventory quantity calculation system and an appropriate inventory quantity calculation method are provided.

また、本発明によれば、商品ごとに最適な売上数量の予測方法を選択して適正在庫量を算出する適正在庫量算出システム及び適正在庫量算出方法が提供される。   In addition, according to the present invention, an appropriate inventory quantity calculation system and an appropriate inventory quantity calculation method for calculating an appropriate inventory quantity by selecting an optimal sales quantity prediction method for each product are provided.

更に、本発明によれば、売上数量の時間変動が大きい商品に対しても予測精度が高い適正在庫量の算出を行うことができる適正在庫量算出システム及び適正在庫量算出方法が提供される。   Furthermore, according to the present invention, there is provided an appropriate inventory quantity calculation system and an appropriate inventory quantity calculation method capable of calculating an appropriate inventory quantity with high prediction accuracy even for a product whose sales volume varies greatly with time.

添付図面を参照して、本発明による適正在庫量算出システム及び適正在庫量算出方法を実施するための最良の形態を以下に説明する。   With reference to the attached drawings, the best mode for carrying out an appropriate inventory quantity calculation system and an appropriate inventory quantity calculation method according to the present invention will be described below.

(第1の実施形態)
本発明の実施形態に係る適正在庫量算出システムの構成を図1に示す。本発明の適正在庫量算出システムは、店舗PC1と、アプリケーションサーバ2と、データセンタサーバ3と、POS端末4と、代表PC5とを具備している。これらは、通信ネットワーク6により接続されている。店舗PC1は、小売チェーンの店舗に設置されているコンピュータである。店舗PC1は、キーボード11と表示装置12とを具備している。POS端末4は、小売チェーンの店舗のレジに設置されているコンピュータであり、バーコードリーダ41を具備している。また、代表PC5は、小売チェーンの本部に設置されているコンピュータである。
(First embodiment)
FIG. 1 shows the configuration of an appropriate inventory quantity calculation system according to an embodiment of the present invention. The appropriate inventory quantity calculation system of the present invention includes a store PC 1, an application server 2, a data center server 3, a POS terminal 4, and a representative PC 5. These are connected by a communication network 6. The store PC 1 is a computer installed in a store of a retail chain. The store PC 1 includes a keyboard 11 and a display device 12. The POS terminal 4 is a computer installed at a cash register of a retail chain store, and includes a barcode reader 41. The representative PC 5 is a computer installed at the headquarters of the retail chain.

アプリケーションサーバ2の構成を図2に示す。アプリケーションサーバ2は、中央処理装置21と、通信装置22と、記憶装置23とを具備している。通信装置22は、店舗PC1及びデータセンタサーバ3との通信を行う。記憶装置23は、発注業務画面編集プログラム210を格納している。中央処理装置21は、発注業務画面編集プログラム210に従って発注業務画面を生成する。   The configuration of the application server 2 is shown in FIG. The application server 2 includes a central processing unit 21, a communication device 22, and a storage device 23. The communication device 22 communicates with the store PC 1 and the data center server 3. The storage device 23 stores an ordering work screen editing program 210. The central processing unit 21 generates an ordering work screen according to the ordering work screen editing program 210.

データセンタサーバ3の構成を図3に示す。データセンタサーバ3は、中央処理装置31と、通信装置32と、記憶装置33とを具備している。通信装置32は、アプリケーションサーバ2、POS端末4、及び代表端末5との通信を行う。記憶装置33は、商品マスタ301、売上実績マスタ302、環境マスタ303、相関係数・ランク対応表304、標準偏差・平滑化定数対応表305、及び月毎売上実績表306のデータベースと、適正在庫量算出プログラム310とを格納している。中央処理装置31は、適正在庫量算出プログラム310に従い、後述する売上実績更新処理S1と、販売情報登録処理S2と、環境情報登録処理S3と、適正在庫量算出処理S4とを実行する。   The configuration of the data center server 3 is shown in FIG. The data center server 3 includes a central processing unit 31, a communication device 32, and a storage device 33. The communication device 32 communicates with the application server 2, the POS terminal 4, and the representative terminal 5. The storage device 33 includes a database of a product master 301, a sales record master 302, an environment master 303, a correlation coefficient / rank correspondence table 304, a standard deviation / smoothing constant correspondence table 305, and a monthly sales record table 306, and an appropriate inventory. An amount calculation program 310 is stored. The central processing unit 31 executes a sales record update process S1, a sales information registration process S2, an environment information registration process S3, and an appropriate inventory quantity calculation process S4, which will be described later, in accordance with the appropriate inventory quantity calculation program 310.

商品マスタ301、売上実績マスタ302、環境マスタ303、及び月毎売上実績表306のデータ構成を図4に示す。   The data structure of the product master 301, the sales record master 302, the environment master 303, and the monthly sales record table 306 is shown in FIG.

商品マスタ301は、「店舗コード」、「バーコード種別」、「バーコード」を主キーとして、「初出荷年月日」、「販売単価」、「適正在庫量」、「広告回数」を属性として持つ。ここで、「バーコード種別」はJAN等のバーコードの種類を示し、「バーコード」はバーコードが表す数値を示す。「店舗コード」、「バーコード種別」、「バーコード」の組合せによってどの店舗のどの商品かが特定される。   The merchandise master 301 uses “store code”, “barcode type”, and “barcode” as main keys, and attributes “first shipment date”, “sales unit price”, “appropriate inventory”, and “number of advertisements”. Have as. Here, “bar code type” indicates the type of bar code such as JAN, and “bar code” indicates a numerical value represented by the bar code. Which product of which store is specified by a combination of “store code”, “bar code type”, and “bar code”.

売上実績マスタ302は、「店舗コード」、「計上年月日」、「バーコード種別」、「バーコード」を主キーといし、「売上数量」、「販売単価」、「天候」、「気温」、「広告有無」を属性として持つ。ここで、「天候」は、晴れを1、曇りを0、雨を−1とする等、天候を数値で表したものである。売上実績マスタ302のレコードは、売上数量を予測するための元データであるため、過去1年以上の売上実績を保有していることが望ましい。ゆえに、データセンタサーバ13は、大きい記憶容量を有していることが望ましい。なお、データセンタサーバ13の記憶容量が制限される場合には、売上実績データをテキストデータに変換して圧縮保存しておき、適正在庫量の算出を行う際に解凍すればよい。   The sales record master 302 uses “store code”, “recording date”, “barcode type”, and “barcode” as main keys, and “sales quantity”, “sales unit price”, “weather”, “temperature” ”And“ Advertisement presence / absence ”as attributes. Here, “weather” is a numerical value representing the weather, such as 1 for clear weather, 0 for cloudy, and −1 for rain. Since the record of the sales record master 302 is the original data for predicting the sales volume, it is desirable to have a sales record of the past one year or more. Therefore, it is desirable that the data center server 13 has a large storage capacity. If the storage capacity of the data center server 13 is limited, the sales performance data may be converted into text data and compressed and stored, and decompressed when calculating the appropriate inventory amount.

環境マスタ303は、「店舗コード」を主キーとし、「天気予測値」及び「気温予測値」を属性として持つ。環境マスタ303のレコードは、1店舗につき1レコード存在し、当月の販売環境についての予測データである。   The environment master 303 has “store code” as a main key and “weather prediction value” and “temperature prediction value” as attributes. The record of the environment master 303 is one record per store, and is prediction data regarding the sales environment of the current month.

月毎売上実績表306は、「店舗コード」、「計上年月」、「バーコード種別」、「バーコード」を主キーといし、「売上数量」、「販売単価」、「初出荷後経過年月」、「天候」、「平均気温」、「広告回数」を属性として持つ。月毎売上実績表306は、商品マスタ301と売上実績マスタ302とに基づいて作成される。月毎売上実績表306においては、「売上数量」はその月(計上年月)の売上数量の合計値であり、「販売単価」はその月の販売単価の平均値であり、「初出荷後経過年月」は商品が初出荷されてから経過した年月であり、「天候」は天候を表す数値のその月における平均値であり、「平均気温」はその月の平均気温であり、「広告回数」はその月の広告を行った日の総数である。   The monthly sales performance table 306 has “store code”, “recording date”, “barcode type”, and “barcode” as the main keys, and “sales volume”, “unit price”, “elapsed after initial shipment” It has “Year / Month”, “Weather”, “Average temperature”, and “Number of advertisements” as attributes. The monthly sales record table 306 is created based on the product master 301 and the sales record master 302. In the monthly sales performance table 306, “Sales volume” is the total value of the sales volume for the month (recording month), “Sales unit price” is the average value of the sales unit price for that month, “After the first shipment” `` Elapsed date '' is the year and month since the product was shipped for the first time, `` Weather '' is the average value for the month in terms of weather, `` Average temperature '' is the average temperature for that month, “Number of advertisements” is the total number of days on which advertisements were made in the month.

つぎに、本発明に係る適正在庫量算出システムが実行する処理の概要について図5を用いて説明する。各店舗では、月1回月初に当月分の発注業務を行う。データセンタサーバ3は、発注業務に先立ち、前月までの売上実績データを用いて適正在庫量を算出する。   Next, an outline of processing executed by the appropriate inventory quantity calculation system according to the present invention will be described with reference to FIG. At each store, orders for the current month are made once a month. Prior to the ordering operation, the data center server 3 calculates an appropriate inventory amount using sales performance data up to the previous month.

なお、本発明に係る適正在庫量算出システムは、発注業務を月中に行う場合、月2回行う場合、毎週行う場合にも適用することができる。例えば、発注業務を毎月16日に行う場合において5月16日に発注するときは、5月16日から6月15日までを当月、4月16日から5月15日までを前月、3月16日から4月15日までを前々月等とすればよい。   The appropriate inventory quantity calculation system according to the present invention can also be applied to the case where the ordering operation is performed during the month, twice a month, or weekly. For example, when ordering is performed on the 16th of every month, when placing an order on May 16, the month from May 16 to June 15 is the current month, the period from April 16 to May 15 is the previous month, March The period from the 16th to the 15th of April may be the month before the other day.

データセンタサーバ3は、前月末日から当月初日に日付が変わると、売上実績更新処理S1、販売情報登録処理S2、環境情報登録処理S3を行う。   When the date changes from the last day of the previous month to the first day of the current month, the data center server 3 performs a sales record update process S1, a sales information registration process S2, and an environment information registration process S3.

売上実績更新処理S1においては、POS端末4から計上された売上数量、販売単価、天候、気温、広告有無のデータを売上実績マスタ302に付加する。売上実績更新処理S1は、夜間処理として毎日実行する。   In the sales record update process S <b> 1, the sales volume, unit sales price, weather, temperature, and advertisement presence / absence data recorded from the POS terminal 4 are added to the sales record master 302. The sales record update process S1 is executed daily as a night process.

販売情報登録処理S2においては、代表PC5から入力された当月の予定に基づいて商品マスタ301の「販売単価」及び「広告回数」を更新する。なお、販売情報登録処理S2は、後述する適正在庫量算出処理S4に先立って行う必要があるが、前月のうちに行うこととしても良い。   In the sales information registration process S <b> 2, “Sales unit price” and “Number of advertisements” of the product master 301 are updated based on the schedule of the current month input from the representative PC 5. The sales information registration process S2 needs to be performed prior to the appropriate inventory amount calculation process S4 described later, but may be performed in the previous month.

環境情報登録処理S3においては、環境マスタ303の「天気予測値」及び「気温予測値」の更新を行う。「天気予測値」の更新は、代表PC5から入力された当月の天気の予測値に基づいて行う。ここで、当月の天気の予測値は、気象庁等の公的機関、あるいは民間の気象情報提供会社等の信頼できる機関の予測を元にして定められている。「気温予測値」の更新は、代表PC5から入力された当月の平均気温の予測値に基づいて行う。ここで、当月の平均気温の予測値は、過去数年間の統計情報、あるいは信頼できる機関の予測を元にして定められている。   In the environment information registration process S3, “weather forecast value” and “temperature forecast value” in the environment master 303 are updated. The “weather forecast value” is updated based on the forecast value of the current month's weather input from the representative PC 5. Here, the predicted value of the weather for this month is determined based on the prediction of a public organization such as the Japan Meteorological Agency or a reliable organization such as a private weather information provider. The “temperature predicted value” is updated based on the predicted value of the average temperature of the current month input from the representative PC 5. Here, the predicted value of the average temperature for the current month is determined based on statistical information for the past several years or based on reliable agency predictions.

データセンタサーバ3は、売上実績更新処理S1、販売情報登録処理S2、環境情報登録処理S3を行った後に、適正在庫量算出処理S4を行う。データセンタサーバ3は、適正在庫量算出処理S4において、商品マスタ301、売上実績マスタ302、及び環境マスタ303に基づいて当月の適正在庫量を算出し、商品マスタ301に格納する。   The data center server 3 performs the appropriate inventory amount calculation process S4 after performing the sales record update process S1, the sales information registration process S2, and the environment information registration process S3. The data center server 3 calculates the appropriate inventory amount for the current month based on the product master 301, the sales record master 302, and the environment master 303 in the appropriate inventory amount calculation process S <b> 4 and stores it in the product master 301.

つぎに発注業務を行うための各処理について説明する。各店舗の発注担当者は、店舗PC1のキーボード11から発注業務画面を表示させるための指令を入力する(入力処理S10)。   Next, each process for ordering work will be described. The person in charge of ordering at each store inputs a command for displaying an ordering work screen from the keyboard 11 of the store PC 1 (input processing S10).

店舗PC1は、入力処理S10に応答して、アプリケーションサーバ2に対して発注業務画面を要求する(発注業務画面要求処理S11)。このとき、店舗PC1は、店舗PC1が設置されている店舗の店舗コードを送信する。発注業務画面要求処理S11の後、店舗PC1では、発注業務画面応答処理S15が終了するまで待ち状態となる。   In response to the input process S10, the store PC 1 requests an ordering work screen from the application server 2 (ordering work screen request process S11). At this time, store PC1 transmits the store code of the store where store PC1 is installed. After the ordering work screen request process S11, the store PC 1 is in a waiting state until the ordering work screen response process S15 is completed.

アプリケーションサーバ2は、発注業務画面要求処理S11に応答して、データセンタサーバ3に対して店舗PC1が設置されている店舗に関して商品ごとの適正在庫量を要求する(適正在庫量要求処理S12)。このとき、アプリケーションサーバ2は、店舗コードを転送する。   In response to the ordering work screen request process S11, the application server 2 requests the data center server 3 for an appropriate inventory quantity for each product regarding the store where the shop PC 1 is installed (appropriate inventory quantity request process S12). At this time, the application server 2 transfers the store code.

データセンタサーバ3は、適正在庫量要求処理S12に応答して、店舗コードを手掛かりとして、商品マスタ301から店舗PC1が設置されている店舗で扱っている商品の適正在庫量を取得し、アプリケーションサーバ2に送信する(適正在庫量応答処理S13)。   In response to the appropriate stock quantity request processing S12, the data center server 3 acquires the appropriate stock quantity of the product handled in the store where the store PC 1 is installed from the product master 301 using the store code as a clue, and the application server 2 (appropriate inventory amount response process S13).

アプリケーションサーバ2は、適正在庫量応答処理S13に応答して、データセンタサーバ3から受信した適正在庫量に基づいて発注業務画面を生成する(発注業務画面編集処理S14)。ここで、発注業務画面は、各商品ごとの適正在庫量についての情報を含んでいる。   In response to the appropriate inventory quantity response process S13, the application server 2 generates an ordering work screen based on the appropriate inventory quantity received from the data center server 3 (ordering work screen editing process S14). Here, the ordering operation screen includes information on the appropriate inventory amount for each product.

つづいて、アプリケーションサーバ2は、生成した発注業務画面のデータを店舗PC1に送る(発注業務画面応答処理S15)。   Subsequently, the application server 2 sends the generated ordering work screen data to the store PC 1 (ordering work screen response process S15).

店舗PC1は、発注業務画面応答処理S15に応答して、発注業務画面を表示装置12に表示する(発注業務画面表示処理S16)。発注担当者は、表示された適正在庫量から現在の在庫量を引き算することで各商品の発注量を決定する。   In response to the ordering work screen response process S15, the store PC 1 displays the ordering work screen on the display device 12 (ordering work screen display process S16). The person in charge of ordering determines the order quantity of each product by subtracting the current inventory quantity from the displayed appropriate inventory quantity.

適正在庫量算出処理S4について、図6から図11までのフローチャートを用いて詳しく説明する。   The appropriate inventory amount calculation process S4 will be described in detail with reference to the flowcharts of FIGS.

データセンタサーバ3は、図6に示すように、当月の売上数量を予測するための予測式を選択し(ステップS400)、選択した予測式により売上数量を予測し(ステップS410、S420、S430)、安全在庫量を算出し(ステップS440)、適正在庫量を算出する(ステップS450)ことで、適正在庫量算出処理S4を実行する。ここで、ステップS400においては、売上数量の予測をするための予測式を選択し、重回帰式による売上数量の予測(ステップS410)、単回帰式による売上数量の予測(ステップS420)、又は、指数平滑化式による売上数量の予測(ステップS430)に処理を引き渡す。ステップS410においては、重回帰式を求め、求めた重回帰式により売上数量を予測するが、重回帰式により売上数量を予測することが妥当ではない場合にはステップS420に処理を引き渡す。ステップS420においては、単回帰式を求め、求めた単回帰式により売上数量を予測するが、単回帰式により売上数量を予測することが妥当ではない場合にはステップS430に処理を引き渡す。ステップS430においては、指数平滑化式を求め、求めた指数平滑化式により売上数量を予測する。ステップS450においては、ステップS410、S420、又はS430において予測した売上数量とステップS440において算出した安全在庫量とを合計して適正在庫量を算出する。   As shown in FIG. 6, the data center server 3 selects a prediction formula for predicting the sales volume for the current month (step S400), and predicts the sales volume based on the selected prediction formula (steps S410, S420, S430). The safety stock quantity is calculated (step S440), and the proper stock quantity calculation process S4 is executed by calculating the proper stock quantity (step S450). Here, in step S400, a prediction formula for predicting the sales quantity is selected, and the sales quantity is predicted by a multiple regression equation (step S410), the sales quantity is predicted by a single regression equation (step S420), or The processing is handed over to the sales volume prediction by the exponential smoothing formula (step S430). In step S410, a multiple regression equation is obtained, and the sales quantity is predicted by the obtained multiple regression equation. If it is not appropriate to predict the sales quantity by the multiple regression equation, the process is passed to step S420. In step S420, a single regression equation is obtained and the sales quantity is predicted by the obtained single regression equation. However, if it is not appropriate to predict the sales quantity by the single regression equation, the process is transferred to step S430. In step S430, an exponential smoothing equation is obtained, and the sales volume is predicted by the obtained exponential smoothing equation. In step S450, the sales amount predicted in step S410, S420, or S430 and the safety stock amount calculated in step S440 are summed to calculate an appropriate inventory amount.

データセンタサーバ3は、各店舗の各商品に関してステップS4を実行して適正在庫量を算出する。   The data center server 3 executes step S4 for each product at each store to calculate an appropriate inventory amount.

予測式を選択するステップS400の詳細について図7を用いて説明する。ステップS400は、ステップS401〜ステップ407を含んでいる。   Details of step S400 for selecting the prediction formula will be described with reference to FIG. Step S400 includes steps S401 to 407.

はじめに、商品マスタ301と売上実績マスタ302とに基づき、各店舗の各商品に関して、売上数量、販売単価、初出荷後経過年月、天候、平均気温、広告回数を月単位に集計した月毎売上実績表306を作成して記憶装置33に格納する(ステップS401)。なお、月毎売上実績表306は、データセンタサーバ3のシステムメモリの容量が充分に大きい場合にはメモリ上に退避させておいてもよい。   First, based on the product master 301 and the sales record master 302, monthly sales for each product of each store, total sales volume, sales unit price, elapsed time after first shipment, weather, average temperature, and number of advertisements are calculated monthly. An achievement table 306 is created and stored in the storage device 33 (step S401). The monthly sales record table 306 may be saved on the memory when the capacity of the system memory of the data center server 3 is sufficiently large.

つぎに、月毎売上実績表306に基づいて、売上数量を目的変数とし、初出荷後経過年月、販売単価、天気、平均気温、広告回数を説明変数として、各説明変数ごとに相関係数を算出する(ステップS402)。相関係数の算出には、所定の期間Rmaxにおけるデータを使用する。図12に示すように、当月をK月とすると、期間Rmaxの始期は(K−2)−Lmax月であり、終期はK−2月(前々月)である。期間Rmaxの長さは、5年間等と予め定めておく。   Next, based on the monthly sales results table 306, the sales quantity is an objective variable, the elapsed time after the first shipment, the sales unit price, the weather, the average temperature, and the number of advertisements are explanatory variables, and the correlation coefficient for each explanatory variable. Is calculated (step S402). For the calculation of the correlation coefficient, data in a predetermined period Rmax is used. As shown in FIG. 12, if the current month is K month, the start of the period Rmax is (K-2) -Lmax month, and the end is K-2 month (previous month). The length of the period Rmax is predetermined as 5 years or the like.

次に、図13に示す相関係数・ランク対応表304を参照して各説明変数にA、B、Cのランク付けをする(ステップS403)。ここで、相関係数の絶対値が0.7以上1以下の場合にはAランクであり、0.4以上0.7未満の場合にはBランクであり、0.0以上0.4未満の場合にはCランクである。   Next, A, B, and C are ranked for each explanatory variable with reference to the correlation coefficient / rank correspondence table 304 shown in FIG. 13 (step S403). Here, when the absolute value of the correlation coefficient is 0.7 or more and 1 or less, it is A rank, when it is 0.4 or more and less than 0.7, it is B rank, and 0.0 or more and less than 0.4. In the case of C rank.

次に、月毎売上実績表306の各説明変数に関して分散拡大係数を算出する(ステップS404)。   Next, a variance expansion coefficient is calculated for each explanatory variable in the monthly sales performance table 306 (step S404).

次に、ランクがA又はBの説明変数であって、且つ、分散拡大係数が所定の値(例えば10)を超えている説明変数が複数存在する場合には、その中で最も高い相関係数を示す説明変数を除いた説明変数のランクを最低のCランクに修正する(ステップS405)。ステップS405により、説明変数相互間に強い相関を持つ組合せが存在する場合に重回帰式の算出が正しく行われなくなることが防がれる。   Next, when there are a plurality of explanatory variables whose rank is A or B and whose variance expansion coefficient exceeds a predetermined value (for example, 10), the highest correlation coefficient among them. The rank of the explanatory variable excluding the explanatory variable indicating “” is corrected to the lowest C rank (step S405). Step S405 prevents the multiple regression equation from being correctly calculated when there is a combination having a strong correlation between the explanatory variables.

次に、条件Aを満たす場合にはステップS410に進み、そうでない場合にはステップS407に進む(ステップS406)。ここで、条件Aとは、ランクB以上の説明変数が二つ以上存在することをいう。そして、ステップS407に進んだ場合において、条件Bを満たす場合にはステップS420に進み、そうでない場合にはステップS430に進む。ここで、条件Bとは、ランクAの説明変数が一つだけ存在するか、又は、ランクAの説明変数が一つも存在せずにランクBの説明変数が一つだけ存在することをいう。   Next, when the condition A is satisfied, the process proceeds to step S410, and otherwise, the process proceeds to step S407 (step S406). Here, the condition A means that there are two or more explanatory variables of rank B or higher. When the process proceeds to step S407, if the condition B is satisfied, the process proceeds to step S420. Otherwise, the process proceeds to step S430. Here, the condition B means that there is only one explanatory variable of rank A, or that there is only one explanatory variable of rank B without any explanatory variable of rank A.

本発明に係る適正在庫量算出システムは、ステップS400により、商品ごとに最適な予測式を選択する。したがって、商品特性が考慮された予測が成されるため、精度の高い売上数量の予測が可能となる。   The appropriate inventory amount calculation system according to the present invention selects an optimal prediction formula for each product in step S400. Therefore, since the prediction considering the product characteristics is made, it is possible to predict the sales quantity with high accuracy.

重回帰式による売上数量の予測をするステップS410の詳細について図8及び図12を用いて説明する。ステップS410は、ステップS411〜ステップ416を含んでいる。   Details of step S410 for predicting the sales volume by the multiple regression equation will be described with reference to FIGS. Step S410 includes steps S411 to 416.

はじめに、月毎売上実績表306において、重回帰式の算出をするための対象期間R1を選定する(ステップS411)。図12に示すように、対象期間R1の始期は(K−2)−L1月であり、終期はK−2月(前々月)である。L1はLmin以上Lmax以下の整数である。対象期間R1の長さは、所定の最短の長さと最長の長さ(例えば6ヶ月間と5年間)の範囲の様々な長さをとり得る。ここで、対象期間R1が最長の長さをとるときには、対象期間R1と期間Rmaxとが一致する。また、対象期間R1が最短の長さをとるときには、R1の始期は(K−2)−Lmin月である。   First, in the monthly sales result table 306, a target period R1 for calculating a multiple regression equation is selected (step S411). As shown in FIG. 12, the start period of the target period R1 is (K-2) -LJanuary, and the final period is K-2 month (previous month). L1 is an integer from Lmin to Lmax. The length of the target period R1 can take various lengths in a range between a predetermined shortest length and a longest length (for example, 6 months and 5 years). Here, when the target period R1 has the longest length, the target period R1 matches the period Rmax. When the target period R1 has the shortest length, the start period of R1 is (K-2) -Lmin months.

つぎに、選定した対象期間について重回帰式を求める(ステップS412)。重回帰式の算出においては、定数項と偏回帰係数とを最小二乗法により決定する。重回帰式を求める場合の説明変数には、ステップS405のランクの修正後において、ランクがA又はBとされている説明変数を用いる。目的変数には売上数量実績を用いる。   Next, a multiple regression equation is obtained for the selected target period (step S412). In calculating the multiple regression equation, the constant term and the partial regression coefficient are determined by the least square method. As an explanatory variable for obtaining a multiple regression equation, an explanatory variable whose rank is set to A or B after the rank correction in step S405 is used. The actual sales volume is used as the objective variable.

次のステップS413においては、対象期間R1の始期が(K−2)−Lmin月である場合から(K−2)−Lmax月である場合までの全ての場合について重回帰式が求められているときにはステップS414に進み、そうでないときにはステップS411とステップS412とを繰り返して重回帰式を求める。   In the next step S413, multiple regression equations are obtained for all cases from when the start of the target period R1 is (K-2) -Lmin month to (K-2) -Lmax month. Sometimes the process proceeds to step S414, and if not, step S411 and step S412 are repeated to obtain a multiple regression equation.

つぎに、対象期間R1を変化させて求めた重回帰式のそれぞれについて妥当性を判断する(ステップS414)。妥当性の判断は以下の手順でおこなう。はじめに、判断の対象となっている重回帰式を用いてこの重回帰式を求めた対象期間R1に含まれているN月における売上数量の予測値ρNを算出する。つぎに、重回帰式を求めるために用いた対象期間R1のうち長さが最長のものについて、売上数量実績の標準偏差δ1を算出する。そして、式(1)が対象期間R1に含まれる全ての月で成立するか否かを調べる。
ωN−δ1<ρN<ωN+δ1・・・(1)
Next, the validity of each of the multiple regression equations obtained by changing the target period R1 is determined (step S414). The validity is determined according to the following procedure. First, the predicted value ρN of the sales quantity in N months included in the target period R1 for which this multiple regression equation is obtained is calculated using the multiple regression equation that is the object of determination. Next, the standard deviation δ1 of the actual sales quantity is calculated for the longest period among the target periods R1 used to obtain the multiple regression equation. And it is investigated whether Formula (1) is materialized in all the months included in object period R1.
ωN−δ1 <ρN <ωN + δ1 (1)

ここで、ωNはN月の売上数量実績である。式(1)が対象期間内の全ての月について成立する場合には、その重回帰式は妥当であると判断し、そうでない場合には、その重回帰式は妥当ではないと判断する。妥当と判断された重回帰式が少なくとも一つ存在する場合にはステップS415に進み、そうでない場合にはステップS420に進む。   Here, ωN is the actual sales volume in N month. If equation (1) holds for all months within the target period, it is determined that the multiple regression equation is valid, and otherwise, it is determined that the multiple regression equation is not valid. If there is at least one multiple regression equation determined to be valid, the process proceeds to step S415, and if not, the process proceeds to step S420.

ステップS415においては、最適重回帰式を選択する。ステップS414において妥当と判断された重回帰式が一つの場合には、その重回帰式を最適重回帰式とする。妥当と判断された重回帰式が複数存在する場合には、前月における説明変数のデータを用いてK−1月(前月)における売上数量の予測値を算出し、前月の売上数量実績に最も近い予測値を与える重回帰式を最適重回帰式として選択する。   In step S415, an optimal multiple regression equation is selected. When there is one multiple regression equation determined to be valid in step S414, the multiple regression equation is set as the optimum multiple regression equation. When there are a plurality of multiple regression equations determined to be appropriate, the forecast value of the sales volume in K-1 month (previous month) is calculated using the explanatory variable data in the previous month, and is closest to the actual sales volume in the previous month. The multiple regression equation that gives the predicted value is selected as the optimal multiple regression equation.

次のステップS416においては、ステップS415において選択した最適重回帰式によりK月(当月)における売上数量の予測値を算出する。このとき、当月における説明変数としては、商品マスタ301及び環境マスタ303のデータを使用する。   In the next step S416, the predicted value of the sales quantity in K month (current month) is calculated by the optimum multiple regression equation selected in step S415. At this time, the data of the product master 301 and the environment master 303 are used as explanatory variables for the current month.

つぎに、単回帰式による売上数量の予測をするステップS420の詳細について図9を用いて説明する。ステップS420は、ステップS421〜ステップ427を含んでいる。   Next, details of step S420 for predicting the sales quantity by a single regression equation will be described with reference to FIG. Step S420 includes Steps S421 to Step 427.

ステップS421においては、条件Bが満たされている場合にはステップS422に進み、そうでない場合にはステップS430に進む。ステップS414において妥当な重回帰式無しと判断されて処理が引き渡された場合には、単回帰式を用いることが適切ではないデータが引き渡されることがあるから、そのようなデータの処理を指数平滑化式による売上数量の予測(ステップS430)に引き渡すためである。   In step S421, if the condition B is satisfied, the process proceeds to step S422, and if not, the process proceeds to step S430. If it is determined in step S414 that there is no valid multiple regression equation and the process is delivered, data for which it is not appropriate to use the single regression equation may be delivered. This is because the sales quantity is predicted by the chemical formula (step S430).

つぎに、単回帰式の算出に用いるデータの対象期間R1を選定する(ステップS422)。図12に示すように、対象期間R1の始期は(K−2)−L1月であり、終期はK−2月(前々月)である。L1はLmin以上Lmax以下の整数である。対象期間R1の長さは、所定の最短の長さと最長の長さ(例えば6ヶ月間と5年間)の範囲の様々な長さをとり得る。ここで、対象期間R1が最長の長さをとるときには、対象期間R1と期間Rmaxとが一致する。また、対象期間R1が最短の長さをとるときには、R1の始期は(K−2)−Lmin月である。   Next, the target period R1 of data used for calculation of the single regression equation is selected (step S422). As shown in FIG. 12, the start period of the target period R1 is (K-2) -LJanuary, and the final period is K-March (previous month). L1 is an integer from Lmin to Lmax. The length of the target period R1 can take various lengths in a range between a predetermined shortest length and a longest length (for example, 6 months and 5 years). Here, when the target period R1 has the longest length, the target period R1 matches the period Rmax. When the target period R1 has the shortest length, the start period of R1 is (K-2) -Lmin months.

つぎに、選定した対象期間について単回帰式を求める(ステップS423)。単回帰式の算出においては、定数項と回帰係数とを最小二乗法により決定する。単回帰式を求める場合の説明変数には、ステップS405のランクの修正後において、最も高いランクが付けられている説明変数を用いる。目的変数には売上数量実績を用いる。   Next, a single regression equation is obtained for the selected target period (step S423). In calculating the simple regression equation, the constant term and the regression coefficient are determined by the least square method. As the explanatory variable for obtaining the simple regression equation, the explanatory variable assigned the highest rank after the rank correction in step S405 is used. The actual sales volume is used as the objective variable.

次のステップS424においては、対象期間R1の始期が(K−2)−Lmin月である場合から(K−2)−Lmax月である場合までの全ての場合について単回帰式が求められているときにはステップS425に進み、そうでないときにはステップS422とステップS423とを繰り返して単回帰式を求める。   In the next step S424, single regression equations are obtained for all cases from when the start of the target period R1 is (K-2) -Lmin month to (K-2) -Lmax month. Sometimes the process proceeds to step S425, and if not, step S422 and step S423 are repeated to obtain a single regression equation.

ステップS425においては、前月における説明変数のデータを用いてステップS423で求めた単回帰式により前月における売上数量の予測値を算出し、前月の売上数量実績に最も近い予測を行う単回帰式を最適な単回帰式として選択する。このとき、各対象期間ごとに説明変数と目的変数との相関係数を算出し、相関係数・ランク対応表304に基づいてランク付けをする。そして、ランクがステップS402で付けたランクよりも下がっている場合には、その対象期間のデータについて求めた単回帰式は最適単回帰式を求める対象から除外する。たまたま前月の売上数量の予測だけが売上数量実績と合っている単回帰式を除外するためである。   In step S425, the predicted value of the sales volume in the previous month is calculated by the single regression equation obtained in step S423 using the explanatory variable data in the previous month, and the single regression equation that makes the prediction closest to the actual sales volume in the previous month is optimal. As a simple regression equation. At this time, the correlation coefficient between the explanatory variable and the objective variable is calculated for each target period, and ranking is performed based on the correlation coefficient / rank correspondence table 304. If the rank is lower than the rank assigned in step S402, the single regression equation obtained for the data for the target period is excluded from the target for obtaining the optimum single regression equation. This is to exclude a simple regression equation in which only the forecast of the sales volume of the previous month coincides with the sales volume performance.

ステップS426においては、ステップS425において選択した最適単回帰式について妥当性を判断する。妥当性の判断は、ステップS414と同様である。式(1)が対象期間内の全ての月について成立する場合には、その単回帰式は妥当であると判断してステップS427に進み、そうでない場合には、その単回帰式は妥当ではないと判断してステップS430に進む。   In step S426, the validity of the optimal single regression equation selected in step S425 is determined. The determination of validity is the same as in step S414. If the formula (1) holds for all the months in the target period, it is determined that the single regression equation is valid, and the process proceeds to step S427. Otherwise, the single regression equation is not valid. And the process proceeds to step S430.

次のステップS427においては、ステップS425において選択した最適単回帰式により売上数量の当月における予測値を算出する。このとき、当月における説明変数のデータとしては、商品マスタ301及び環境マスタ303にあるデータを使用する。   In the next step S427, the predicted value of the sales volume for the current month is calculated by the optimal single regression equation selected in step S425. At this time, the data in the product master 301 and the environment master 303 is used as the explanatory variable data for the current month.

本発明においては、ステップS411〜S413と、ステップS422〜S424とに見られるように、始期を前後に動かすことで対象期間を変化させ、各対象期間のデータについて求めた回帰式の中から最適なものを選択して売上数量を予測している。したがって、本発明においては、商品特性が時間的に変化する商品についても精度の良い売上数量の予測が可能である。   In the present invention, as seen in steps S411 to S413 and steps S422 to S424, the target period is changed by moving the start period back and forth, and the optimal regression equation obtained from the data for each target period is selected. The sales volume is predicted by selecting the item. Therefore, in the present invention, it is possible to predict the sales quantity with high accuracy even for a product whose product characteristics change with time.

つぎに、指数平滑化式による売上数量の予測をするステップS430の詳細について図10及び図12を用いて説明する。ステップS430は、ステップS431〜ステップ435を含んでいる。   Next, details of step S430 for predicting the sales volume by the exponential smoothing formula will be described with reference to FIGS. Step S430 includes steps S431 to 435.

ステップS431〜S434においては、指数平滑化式を求める。指数平滑化式は式(2)で表される。
ρ1=(1−α)μ+αω・・・(2)
In steps S431 to S434, an exponential smoothing equation is obtained. The exponential smoothing equation is expressed by equation (2).
ρ1 = (1−α) μ + αω (2)

ここで、ρ1はK月(当月)における売上数量の予測値、μは所定の一定期間R2内における売上数量実績の平均値、ωはK−1月(前月)の売上数量実績である。ここで、期間R2は、(K−1)−L2月を始期とし、K−1月(前月)を終期とする期間である。平滑化定数αは、ステップS434で求める0以上1以下の数値である。   Here, ρ1 is a predicted value of sales volume in K month (current month), μ is an average value of sales volume results within a predetermined period R2, and ω is a sales volume result in K-1 month (previous month). Here, the period R2 is a period starting from (K-1) -LFebruary and ending in K-1 month (previous month). The smoothing constant α is a numerical value from 0 to 1 obtained in step S434.

一般的に指数平滑化式においては、ρ1を当月の予測値とし、ωを前月の実績値とすると、μは前月の予測値であるが、本発明においては、指数平滑化式は上述の場合を含むものとする。   In general, in the exponential smoothing formula, if ρ1 is the predicted value of the current month and ω is the actual value of the previous month, μ is the predicted value of the previous month. However, in the present invention, the exponential smoothing formula is as described above. Shall be included.

はじめに、月毎売上実績表306において、期間R2に含まれている各月の売上数量実績を期間R2における売上数量実績の平均値で除して売上数量実績を標準化する(ステップS431)。つづいて、標準化した売上数量実績を、その1月前の標準化した売上数量実績で除して増減度を求め、さらに、増減度の絶対値を求める(ステップS432)。つづいて、増減度の絶対値の標準偏差を計算する(ステップS433)。つづいて、標準偏差から図14に示す標準偏差・平滑化定数対応表305を参照して平滑化定数αを求める(ステップS434)。標準化を行っているために、商品の売上数量の規模の影響を受けずに平滑化定数αを求めることができる。   First, in the monthly sales result table 306, the sales quantity results of each month included in the period R2 are divided by the average value of the sales quantity results in the period R2, and the sales quantity results are standardized (step S431). Subsequently, the standardized sales volume result is divided by the standardized sales volume result of the previous month to determine the degree of increase / decrease, and the absolute value of the degree of increase / decrease is further obtained (step S432). Subsequently, the standard deviation of the absolute value of the degree of increase / decrease is calculated (step S433). Subsequently, the smoothing constant α is obtained from the standard deviation with reference to the standard deviation / smoothing constant correspondence table 305 shown in FIG. 14 (step S434). Since standardization is performed, the smoothing constant α can be obtained without being affected by the scale of the sales volume of the product.

ステップS435においては、月毎売上実績表306を参照して得られる売上数量実績の期間R2における平均値と、前月の売上数量実績とを式(2)に代入し、当月における売上数量の予測値を算出する。   In step S435, the average value in the period R2 of the sales volume results obtained by referring to the monthly sales results table 306 and the sales volume results in the previous month are substituted into the formula (2), and the predicted value of the sales volume in the current month. Is calculated.

ステップS440においては、安全在庫量を算出する。安全在庫量の算出は、図11に示すステップS441及びS442の手順で行う。   In step S440, a safety stock quantity is calculated. The safety stock quantity is calculated according to the procedures of steps S441 and S442 shown in FIG.

ステップS441においては、月毎売上実績表306を参照し、売上数量の予測に使用した期間内について予測誤差を算出し、予測誤差の標準偏差δ2を求める。重回帰式又は単回帰式により予測を行っている場合においては、最適重回帰式又は最適単回帰式と、月毎売上実績表306の説明変数のデータとに基づいて、最適重回帰式又は最適単回帰式を求めている対象期間内について売上数量の予測値を算出し、予測値と売上数量実績との差をとることで予測誤差を求める。指数平滑化式により予測を行っている場合においては、月毎売上実績表306の売上数量実績のデータと指数平滑化式とを用いて期間R2について売上数量の予測値を算出し、予測値と売上数量実績との差をとることで予測誤差を求める。例えば、式(2)のωとしてX月における売上数量実績を用いることで、ρ1としてX月の次月の売上数量実績が得られる。   In step S441, with reference to the monthly sales performance table 306, a prediction error is calculated for the period used to predict the sales quantity, and a standard deviation δ2 of the prediction error is obtained. In the case where the prediction is made by the multiple regression formula or the single regression formula, the optimum multiple regression formula or the optimum single regression formula and the optimum multiple regression formula or the optimum based on the explanatory variable data of the monthly sales performance table 306 are calculated. A forecast value of sales volume is calculated for the target period for which a simple regression equation is being calculated, and a prediction error is obtained by taking the difference between the forecast value and the actual sales volume. In the case where the prediction is performed using the exponential smoothing formula, the forecast value of the sales quantity is calculated for the period R2 using the sales volume actual data in the monthly sales performance table 306 and the exponential smoothing formula. The prediction error is obtained by taking the difference from the actual sales volume. For example, by using the sales volume record in the month X as ω in the equation (2), the sales volume record in the next month of the month X can be obtained as ρ1.

つづいて、ステップS442においては、式(3)により安全在庫量φを求める。
φ=βδ2・・・(3)
Subsequently, in step S442, the safety stock quantity φ is obtained by Expression (3).
φ = βδ2 (3)

ここで、βは安全率である。安全率βとしては、一般的に1.65または2.33が使用される。安全率βを1.65とした場合には5%の危険率であり、2.33とした場合には1%の危険率である。   Here, β is a safety factor. Generally, 1.65 or 2.33 is used as the safety factor β. When the safety factor β is 1.65, the risk factor is 5%, and when it is 2.33, the risk factor is 1%.

安全在庫量を求めるときには、リードタイム(商品を発注してから納品されるまでの期間)を考慮してもよい。この場合は、リードタイム期間の売上数量の予測値を加算して安全在庫量を求める。例えば、ある商品の当月の売上数量の予測値が100個、リードタイムが0.5ヶ月である場合においては、0.5×100個=50個を加算するため、安全在庫量φはβδ2+50個となる。   When obtaining the safety stock amount, the lead time (the period from when the product is ordered until it is delivered) may be taken into consideration. In this case, the safety stock quantity is obtained by adding the predicted value of the sales quantity during the lead time period. For example, in the case where the predicted value of the sales volume of a certain product for the current month is 100 pieces and the lead time is 0.5 month, 0.5 × 100 pieces = 50 pieces are added, so the safety stock quantity φ is βδ2 + 50 pieces. It becomes.

本発明においては、ステップS440に見られるように、過去の一定期間における予測誤差の標準偏差に基づいて安全在庫量を算出している。つまり本発明においては、予測の信頼度に応じて安全在庫量を算出しているため、過剰在庫を抱えることが防がれている。これに対し、過去の一定期間における売上数量実績の標準偏差に基づいて安全在庫量を算出する場合、つまり、売上数量の変動の激しさに応じて安全在庫量を算出する場合においては、売上数量の変動は大きいが売上数量の予測が可能である商品についても安全在庫量を多めに算出してしまうため、過剰在庫を抱えることになりやすい。例えば、売上数量が季節によって大きく変動するが、気温及び天候から売上数量の予測が可能な使い捨てカイロ等を想起すれば、本発明の優位性は明らかである。   In the present invention, as can be seen in step S440, the safety stock amount is calculated based on the standard deviation of the prediction error in the past certain period. In other words, in the present invention, since the safety stock quantity is calculated according to the reliability of the prediction, it is possible to prevent the excess inventory from being held. On the other hand, when calculating the safety stock based on the standard deviation of the actual sales volume over a certain period in the past, that is, when calculating the safety stock according to the severity of the sales volume fluctuation, For products that have large fluctuations but can predict the sales volume, a large amount of safety stock is calculated, so it is easy to have excess inventory. For example, the superiority of the present invention is clear if a disposable body warmer or the like that can predict the sales volume from the temperature and weather, although the sales volume varies greatly depending on the season, is clear.

ステップS450においては、式(4)により適正在庫量σを求め、求めた適正在庫量σを商品マスタ301に格納する。
σ=ρ2+φ・・・(4)
In step S450, the appropriate inventory quantity σ is obtained from the equation (4), and the obtained appropriate inventory quantity σ is stored in the product master 301.
σ = ρ2 + φ (4)

ここで、ρ2は、ステップS410、ステップS420、又はステップS430において求めた当月の売上数量の予測値である。   Here, ρ2 is the predicted value of the sales volume for the current month obtained in step S410, step S420, or step S430.

(適正在庫量の算出手順についての具体的データを用いた説明)
つぎに、本発明の適正在庫量算出システムにおいて実行される適正在庫量の算出手順に関し、具体的データを用いて説明する。
(Explanation using specific data on the procedure for calculating the appropriate amount of inventory)
Next, the procedure for calculating the appropriate inventory quantity executed in the appropriate inventory quantity calculation system of the present invention will be described using specific data.

月毎売上実績表306の具体例306’を図15に示す。図15においては、商品A、B、及びCは、売上実績マスタ302の店舗コードと、バーコード種別と、バーコードとによって特定される商品である。図15には、商品A〜Cについて、各計上年月における売上実績(売上数量)、販売単価、平均気温、経過年月(初出荷後経過年月)が示されている。ここで、売上実績は各計上年月における売上実績の合計値であり、販売単価及び平均気温は各計上年月における平均値であり、これらはステップS401において売上実績マスタ302のデータから算出されたものである。経過年月は、図16に示す商品マスタ301の具体例301’に示されている各商品の初出荷年月日と図15の計上年月とからステップS401において算出されたものである。   A specific example 306 'of the monthly sales record table 306 is shown in FIG. In FIG. 15, the products A, B, and C are products specified by the store code, the barcode type, and the barcode of the sales record master 302. FIG. 15 shows the sales performance (sales volume), sales unit price, average temperature, and elapsed time (elapsed month after first shipment) for each of the products A to C. Here, the sales performance is the total value of the sales performance in each recording date, the sales unit price and the average temperature are the average values in each recording date, and these are calculated from the data of the sales performance master 302 in step S401. Is. The elapsed date is calculated in step S401 from the initial shipment date of each product shown in the specific example 301 'of the product master 301 shown in FIG. 16 and the date of recording in FIG.

商品A、B、及びCのそれぞれについて、経過年月と、販売単価と、平均気温とについての相関係数と、分散拡大係数と、ランクとを図17に示す。ここで、相関係数は、図15における計上年月が2004年12月から2005年11月までの期間である最長対象期間Rmaxにおける売上実績と、経過年月、販売単価、及び平均気温との相関係数であり、ステップS402において算出されたものである。分散拡大係数は、2004年12月から2005年11月までの期間における経過年月、販売単価、及び平均気温からステップS404において算出されたものである。また、ランクは、相関係数・ランク対応表304に基づいてステップS403においてランク付けされたものである。なお、図17においては、分散拡大係数は所定の値(=10)を超えていないため、ランクの修正(ステップS405)は行われていない。   For each of the products A, B, and C, FIG. 17 shows the elapsed time, the sales unit price, the correlation coefficient for the average temperature, the variance expansion coefficient, and the rank. Here, the correlation coefficient is calculated by comparing the sales record in the longest target period Rmax in which the recording date in FIG. 15 is from December 2004 to November 2005, the elapsed time, the sales unit price, and the average temperature. Correlation coefficient, calculated in step S402. The dispersion expansion coefficient is calculated in step S404 from the elapsed time, the sales unit price, and the average temperature in the period from December 2004 to November 2005. The ranks are ranked in step S403 based on the correlation coefficient / rank correspondence table 304. In FIG. 17, since the dispersion expansion coefficient does not exceed a predetermined value (= 10), the rank is not corrected (step S405).

商品Aについては、経過年月、販売単価、平均気温が全てAにランク付けされているために条件Aを満たし、ステップS410に処理が引き渡される(ステップS406)。商品Bについては、経過年月と平均気温とがCにランク付けされており、販売単価がAにランク付けされているために、条件Aを満たさず、且つ、条件Bを満たすため、ステップS420に処理が引き渡される(ステップS406及びS407)。商品Cについては、経過年月、販売単価、平均気温が全てCにランク付けされているために条件Aと条件Bの両者を満たさず、ステップS430に処理が引き渡される(ステップS406及びS407)。   For the product A, the elapsed time, the sales unit price, and the average temperature are all ranked A, so the condition A is satisfied, and the process is handed over to step S410 (step S406). For the product B, the elapsed time and the average temperature are ranked C, and the sales unit price is ranked A, so the condition A is not satisfied and the condition B is satisfied. The process is handed over to (Steps S406 and S407). For the product C, the elapsed year, the sales unit price, and the average temperature are all ranked C, so both the conditions A and B are not satisfied, and the process is handed over to step S430 (steps S406 and S407).

商品Aに関して、各計上年月における売上実績と、下限値と、上限値と、売上予測と、予測誤差の表を図18に示す。ここでは、売上実績を目的変数とし、販売単価、平均気温、及び経過年月を説明変数として対象期間を最長対象期間(2004年12月〜2005年11月)から最短対象期間(2005年6月〜2005年11月)まで変化させて重回帰式を求めている(ステップS411〜S413)。図18においては対象期間は2ヶ月ごとに選定されているが、1ヶ月ごとに選定してもよく、対象期間を何ヶ月ごとに選定するかは任意に設定することができる。2004年12月から2005年11月までの対象期間について求めた重回帰式により算出した売上予測が、2004/12〜2005/11の列に示されている。例えば、図15に示す計上年月が2004年12月における商品Aの販売単価、平均気温、経過年月を重回帰式に代入することで、図18に示す2004年12月における売上予測が97.93個と算出される。他の対象期間についての売上予測も同様にして算出されたものである。図18の売上実績の最長対象期間Rmax(2004年12月〜2005年11月)における標準偏差δ1が14.5であるため、下限値(ωN−δ1)及び上限値(ωN+δ1)が、例えば2004年12月については下限値が87.5(=102−14.5)であり、上限値が116.5(=102+14.5)であると算出されている。図18においては、4つの対象期間における売上予測の全てが、その計上年月における上限値と下限値との間にあるため、ステップS414において妥当な重回帰式有りと判断され、ステップS415に処理が引き渡される。前月(2005年12月)における売上予測をみると、対象期間を2005年2月から2005年11月までとしたときの売上予測(124.19)が最も売上実績(124)に近い。したがって、対象期間を2005年2月から2005年11月までとして求めた重回帰式が最適重回帰式として選択される(ステップS415)。そして、当月(2006年1月)の販売単価97円、気温予測値4.5℃、経過年月14ヶ月を最適重回帰式に入力することで当月の売上げ予測が118.10個であると算出される(ステップS416)。   FIG. 18 shows a table of sales results, the lower limit value, the upper limit value, the sales forecast, and the prediction error for the product A in each recording date. Here, the sales period is an objective variable, the sales unit price, average temperature, and elapsed time are explanatory variables, and the target period is changed from the longest target period (December 2004 to November 2005) to the shortest target period (June 2005). To November 2005) to obtain a multiple regression equation (steps S411 to S413). In FIG. 18, the target period is selected every two months, but may be selected every month, and the number of months for which the target period is selected can be arbitrarily set. Sales forecasts calculated by the multiple regression equation obtained for the target period from December 2004 to November 2005 are shown in columns 2004/12 to 2005/11. For example, the sales forecast for December 2004 shown in FIG. 18 is 97 by substituting the sales unit price, the average temperature, and the elapsed time of the product A for December 2004 in the multiple regression equation as shown in FIG. Calculated as 93. Sales forecasts for other target periods are calculated in the same manner. Since the standard deviation δ1 in the longest target period Rmax (December 2004 to November 2005) in FIG. 18 is 14.5, the lower limit value (ωN−δ1) and the upper limit value (ωN + δ1) are, for example, 2004. For December, the lower limit is calculated as 87.5 (= 102-14.5), and the upper limit is calculated as 116.5 (= 102 + 14.5). In FIG. 18, since all the sales forecasts in the four target periods are between the upper limit value and the lower limit value in the recording date, it is determined that there is an appropriate multiple regression equation in step S414, and the process proceeds to step S415. Is delivered. Looking at the sales forecast in the previous month (December 2005), the sales forecast (124.19) when the target period is from February 2005 to November 2005 is the closest to the sales record (124). Therefore, the multiple regression equation obtained by setting the target period from February 2005 to November 2005 is selected as the optimum multiple regression equation (step S415). And the sales forecast for this month is 118.10 by inputting the unit price of 97 yen for this month (January 2006), the predicted temperature of 4.5 ° C, and the past 14 months into the optimal multiple regression equation. Calculated (step S416).

最適重回帰式を求めた対象期間(2005年2月〜2005年11月)において、売上予測から売上実績を引き算することで予測誤差を算出し、さらに、予測誤差の標準偏差δ2を算出すると3.58である(ステップS441)。安全率βとして1.65を用いると安全在庫量φは5.91個であると算出される(ステップS442)。したがって、適正在庫量は、118.10+5.91=124.01の小数点以下を切り上げて、125個と算出される(ステップS450)。   In the target period (February 2005-November 2005) for which the optimum multiple regression equation is obtained, the forecast error is calculated by subtracting the actual sales from the sales forecast, and further, the standard deviation δ2 of the forecast error is calculated. .58 (step S441). When 1.65 is used as the safety factor β, the safety stock quantity φ is calculated to be 5.91 (step S442). Therefore, the appropriate inventory quantity is calculated as 125 pieces by rounding up the decimal point of 118.10 + 5.91 = 124.01 (step S450).

商品Bに関して、各計上年月における売上実績と、下限値と、上限値と、売上予測と、予測誤差の表を図19に示す。ここでは、売上実績を目的変数とし、販売単価を説明変数として対象期間を最長対象期間(2004年12月〜2005年11月)から最短対象期間(2005年6月〜2005年11月)まで変化させて単回帰式を求めている(ステップS422〜S424)。図19においては対象期間は2ヶ月ごとに選定されているが、1ヶ月ごとに選定してもよく、対象期間を何ヶ月ごとに選定するかは任意に設定することができる。ここで、図19に示す4つの対象期間について、図15に示す販売単価と売上実績との相関係数と、相関係数・ランク対応表304を参照してランク付けをしたランクとを図20に示す。図20に示すように、4つの対象期間の全てにおいてランクがAランクであるため、ステップS402で付けたランク(図17に示す商品Bに関する販売単価についてのランク)よりも下がっている場合はない。よって、全ての対象期間について求めた単回帰式を最適単回帰式を選択する対象とする。図19においては、2004年12月から2005年11月までの対象期間について求めた単回帰式により算出した売上予測が、2004/12〜2005/11の列に示されている。例えば、図15に示す計上年月が2004年12月における商品Bの販売単価98円を単回帰式に代入することで、図19に示す2004年12月における売上予測が111.33個であると算出される。他の対象期間についての売上予測も同様にして算出されたものである。図19の売上実績の最長対象期間Rmax(2004年12月〜2005年11月)における標準偏差δ1が14.8であるため、下限値(ωN−δ1)及び上限値(ωN+δ1)が、例えば2004年12月については下限値が85.2個(=100−14.8)であり、上限値が114.8個(=100+14.8)であると算出されている。前月(2005年12月)における売上予測をみると、対象期間を2004年12月から2005年11月までとしたときの売上予測(108.17)が最も売上実績(103)に近い。したがって、対象期間を2004年12月から2005年11月までとして求めた単回帰式が最適単回帰式として選択される(ステップS425)。図19においては、最適単回帰式による売上予測が、最適単回帰式を求めた対象期間の全ての月において上限値と下限値との間にあるため、ステップS426において妥当であると判断され、ステップS427に処理が引き渡される。そして、当月(2006年1月)の販売単価92円(図16参照)を最適単回帰式に入力することで当月の売上予測が120.83個であると算出される(ステップS427)。   FIG. 19 shows a table of sales results, the lower limit value, the upper limit value, the sales forecast, and the prediction error for the product B in each recording date. Here, the sales period is the objective variable, the sales unit price is the explanatory variable, and the target period changes from the longest target period (December 2004 to November 2005) to the shortest target period (June 2005 to November 2005). Thus, a single regression equation is obtained (steps S422 to S424). In FIG. 19, the target period is selected every two months, but may be selected every month, and the number of months for which the target period is selected can be arbitrarily set. Here, for the four target periods shown in FIG. 19, the correlation coefficient between the sales unit price and the sales record shown in FIG. 15 and the ranks ranked with reference to the correlation coefficient / rank correspondence table 304 are shown in FIG. Shown in As shown in FIG. 20, since the rank is A rank in all the four target periods, there is no case where it is lower than the rank given in step S402 (rank for the sales unit price for the product B shown in FIG. 17). . Therefore, the single regression equation obtained for all the target periods is the target for selecting the optimum single regression equation. In FIG. 19, sales predictions calculated by a single regression equation obtained for the target period from December 2004 to November 2005 are shown in columns 2004/12 to 2005/11. For example, by substituting the unit sales price of 98 yen for product B in December 2004 as shown in FIG. 15 into a simple regression equation, the sales forecast in December 2004 as shown in FIG. 19 is 111.33. Is calculated. Sales forecasts for other target periods are calculated in the same manner. Since the standard deviation δ1 in the longest target period Rmax (December 2004 to November 2005) in FIG. 19 is 14.8, the lower limit (ωN−δ1) and the upper limit (ωN + δ1) are, for example, 2004. For December, the lower limit is calculated to be 85.2 (= 100-14.8), and the upper limit is calculated to be 114.8 (= 100 + 14.8). Looking at the sales forecast for the previous month (December 2005), the sales forecast (108.17) when the target period is from December 2004 to November 2005 is the closest to the sales record (103). Therefore, the single regression equation obtained by setting the target period from December 2004 to November 2005 is selected as the optimal single regression equation (step S425). In FIG. 19, since the sales forecast by the optimal single regression equation is between the upper limit value and the lower limit value in all the months of the target period for which the optimal single regression equation is obtained, it is determined that it is appropriate in step S426. The process is handed over to step S427. Then, the sales forecast for the current month (January 2006) is calculated to be 120.83 by inputting the unit price of 92 yen (see FIG. 16) in the optimal single regression equation (step S427).

最適単回帰式を求めた対象期間(2004年12月〜2005年11月)において、売上予測から売上実績を引き算することで予測誤差を算出し、さらに、予測誤差の標準偏差δ2を算出すると8.32である(ステップS441)。安全率βとして1.65を用いると安全在庫量φは13.73個であると算出される(ステップS442)。したがって、適正在庫量は、120.83+13.73=134.56の小数点以下を切り上げて、135個と算出される(ステップS450)。   In the target period (December 2004 to November 2005) for which the optimal single regression equation is obtained, the prediction error is calculated by subtracting the sales result from the sales forecast, and further, the standard deviation δ2 of the prediction error is calculated as 8 .32 (step S441). If 1.65 is used as the safety factor β, the safety stock quantity φ is calculated to be 13.73 (step S442). Therefore, the appropriate inventory amount is calculated as 135 pieces by rounding up the decimal point of 120.83 + 13.73 = 134.56 (step S450).

商品Cに関して、各計上年月における売上実績と、標準化売上実績と、増減度と、売上予測と、予測誤差とを図21に示す。この具体例においては、2005年1月から2005年12月までの期間が対象期間R2に相当する。標準化売上実績は、各計上年月の売上実績を対象期間R2における売上実績の平均値μである105.58で除して算出されている(ステップS431)。そして、増減度が、その月の標準化売上実績をその前の月の標準化売上実績で除して算出されている(ステップS432)。なお、増減度は、その月の売上実績をその前の月の売上実績で除して算出することもできる。この場合には、ステップS431とステップS432とを1ステップで行うことができる。対象期間R2における増減度のデータの標準偏差は0.041であるため、標準偏差・平滑化定数対応表305から平滑化定数αは0.6と決定される(ステップS434)。ここで、平滑化定数αを0.6とし、対象期間R2における売上実績の平均値μを105.58とし、前月(2005年12月)における売上数量実績ωを103とすれば、式(2)により当月(2006年1月)の売上予測は104.03個であると算出される(ステップS435)。   FIG. 21 shows the sales results, the standardized sales results, the degree of increase / decrease, the sales prediction, and the prediction error for the product C in each recording date. In this specific example, the period from January 2005 to December 2005 corresponds to the target period R2. The standardized sales performance is calculated by dividing the sales performance of each recording date by 105.58, which is the average value μ of the sales performance in the target period R2 (step S431). Then, the degree of increase / decrease is calculated by dividing the standardized sales performance of the month by the standardized sales performance of the previous month (step S432). The degree of increase / decrease can also be calculated by dividing the sales record for the month by the sales record for the previous month. In this case, step S431 and step S432 can be performed in one step. Since the standard deviation of the increase / decrease data in the target period R2 is 0.041, the smoothing constant α is determined to be 0.6 from the standard deviation / smoothing constant correspondence table 305 (step S434). Here, if the smoothing constant α is 0.6, the average value μ of the sales results in the target period R2 is 105.58, and the sales volume result ω in the previous month (December 2005) is 103, the formula (2 ) To calculate 104.03 sales forecasts for the current month (January 2006) (step S435).

対象期間R2(2005年1月〜2005年12月)において、売上予測から売上実績を引き算することで予測誤差を算出し、さらに、予測誤差の標準偏差δ2を算出すると3.51である(ステップS441)。安全率βとして1.65を用いると安全在庫量φは5.79個であると算出される(ステップS442)。したがって、適正在庫量は、104.03+5.79=109.82の小数点以下を切り上げて、110個であると算出される(ステップS450)。なお、対象期間R2に属している月の売上予測は、式(2)においてその前の月の売上実績をωの代わりに用いることで算出される。   In the target period R2 (January 2005-December 2005), the forecast error is calculated by subtracting the actual sales from the sales forecast, and the standard deviation δ2 of the forecast error is 3.51 (step) S441). When 1.65 is used as the safety factor β, the safety stock quantity φ is calculated to be 5.79 (step S442). Therefore, the appropriate inventory quantity is calculated to be 110 by rounding up the decimal part of 104.03 + 5.79 = 109.82 (step S450). Note that the sales forecast for the month belonging to the target period R2 is calculated by using the sales performance of the previous month in Equation (2) instead of ω.

(他の実施形態)
本発明においては、ステップS16において、適正在庫量算出の信頼度を適正在庫量とともに表示してもよい。そのためには、ステップS441においてデータセンタサーバ3は予測誤差の標準偏差δ2を商品マスタ301に格納する。そして、ステップS13においてアプリケーションサーバ2は標準偏差δ2を取得する。さらにステップS14においてアプリケーションサーバ2は、発注業務画面を生成する際に予め記憶装置23に格納されている標準偏差δ2と信頼度との対応関係を定めた標準偏差・信頼度対応表(不図示)を参照し、標準偏差δ2に対応した「適正在庫量算出の信頼度高い」、又は「適正在庫量算出の信頼度低い」等の信頼度を発注業務画面に表示されるようにする。発注担当者は、表示装置12に表示される適正在庫量算出の信頼度を参考にして発注量を増減することができる。
(Other embodiments)
In the present invention, the reliability of the appropriate inventory quantity calculation may be displayed together with the appropriate inventory quantity in step S16. For this purpose, the data center server 3 stores the standard deviation δ2 of the prediction error in the product master 301 in step S441. In step S13, the application server 2 acquires the standard deviation δ2. Further, in step S14, the application server 2 generates a standard deviation / reliability correspondence table (not shown) that defines a correspondence relationship between the standard deviation δ2 and the reliability stored in the storage device 23 in advance when generating the ordering work screen. , The reliability such as “high reliability of calculation of appropriate inventory quantity” or “low reliability of calculation of appropriate inventory quantity” corresponding to the standard deviation δ2 is displayed on the ordering work screen. The person in charge of ordering can increase or decrease the order quantity with reference to the reliability of the appropriate inventory quantity calculation displayed on the display device 12.

本発明においては、相関係数・ランク対応表304及び標準偏差・平滑化定数対応表305を商品ごとに用意することにより、各商品の特性に応じて適正在庫量の算出を行うことができる。さらに、相関係数・ランク対応表304及び標準偏差・平滑化定数対応表305を過去の予測実績に基づいて修正する成長型システムとしてもよい。例えば、図14に示す標準偏差・平滑化定数対応表305において、標準偏差が0.04である場合には平滑化定数は0.6であるが、予測実績に基づいて、この場合の平滑化定数を0.6から0.5に修正するといった方式である。   In the present invention, by preparing the correlation coefficient / rank correspondence table 304 and the standard deviation / smoothing constant correspondence table 305 for each product, it is possible to calculate the appropriate stock amount according to the characteristics of each product. Further, the correlation coefficient / rank correspondence table 304 and the standard deviation / smoothing constant correspondence table 305 may be a growth type system that corrects the correlation based on past prediction results. For example, in the standard deviation / smoothing constant correspondence table 305 shown in FIG. 14, when the standard deviation is 0.04, the smoothing constant is 0.6. In this method, the constant is corrected from 0.6 to 0.5.

本発明の妥当性判断(ステップS414及びS426)においては、対象期間R1の全ての月について(1)式を満たす重回帰式又は単回帰式を妥当であるとしているが、対象期間R1の全ての月のみならず前月においても(1)式を満たす場合に妥当であるとしてもよい。   In the validity judgment of the present invention (steps S414 and S426), the multiple regression equation or the single regression equation satisfying the equation (1) is valid for all the months in the target period R1, but all the target period R1 It may be appropriate when the expression (1) is satisfied not only in the month but also in the previous month.

図1は、本発明に係る適正在庫量算出システムの構成を示す図である。FIG. 1 is a diagram showing a configuration of an appropriate inventory quantity calculation system according to the present invention. 図2は、アプリケーションサーバの構成を示す図である。FIG. 2 is a diagram illustrating a configuration of the application server. 図3は、データセンタサーバの構成を示す図である。FIG. 3 is a diagram illustrating the configuration of the data center server. 図4は、商品マスタ、売上実績マスタ、環境マスタ、及び月毎売上実績表のデータ構成を示す図である。FIG. 4 is a diagram illustrating a data configuration of a product master, a sales record master, an environment master, and a monthly sales record table. 図5は、本発明に係る適正在庫量算出システムが実行する処理の概要を示すタイムチャートである。FIG. 5 is a time chart showing an outline of processing executed by the appropriate inventory quantity calculation system according to the present invention. 図6は、適正在庫量算出処理について示すフローチャートである。FIG. 6 is a flowchart showing the appropriate inventory amount calculation process. 図7は、予測式選択について示すフローチャートである。FIG. 7 is a flowchart showing prediction formula selection. 図8は、重回帰式による売上数量の予測について示すフローチャートである。FIG. 8 is a flowchart showing the prediction of the sales volume by the multiple regression equation. 図9は、単回帰式による売上数量の予測について示すフローチャートである。FIG. 9 is a flowchart showing the prediction of sales volume by a single regression equation. 図10は、指数平滑化式による売上数量の予測について示すフローチャートである。FIG. 10 is a flowchart showing the prediction of the sales volume by the exponential smoothing formula. 図11は、安全在庫量算出について示すフローチャートである。FIG. 11 is a flowchart illustrating the safety stock amount calculation. 図12は、データの分析を行う対象期間について説明するための図である。FIG. 12 is a diagram for explaining a target period for data analysis. 図13は、相関係数・ランク対応表を示す図である。FIG. 13 is a diagram showing a correlation coefficient / rank correspondence table. 図14は、標準偏差・平滑化定数対応表を示す図である。FIG. 14 is a diagram showing a standard deviation / smoothing constant correspondence table. 図15は、月毎売上実績表の具体例について示す図である。FIG. 15 is a diagram showing a specific example of a monthly sales performance table. 図16は、商品マスタの具体例について示す図である。FIG. 16 is a diagram illustrating a specific example of the product master. 図17は、予測式選択における処理を説明するための図である。FIG. 17 is a diagram for explaining processing in prediction formula selection. 図18は、重回帰式による売上数量の予測における処理を説明するための図である。FIG. 18 is a diagram for explaining processing in forecasting sales volume by a multiple regression equation. 図19は、単回帰式による売上数量の予測における処理を説明するための図である。FIG. 19 is a diagram for explaining processing in the prediction of sales volume by a single regression equation. 図20は、単回帰式による売上数量の予測において、対象期間を変化させたときの説明変数のランクの変化について示す図である。FIG. 20 is a diagram illustrating changes in ranks of explanatory variables when the target period is changed in the prediction of sales volume by a single regression equation. 図21は、指数平滑化式による売上数量の予測における処理を示す図である。FIG. 21 is a diagram showing processing in the forecast of sales volume by the exponential smoothing formula.

符号の説明Explanation of symbols

1…店舗PC
2…アプリケーションサーバ
3…データセンタサーバ
4…POS端末
5…代表PC
6…通信ネットワーク
11…キーボード
12…表示装置
21、31…中央処理装置
22、32…通信装置
23、33…記憶装置
41…バーコードリーダ
210…発注業務画面編集プログラム
301、301’…商品マスタ
302…売上実績マスタ
303…環境マスタ
304…相関係数・ランク対応表
305…標準偏差・平滑化定数対応表
306、306’…月毎売上実績表
310…適正在庫量算出プログラム
1 ... Store PC
2 ... Application server 3 ... Data center server 4 ... POS terminal 5 ... Representative PC
6 ... Communication network 11 ... Keyboard 12 ... Display device 21, 31 ... Central processing unit 22, 32 ... Communication device 23, 33 ... Storage device 41 ... Bar code reader 210 ... Ordering work screen editing program 301, 301 '... Product master 302 ... Sales record master 303 ... Environment master 304 ... Correlation coefficient / rank correspondence table 305 ... Standard deviation / smoothing constant correspondence table 306, 306 '... Monthly sales record table 310 ... Appropriate inventory calculation program

Claims (16)

演算装置と、
記憶装置と、
入力装置と、
出力装置と
を具備し、
前記記憶装置は、
売上数量の前期以前における時系列データである売上数量データと、前記売上数量に影響を及ぼす要因の前期以前における時系列数値データである要因データとを格納する時系列データベースと、
ともに時系列データである売上数量データ元データと要因データ元データとを格納する売上実績データベースと、
前記要因の当期における予測値又は予定値の数値データである当期要因データを格納する当期要因データベースと
を格納しており、
前記演算装置は、
前記入力装置から入力される前記売上数量データ元データと前記要因データ元データとを前記売上実績データベースに格納し、
前記売上数量データ元データと前記要因データ元データとを前記売上実績データベースから読み出し、
前記売上数量データ元データと前記要因データ元データとを期ごとに集計して前記売上数量データと前記要因データとをそれぞれ作成し、
作成した前記売上数量データと前記要因データとを前記時系列データベースに格納し、
前記入力装置から入力される前記当期要因データを前記当期要因データベースに格納し、
前記売上数量データと前記要因データとを前記時系列データベースから読み出し、
複数存在する所定の対象期間の各々について、前記売上数量データを目的変数とし、前記要因データを説明変数とする回帰式を演算し、
前記当期要因データを前記当期要因データベースから読み出し、
前期以前の所定の期である最適回帰式判断期における前記要因データから前記回帰式の各々により前記最適回帰式判断期における前記売上数量の予測値である売上数量判断期予測値を算出し、
前記売上数量データの前記最適回帰式判断期における値に最も近い前記売上数量判断期予測値を算出する前記回帰式を最適回帰式として選択し、
前記当期要因データから前記最適回帰式により前記売上数量の当期における予測値である売上数量当期予測値を算出し、
前記売上数量当期予測値に所定の安全在庫量を加えて適正在庫量を算出し、
前記出力装置は前記適正在庫量を出力する
適正在庫量算出システム。
An arithmetic unit;
A storage device;
An input device;
An output device,
The storage device
A time-series database that stores sales volume data that is time-series data of sales volume before the previous period, and factor data that is time-series numerical data of the factors affecting the sales volume before and after the previous period;
A sales performance database that stores both sales volume data source data and factor data source data, both of which are time series data,
A current-period factor database that stores current-term factor data that is numerical data of predicted or planned values of the factors for the current period;
The arithmetic unit is
Storing the sales quantity data source data and the factor data source data input from the input device in the sales record database;
Read the sales volume data source data and the factor data source data from the sales performance database,
The sales volume data source data and the factor data source data are aggregated every period to create the sales volume data and the factor data, respectively.
The created sales quantity data and the factor data are stored in the time series database,
Storing the current period factor data input from the input device in the current period factor database;
Read the sales volume data and the factor data from the time series database,
For each of a plurality of predetermined target periods, a regression equation with the sales quantity data as an objective variable and the factor data as an explanatory variable is calculated,
Read the current period factor data from the current period factor database,
Calculate a sales quantity judgment period forecast value that is a forecast value of the sales quantity in the optimum regression formula judgment period by each of the regression formulas from the factor data in the optimum regression formula judgment period that is a predetermined period before the previous period,
Selecting the regression formula for calculating the sales volume judgment period predicted value closest to the value in the optimal regression formula judgment period of the sales quantity data as an optimal regression formula;
Calculate the sales volume current forecast value, which is the forecast value of the sales volume in the current period, from the current factor data by the optimal regression equation,
Calculate the appropriate inventory quantity by adding a predetermined safety inventory quantity to the sales volume current period forecast value,
The output device outputs an appropriate stock quantity. An appropriate stock quantity calculation system.
請求項1に記載の適正在庫量算出システムであって、
前記複数存在する所定の対象期間の各々は、始期が互いに異なっており、終期が同一である
適正在庫量算出システム。
An appropriate inventory amount calculation system according to claim 1,
Each of the plurality of predetermined target periods has an initial period different from each other and an identical final period.
請求項1に記載の適正在庫量算出システムであって、
前記記憶装置は相関係数と相関度の高さのランクとの対応関係を定める相関係数・ランク対応表を格納しており、
前記要因は複数存在しており、
複数存在している前記要因の各々に対応して前記要因データが存在しており、
前記演算装置は、
前記複数存在する所定の対象期間のうち最も期間の長い最長対象期間について、前記売上数量データと、前記要因データの各々との相関係数を算出し、
前記相関係数から前記相関係数・ランク対応表を参照して前記要因データの各々にランク付けをし、
前記ランク付けが所定の第1条件を満たす場合には、
所定のランク以上のランクが付されている前記要因データを前記説明変数として重回帰式である前記回帰式を演算する
適正在庫量算出システム。
An appropriate inventory amount calculation system according to claim 1,
The storage device stores a correlation coefficient / rank correspondence table that defines the correspondence between the correlation coefficient and the rank of the degree of correlation.
There are multiple factors,
The factor data exists corresponding to each of the plurality of factors,
The arithmetic unit is
Calculating a correlation coefficient between the sales quantity data and each of the factor data for the longest target period of the plurality of predetermined target periods,
Rank each of the factor data with reference to the correlation coefficient / rank correspondence table from the correlation coefficient,
If the ranking satisfies a predetermined first condition,
An appropriate inventory amount calculation system that calculates the regression equation, which is a multiple regression equation, using the factor data with a rank higher than a predetermined rank as the explanatory variable.
請求項3に記載の適正在庫量算出システムであって、
前記ランク付けが所定の第2条件を満たす場合には、
前記演算装置は、
最高位のランクが付されている前記要因データを前記説明変数として単回帰式である前記回帰式を演算する
適正在庫量算出システム。
An appropriate inventory amount calculation system according to claim 3,
If the ranking satisfies a predetermined second condition,
The arithmetic unit is
An appropriate inventory amount calculation system that calculates the regression equation that is a single regression equation using the factor data assigned the highest rank as the explanatory variable.
請求項4に記載の適正在庫量算出システムであって、
前記記憶装置は第1標準偏差と平滑化定数との対応関係を定めている第1標準偏差・平滑化定数対応表を格納しており、
前記ランク付けが前記第1条件と前記第2条件のいずれも満たさない場合には、
前記演算装置は、
前期を終期とする所定の第1対象期間に含まれている前記売上数量データである売上数量第1対象期間データの平均値を算出し、
前記売上数量第1対象期間データの各々を前記各々の前記売上数量第1対象期間データより一期前の前記売上数量データで除して売上数量増減度データを算出し、
前記売上数量増減度データの標準偏差である前記第1標準偏差を算出し、
前記第1標準偏差から前記第1標準偏差・平滑化定数対応表を参照して前記平滑化定数を決定し、
前記最適回帰式により前記売上数量当期予測値を算出することに代えて、決定した前記平滑化定数と前記平均値と前期における前記売上数量データとから指数平滑化式により前記売上数量当期予測値を算出する
適正在庫量算出システム。
An appropriate inventory amount calculation system according to claim 4,
The storage device stores a first standard deviation / smoothing constant correspondence table that defines a correspondence relationship between the first standard deviation and the smoothing constant;
If the ranking does not satisfy both the first condition and the second condition,
The arithmetic unit is
Calculating the average value of the sales volume first target period data, which is the sales volume data included in the predetermined first target period that ends in the previous period,
Dividing each of the sales volume first target period data by the sales volume data one period before the sales volume first target period data to calculate sales volume change degree data,
Calculating the first standard deviation which is a standard deviation of the sales volume increase / decrease degree data;
Determining the smoothing constant from the first standard deviation with reference to the first standard deviation / smoothing constant correspondence table;
Instead of calculating the sales volume current forecast value by the optimal regression formula, the sales volume current forecast value is calculated from the determined smoothing constant, the average value, and the sales volume data in the previous period by an exponential smoothing formula. Calculate the appropriate inventory quantity calculation system.
請求項1に記載の適正在庫量算出システムであって、
前記演算装置は、
前記最適回帰式が演算されている前記対象期間である第2対象期間に含まれている前記要因データから前記最適回帰式により前記売上数量の前記第2対象期間における予測値である売上数量第2対象期間予測値の時系列データを算出し、
前記売上数量第2対象期間予測値の時系列データと前記売上数量データの前記第2対象期間における時系列データとの差をとることで前記最適回帰式による予測の予測誤差である回帰式予測誤差の時系列データを算出し、
前記回帰式予測誤差の時系列データの標準偏差である第2標準偏差を算出し、
前記第2標準偏差に所定の定数をかけて前記安全在庫量を算出する
適正在庫量算出システム。
An appropriate inventory amount calculation system according to claim 1,
The arithmetic unit is
Sales quantity second that is a predicted value of the sales quantity in the second target period by the optimal regression formula from the factor data included in the second target period that is the target period for which the optimal regression formula is calculated. Calculate time series data of the target period forecast value,
Regression prediction error, which is a prediction error of prediction by the optimal regression equation, by taking the difference between the time series data of the sales volume second target period prediction value and the time series data of the sales volume data in the second target period Time series data for
Calculating a second standard deviation which is a standard deviation of time series data of the regression equation prediction error;
An appropriate inventory quantity calculation system that calculates the safety inventory quantity by multiplying the second standard deviation by a predetermined constant.
請求項5に記載の適正在庫量算出システムであって、
前記演算装置は、
前記平滑化定数と、前記平均値と、前記売上数量第1対象期間データとから前記指数平滑化式により前記売上数量の前記第1対象期間における予測値である売上数量第1対象期間予測値の時系列データを算出し、
前記売上数量第1対象期間予測値の時系列データと前記売上数量データの前記第1対象期間における時系列データとの差をとることで前記指数平滑化式による予測の予測誤差である指数平滑化式予測誤差の時系列データを算出し、
前記指数平滑化式予測誤差の時系列データの標準偏差である第3標準偏差を算出し、
前記第3標準偏差に所定の定数をかけて前記安全在庫量を算出する
適正在庫量算出システム。
An appropriate inventory amount calculation system according to claim 5,
The arithmetic unit is
Based on the smoothing constant, the average value, and the sales quantity first target period data, the sales quantity first target period predicted value that is the predicted value of the sales quantity in the first target period by the exponential smoothing formula. Calculate time series data,
Exponential smoothing which is a prediction error of prediction by the exponential smoothing formula by taking the difference between the time series data of the sales volume first target period forecast value and the time series data of the sales quantity data in the first target period Calculate time series data of formula prediction error,
Calculating a third standard deviation which is a standard deviation of time series data of the exponential smoothing type prediction error;
An appropriate inventory quantity calculation system that calculates the safety inventory quantity by multiplying the third standard deviation by a predetermined constant.
演算装置と、
記憶装置と、
入力装置と、
出力装置と
を具備し、
前記記憶装置は、
売上数量の前記以前の時系列データである売上数量データと、前記売上数量に影響及ぼす要因の前期以前の時系列数値データである要因データとを格納する時系列データベースと、ともに時系列データである売上数量データ元データと要因データ元データとを格納する売上実績データベースと、前記要因の当期における予測値又は予定値の数値データである当期要因データを格納する当期要因データベースと
を格納している
適正在庫量算出システムが実行する適正在庫量算出方法であって、
前記演算装置が、
前記入力装置から入力される前記売上数量データ元データと前記要因データ元データとを前記売上実績データベースに格納することと、
前記売上数量データ元データと前記要因データ元データとを前記売上実績データベースから読み出すことと、
前記売上数量データ元データと前記要因データ元データとを期ごとに集計して前記売上数量データと前記要因データとをそれぞれ作成することと、
作成した前記売上数量データと前記要因データとを前記時系列データベースに格納することと、
前記入力装置から入力される前記当期要因データを前記当期要因データベースに格納することと、
前記売上数量データと前記要因データとを前記時系列データベースから読み出すことと、
複数存在する所定の対象期間の各々について、前記売上数量データを目的変数とし、前記要因データを説明変数とする回帰式を演算することと、
前記当期要因データを前記当期要因データベースから読み出すことと、
前期以前の所定の期である最適回帰式判断期における前記要因データから前記回帰式の各々により前記最適回帰式判断期における前記売上数量の予測値である売上数量判断期予測値を算出することと、
前記売上数量データの前記最適回帰式判断期における値に最も近い前記売上数量判断期予測値を算出する前記回帰式を最適回帰式として選択することと、
前記当期要因データから前記最適回帰式により前記売上数量の当期における予測値である売上数量当期予測値を算出することと、
前記売上数量当期予測値に所定の安全在庫量を加えて適正在庫量を算出することと、
前記出力装置が前記適正在庫量を出力することと
を含む
適正在庫量算出方法。
An arithmetic unit;
A storage device;
An input device;
An output device,
The storage device
The time series database stores both the sales volume data that is the previous time series data of the sales volume and the factor data that is the time series numeric data of the factor that affects the sales volume before the previous period. Stores the sales performance database that stores the sales volume data source data and the factor data source data, and the current factor database that stores the current factor data that is the numerical data of the forecasted or planned value of the factor for the current period. An appropriate inventory quantity calculation method executed by an inventory quantity calculation system,
The arithmetic unit is
Storing the sales quantity data source data and the factor data source data input from the input device in the sales record database;
Reading the sales volume data source data and the factor data source data from the sales performance database;
Totaling the sales quantity data source data and the factor data source data for each period to create the sales quantity data and the factor data, respectively;
Storing the generated sales quantity data and the factor data in the time series database;
Storing the current period factor data input from the input device in the current period factor database;
Reading the sales volume data and the factor data from the time series database;
For each of a plurality of predetermined target periods, calculating a regression equation with the sales quantity data as an objective variable and the factor data as an explanatory variable;
Reading the current period factor data from the current period factor database;
Calculating a sales volume judgment period forecast value, which is a forecast value of the sales volume in the optimum regression formula judgment period, from each of the regression formulas from the factor data in the optimum regression formula judgment period which is a predetermined period before the previous period; ,
Selecting the regression equation that calculates the sales volume judgment period prediction value closest to the value in the optimal regression equation judgment period of the sales quantity data as an optimal regression expression;
Calculating a sales volume current forecast value that is a forecast value of the sales volume in the current period from the current factor data by the optimal regression equation;
Adding a predetermined safety stock amount to the sales volume current period forecast value to calculate an appropriate stock amount;
A method for calculating an appropriate inventory quantity, comprising: outputting the appropriate inventory quantity by the output device.
請求項8に記載の適正在庫量算出方法であって、
前記複数存在する所定の対象期間の各々は、始期が互いに異なっており、終期が同一である
適正在庫量算出方法。
A method for calculating an appropriate inventory amount according to claim 8,
Each of the plurality of predetermined target periods has a start period different from each other, and an end period is the same.
請求項8に記載の適正在庫量算出方法であって、
前記記憶装置は相関係数と相関度の高さのランクとの対応関係を定める相関係数・ランク対応表を格納しており、
前記要因は複数存在しており、
複数存在している前記要因の各々に対応して前記要因データが存在しており、
前記演算装置が、
前記複数存在する所定の対象期間のうち最も期間の長い最長対象期間について、前記売上数量データと、前記要因データの各々との相関係数を算出することと、
前記相関係数から前記相関係数・ランク対応表を参照して前記要因データの各々にランク付けをすることと、
前記ランク付けが所定の第1条件を満たす場合には、所定のランク以上のランクが付されている前記要因データを前記説明変数として重回帰式である前記回帰式を演算することと
を含む
適正在庫量算出方法。
A method for calculating an appropriate inventory amount according to claim 8,
The storage device stores a correlation coefficient / rank correspondence table that defines the correspondence between the correlation coefficient and the rank of the degree of correlation.
There are multiple factors,
The factor data exists corresponding to each of the plurality of factors,
The arithmetic unit is
Calculating a correlation coefficient between the sales volume data and each of the factor data for the longest target period of the plurality of predetermined target periods,
Ranking each of the factor data with reference to the correlation coefficient / rank correspondence table from the correlation coefficient;
Calculating the regression equation that is a multiple regression equation using the factor data having a rank higher than a predetermined rank as the explanatory variable when the ranking satisfies a predetermined first condition. Inventory calculation method.
請求項10に記載の適正在庫量算出方法であって、
前記ランク付けが所定の第2条件を満たす場合には、
前記演算装置が、最高位のランクが付されている前記要因データを前記説明変数として単回帰式である前記回帰式を演算することを含む
適正在庫量算出方法。
The method of calculating an appropriate inventory amount according to claim 10,
If the ranking satisfies a predetermined second condition,
A method for calculating an appropriate inventory amount, comprising: calculating the regression equation, which is a single regression equation, using the factor data assigned the highest rank as the explanatory variable.
請求項11に記載の適正在庫量算出方法であって、
前記記憶装置は第1標準偏差と平滑化定数との対応関係を定めている第1標準偏差・平滑化定数対応表を格納しており、
前記ランク付けが前記第1条件と前記第2条件のいずれも満たさない場合には、
前記演算装置が、
前期を終期とする所定の第1対象期間に含まれている前記売上数量データである売上数量第1対象期間データの平均値を算出することと、
前記売上数量第1対象期間データの各々を前記各々の前記売上数量第1対象期間データより一期前の前記売上数量データで除して売上数量増減度データを算出することと、
前記売上数量増減度データの標準偏差である前記第1標準偏差を算出することと、
前記第1標準偏差から前記第1標準偏差・平滑化定数対応表を参照して前記平滑化定数を決定することと、
前記最適回帰式により前記売上数量当期予測値を算出することに代えて、決定した前記平滑化定数と前記平均値と前期における前記売上数量データとから指数平滑化式により前記売上数量当期予測値を算出することと
を含む
適正在庫量算出方法。
The method for calculating an appropriate inventory amount according to claim 11,
The storage device stores a first standard deviation / smoothing constant correspondence table that defines a correspondence relationship between the first standard deviation and the smoothing constant;
If the ranking does not satisfy both the first condition and the second condition,
The arithmetic unit is
Calculating an average value of sales volume first target period data that is the sales volume data included in a predetermined first target period that ends in the previous period;
Dividing the sales quantity first target period data by the sales quantity data one period before the respective sales quantity first target period data to calculate sales quantity increase / decrease degree data;
Calculating the first standard deviation which is a standard deviation of the sales volume increase / decrease degree data;
Determining the smoothing constant from the first standard deviation with reference to the first standard deviation / smoothing constant correspondence table;
Instead of calculating the sales volume current forecast value by the optimal regression formula, the sales volume current forecast value is calculated from the determined smoothing constant, the average value, and the sales volume data in the previous period by an exponential smoothing formula. A method for calculating an appropriate inventory amount.
請求項8に記載の適正在庫量算出方法であって、
前記演算装置が、
前記最適回帰式が演算されている前記対象期間である第2対象期間に含まれている前記要因データから前記最適回帰式により前記売上数量の前記第2対象期間における予測値である売上数量第2対象期間予測値の時系列データを算出することと、
前記売上数量第2対象期間予測値の時系列データと前記売上数量データの前記第2対象期間における時系列データとの差をとることで前記最適回帰式による予測の予測誤差である回帰式予測誤差の時系列データを算出することと、
前記回帰式予測誤差の時系列データの標準偏差である第2標準偏差を算出することと、
前記第2標準偏差に所定の定数をかけて前記安全在庫量を算出することと
を含む
適正在庫量算出方法。
A method for calculating an appropriate inventory amount according to claim 8,
The arithmetic unit is
Sales quantity second that is a predicted value of the sales quantity in the second target period by the optimal regression formula from the factor data included in the second target period that is the target period for which the optimal regression formula is calculated. Calculating time series data for the target period forecast value,
Regression prediction error, which is a prediction error of prediction by the optimal regression equation, by taking the difference between the time series data of the sales volume second target period prediction value and the time series data of the sales volume data in the second target period Calculating time series data for
Calculating a second standard deviation which is a standard deviation of time series data of the regression equation prediction error;
A method for calculating an appropriate inventory quantity, comprising: calculating the safety inventory quantity by multiplying the second standard deviation by a predetermined constant.
請求項12に記載の適正在庫量算出方法であって、
前記演算装置が、
前記平滑化定数と、前記平均値と、前記売上数量第1対象期間データとから前記指数平滑化式により前記売上数量の前記第1対象期間における予測値である売上数量第1対象期間予測値の時系列データを算出することと、
前記売上数量第1対象期間予測値の時系列データと前記売上数量データの前記第1対象期間における時系列データとの差をとることで前記指数平滑化式による予測の予測誤差である指数平滑化式予測誤差の時系列データを算出することと、
前記指数平滑化式予測誤差の時系列データの標準偏差である第3標準偏差を算出することと、
前記第3標準偏差に所定の定数をかけて前記安全在庫量を算出することと
を含む
適正在庫量算出方法。
A method for calculating an appropriate inventory amount according to claim 12,
The arithmetic unit is
Based on the smoothing constant, the average value, and the sales quantity first target period data, the sales quantity first target period predicted value that is the predicted value of the sales quantity in the first target period by the exponential smoothing formula. Calculating time series data;
Exponential smoothing which is a prediction error of prediction by the exponential smoothing equation by taking the difference between the time series data of the sales volume first target period forecast value and the time series data of the sales quantity data in the first target period Calculating time series data of formula prediction error;
Calculating a third standard deviation which is a standard deviation of time series data of the exponential smoothing type prediction error;
A method for calculating an appropriate inventory quantity, comprising: calculating the safety inventory quantity by multiplying the third standard deviation by a predetermined constant.
請求項11に記載の適正在庫量算出方法であって、
前記複数存在する所定の対象期間の各々は、始期が互いに異なっており、終期が同一であり、
前記ランク付けが前記第1条件を満たす場合において、
前記演算装置が、
前記最長対象期間に含まれている前記売上数量データの標準偏差である第4標準偏差を算出することと、
前記最長対象期間に含まれている前記売上数量データの時系列データの各々に前記第4標準偏差を加えて第1上限値時系列データを算出することと、
前記最長対象期間に含まれている前記売上数量データの時系列データの各々から前記第4標準偏差を減じて第1下限値時系列データを算出することと、
前記重回帰式の各々により、前記各々の前記重回帰式を演算している前記対象期間である第4対象期間に含まれている前記要因データから前記売上数量の前記第4対象期間における予測値の時系列データである売上数量第4対象期間予測値時系列データを算出することと、
前記売上数量第4対象期間予測値時系列データが前記第4対象期間に含まれている全ての期において、前記第1上限値時系列データより小さいことと前記第1下限値時系列データより大きいこととを満足する前記重回帰式が一つも存在しない場合であって、前記ランク付けが前記第2条件を満たす場合には、
最高位のランクが付されている前記要因データを前記説明変数として単回帰式である前記回帰式を演算することを含む
適正在庫量算出方法。
The method for calculating an appropriate inventory amount according to claim 11,
Each of the plurality of predetermined target periods has different start times and the same end times,
In the case where the ranking satisfies the first condition,
The arithmetic unit is
Calculating a fourth standard deviation which is a standard deviation of the sales volume data included in the longest target period;
Calculating the first upper limit time series data by adding the fourth standard deviation to each of the time series data of the sales volume data included in the longest target period;
Subtracting the fourth standard deviation from each of the time series data of the sales volume data included in the longest target period to calculate first lower limit time series data;
The predicted value of the sales quantity in the fourth target period from the factor data included in the fourth target period, which is the target period for which each of the multiple regression formulas is calculated, by each of the multiple regression formulas Calculating the sales volume fourth target period predicted value time series data, which is time series data of
The sales volume fourth target period predicted value time series data is smaller than the first upper limit time series data and larger than the first lower limit time series data in all periods included in the fourth target period. If there is no multiple regression equation satisfying that, and the ranking satisfies the second condition,
A method for calculating an appropriate inventory amount, comprising: calculating the regression equation, which is a single regression equation, using the factor data assigned the highest rank as the explanatory variable.
請求項12に記載の適正在庫量算出方法であって、
前記複数存在する所定の対象期間の各々は、始期が互いに異なっており、終期が同一であり、
前記ランク付けが前記第2条件を満たす場合において、
前記演算装置が、
前記最長対象期間における前記売上数量データの標準偏差である第5標準偏差を算出することと、
単回帰式としての前記最適回帰式である最適単回帰式を演算している前記対象期間である第5対象期間に含まれている前記売上数量データの時系列データの各々に前記第5標準偏差を加えて第2上限値時系列データを算出することと、
前記第5対象期間における前記売上数量データの時系列データの各々から前記第5標準偏差を減じて第2下限値時系列データを算出することと、
前記最適単回帰式により前記第5対象期間に含まれている前記要因データから前記売上数量の前記第5対象期間における予測値の時系列データである売上数量第5対象期間予測値時系列データを算出することと、
前記売上数量第5対象期間予測値時系列データが前記第5対象期間に含まれている全ての期において、前記第2上限値時系列データより小さいことと前記第2下限値時系列データより大きいこととを満足しない場合には、
前記平均値を算出することと、
前記売上数量増減度データを算出することと、
前記第1標準偏差を算出することと、
前記平滑化定数を決定することと、
前記最適回帰式により前記売上数量当期予測値を算出することに代えて、決定した前記平滑化定数と前記平均値と前期における前記売上数量データとから前記指数平滑化式により前記売上数量当期予測値を算出することと
を含む
適正在庫量算出方法。
A method for calculating an appropriate inventory amount according to claim 12,
Each of the plurality of predetermined target periods has different start times and the same end times,
In the case where the ranking satisfies the second condition,
The arithmetic unit is
Calculating a fifth standard deviation that is a standard deviation of the sales volume data in the longest target period;
The fifth standard deviation is included in each of the time series data of the sales volume data included in the fifth target period that is the target period in which the optimal single regression formula that is the optimal regression formula as the single regression formula is calculated. To calculate the second upper limit time series data,
Subtracting the fifth standard deviation from each of the time series data of the sales volume data in the fifth target period to calculate second lower limit time series data;
Sales quantity fifth target period predicted value time series data that is time series data of the predicted value of the sales quantity in the fifth target period from the factor data included in the fifth target period by the optimal single regression equation. To calculate,
The sales volume fifth target period predicted value time series data is smaller than the second upper limit value time series data and larger than the second lower limit value time series data in all periods included in the fifth target period. If you are not satisfied with
Calculating the average value;
Calculating the sales volume variation data;
Calculating the first standard deviation;
Determining the smoothing constant;
Instead of calculating the sales volume current forecast value by the optimal regression equation, the sales volume current forecast value by the exponential smoothing formula from the determined smoothing constant, the average value, and the sales volume data in the previous period. Calculating an appropriate inventory quantity.
JP2005198492A 2005-07-07 2005-07-07 Reasonable inventory quantity calculation system and reasonable inventory quantity calculation method Pending JP2007018216A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005198492A JP2007018216A (en) 2005-07-07 2005-07-07 Reasonable inventory quantity calculation system and reasonable inventory quantity calculation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005198492A JP2007018216A (en) 2005-07-07 2005-07-07 Reasonable inventory quantity calculation system and reasonable inventory quantity calculation method

Publications (1)

Publication Number Publication Date
JP2007018216A true JP2007018216A (en) 2007-01-25

Family

ID=37755344

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005198492A Pending JP2007018216A (en) 2005-07-07 2005-07-07 Reasonable inventory quantity calculation system and reasonable inventory quantity calculation method

Country Status (1)

Country Link
JP (1) JP2007018216A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009173435A (en) * 2008-01-28 2009-08-06 Panasonic Electric Works Co Ltd System and program for calculating of safe stock quantities
JP2014026483A (en) * 2012-07-27 2014-02-06 Hitachi Ltd Inter-shop commodity transfer method and program using causal information
WO2016009599A1 (en) * 2014-07-14 2016-01-21 日本電気株式会社 Commercial message planning assistance system and sales prediction assistance system
JP2019200597A (en) * 2018-05-16 2019-11-21 株式会社日立製作所 Standard work time estimating method, standard work time estimating device and program
JP2020035011A (en) * 2018-08-27 2020-03-05 株式会社日立製作所 Data processing device and data processing method
JP2021018813A (en) * 2019-07-18 2021-02-15 株式会社日立製作所 Method and system for detecting root cause of abnormality in data set
CN113538055A (en) * 2021-07-20 2021-10-22 汇智数字科技控股(深圳)有限公司 Sales estimation method and device for Amazon platform commodities and processor
KR20220046170A (en) * 2020-10-07 2022-04-14 티오더 주식회사 Apparatus and method for supporting store operation using store operation data

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08212191A (en) * 1995-02-06 1996-08-20 Sanyo Electric Co Ltd Commodity sales estimation device
JPH10228463A (en) * 1997-02-17 1998-08-25 Hitachi Ltd Demand prediction model evaluating method
JP2000207479A (en) * 1999-01-19 2000-07-28 Hitachi Ltd Method and device for calculating quantity safety stock
JP2000250888A (en) * 1999-02-26 2000-09-14 Hitachi Ltd Model selection type demand predicting system by predictive purposes
JP2001014295A (en) * 1999-06-30 2001-01-19 Sumitomo Metal Ind Ltd Data estimating method and data estimating device, and recording medium
JP2004295227A (en) * 2003-03-25 2004-10-21 Matsushita Electric Works Ltd Inventory control system and program and recording medium for recording this program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08212191A (en) * 1995-02-06 1996-08-20 Sanyo Electric Co Ltd Commodity sales estimation device
JPH10228463A (en) * 1997-02-17 1998-08-25 Hitachi Ltd Demand prediction model evaluating method
JP2000207479A (en) * 1999-01-19 2000-07-28 Hitachi Ltd Method and device for calculating quantity safety stock
JP2000250888A (en) * 1999-02-26 2000-09-14 Hitachi Ltd Model selection type demand predicting system by predictive purposes
JP2001014295A (en) * 1999-06-30 2001-01-19 Sumitomo Metal Ind Ltd Data estimating method and data estimating device, and recording medium
JP2004295227A (en) * 2003-03-25 2004-10-21 Matsushita Electric Works Ltd Inventory control system and program and recording medium for recording this program

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009173435A (en) * 2008-01-28 2009-08-06 Panasonic Electric Works Co Ltd System and program for calculating of safe stock quantities
JP2014026483A (en) * 2012-07-27 2014-02-06 Hitachi Ltd Inter-shop commodity transfer method and program using causal information
US11188946B2 (en) 2014-07-14 2021-11-30 Nec Corporation Commercial message planning assistance system and sales prediction assistance system
WO2016009599A1 (en) * 2014-07-14 2016-01-21 日本電気株式会社 Commercial message planning assistance system and sales prediction assistance system
JPWO2016009599A1 (en) * 2014-07-14 2017-04-27 日本電気株式会社 CM planning support system and sales forecast support system
JP7022007B2 (en) 2018-05-16 2022-02-17 株式会社日立製作所 Standard working time estimation method, standard working time estimation device and program
JP2019200597A (en) * 2018-05-16 2019-11-21 株式会社日立製作所 Standard work time estimating method, standard work time estimating device and program
JP2020035011A (en) * 2018-08-27 2020-03-05 株式会社日立製作所 Data processing device and data processing method
JP2021018813A (en) * 2019-07-18 2021-02-15 株式会社日立製作所 Method and system for detecting root cause of abnormality in data set
KR20220046170A (en) * 2020-10-07 2022-04-14 티오더 주식회사 Apparatus and method for supporting store operation using store operation data
KR102416934B1 (en) * 2020-10-07 2022-07-05 티오더 주식회사 Apparatus and method for supporting store operation using store operation data
CN113538055A (en) * 2021-07-20 2021-10-22 汇智数字科技控股(深圳)有限公司 Sales estimation method and device for Amazon platform commodities and processor
CN113538055B (en) * 2021-07-20 2023-11-07 汇智数字科技控股(深圳)有限公司 Sales volume estimation method, device and processor for Amazon platform commodity

Similar Documents

Publication Publication Date Title
JP2007018216A (en) Reasonable inventory quantity calculation system and reasonable inventory quantity calculation method
US6226561B1 (en) Production planning system
JP6814302B2 (en) Ordering support system, ordering support program and ordering support method
WO2004022463A1 (en) Safe stock amount calculation method, safe stock amount calculation device, order making moment calculation method, order making moment calculation device, and order making amount calculation method
US20070226040A1 (en) Product market determination
US20170345071A1 (en) Planning device and planning method
US20150363732A1 (en) Device for assisting determination of supply group and program for assisting determination of supply group
Wang et al. A rolling horizon approach for production planning and condition-based maintenance under uncertain demand
JP5847137B2 (en) Demand prediction apparatus and program
JP2005032079A (en) Project pre-evaluation method
JP4901138B2 (en) Distribution management system
US8825190B2 (en) Priority calculation device, program, priority calculation system, and priority calculation method
JP2000011264A (en) Information management system
JPH11259564A (en) Sales prediction supporting system
JP7490097B2 (en) PARTS CONFIGURATION DECISION SUPPORT DEVICE, PARTS CONFIGURATION DECISION SUPPORT METHOD, AND PROGRAM
JPH04353970A (en) Optimum stocking prediction system
JP2007026335A (en) Evaluation index forecast visualization method
CN114626660A (en) Method and apparatus for surge regulation forecasting
JPH0756987A (en) Commodity ordering system
US20210027321A1 (en) Information processing system, information processing method, and storage medium
JP2008165597A (en) Business parameter determination system
JP2010181963A (en) Demand prediction device, demand prediction method and program
JP5319653B2 (en) Data management system, data management method, and data management program
JP2008117012A (en) Information processing system
JP2005242816A (en) Order reception bargaining support method by computer

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090401

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090417

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090616

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090820